From 6042a4d8bc6f911ceba615482d922b6e641602a2 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Wed, 19 Sep 2012 05:57:50 +1000 Subject: [PATCH] Added a Readme and a search header (with no functionality yet) --- README | 14 +++++++++++ gwvpmini/gwvpmini.php | 1 + gwvpmini/gwvpmini_search.php | 51 ++++++++++++++++++++++++++++++++++++++++++ gwvpmini/gwvpmini_web.php | 5 ++++ 4 files changed, 71 insertions(+), 0 deletions(-) create mode 100644 README create mode 100644 gwvpmini/gwvpmini_search.php diff --git a/README b/README new file mode 100644 index 0000000..cd0247d --- /dev/null +++ b/README @@ -0,0 +1,14 @@ +GWVP - Mini Version +=================== + +ALPHA + +Original I started GWVP as quite a large php project, then I got stalled with some problems and ultimately +never really continued with it because I really needed to start from scratch. However it was providing a +service I ultimately wanted for myself - an entirely web-based git reposity solution. So now i've started +it again and this time i've got a new set of code starting from a smaller beginning that will then expand +over time as I work on it. + +The current version "works", but its ugly as sin. + +There is no install info at this point, but it will be coming soon. \ No newline at end of file diff --git a/gwvpmini/gwvpmini.php b/gwvpmini/gwvpmini.php index d035b5d..e17cd84 100644 --- a/gwvpmini/gwvpmini.php +++ b/gwvpmini/gwvpmini.php @@ -5,6 +5,7 @@ require_once("gwvpmini_auth.php"); require_once("gwvpmini_db.php"); require_once("gwvpmini_setup.php"); require_once("gwvpmini_gitrepo.php"); +require_once("gwvpmini_search.php"); require_once("gwvpmini_gitbackend.php"); if(gwvpmini_isLoggedIn()) if(gwvpmini_isUserAdmin()) { require_once("gwvpmini_admin.php"); diff --git a/gwvpmini/gwvpmini_search.php b/gwvpmini/gwvpmini_search.php new file mode 100644 index 0000000..0711779 --- /dev/null +++ b/gwvpmini/gwvpmini_search.php @@ -0,0 +1,51 @@ +"; + echo ""; + echo ""; + +} + +function gwvpmini_SearchMainPage() +{ + gwvpmini_goMainPage("gwvpmini_SearchMainPageBody"); +} + +function gwvpmini_SearchMainPageBody() +{ + echo "You searched for ".$_REQUEST["searchstring"]; +} + +?> \ No newline at end of file diff --git a/gwvpmini/gwvpmini_web.php b/gwvpmini/gwvpmini_web.php index 72f95d7..b158226 100644 --- a/gwvpmini/gwvpmini_web.php +++ b/gwvpmini/gwvpmini_web.php @@ -90,6 +90,11 @@ function gwvpmini_goMainPage($bodyFunction = null) echo ""; + + echo ""; + if(isset($_SESSION["message"])) { echo "
"; + gwvpmini_SearchBuilder(); + echo "
"; -- 1.7.0.4