--- /dev/null
+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
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");
--- /dev/null
+<?php
+
+\r
+$CALL_ME_FUNCTIONS["repoadmin"] = "gwvpmini_SearchCallMe";\r
+\r
+// the home_page_provders bit is an array\r
+\r
+\r
+\r
+function gwvpmini_SearchCallMe()\r
+{\r
+\r
+ error_log("in repoadmin callme - err?");\r
+ error_log(print_r($_REQUEST, true));\r
+ if(isset($_REQUEST["q"])) {\r
+ error_log("in repoadmin callme, for Q");\r
+ $query = $_REQUEST["q"];\r
+ $qspl = explode("/", $query);\r
+ if(isset($qspl[0])) {\r
+ if($qspl[0] == "search") {\r
+ return "gwvpmini_SearchMainPage";\r
+ } else return false;\r
+ }\r
+ else return false;\r
+ }\r
+\r
+ return false;\r
+}\r
+
+
+function gwvpmini_SearchBuilder()
+{
+ global $BASE_URL;
+
+ echo "<form method=\"post\" action=\"$BASE_URL/search\">";
+ echo "<input type=\"text\" name=\"searchstring\"><input type=\"submit\" name=\"Search\" value=\"Seach\">";
+ echo "</form>";
+
+}
+
+function gwvpmini_SearchMainPage()
+{
+ gwvpmini_goMainPage("gwvpmini_SearchMainPageBody");
+}
+
+function gwvpmini_SearchMainPageBody()
+{
+ echo "You searched for ".$_REQUEST["searchstring"];
+}
+
+?>
\ No newline at end of file
echo "<table width=\"100%\">";
+
+ echo "<tr width=\"100%\" bgcolor=\"#ddddff\"><td colspan=\"2\" align=\"right\">";
+ gwvpmini_SearchBuilder();
+ echo "</td></tr>";\r
+
if(isset($_SESSION["message"])) {
echo "<tr width=\"100%\"><td colspan=\"2\">";