[Commits] r629 - trunk/webinterface/core
new-commit at lists.openvcp.org
new-commit at lists.openvcp.org
Sun Sep 14 20:38:27 UTC 2008
Author: cryptronic
Date: 2008-09-14 20:38:27 +0000 (Sun, 14 Sep 2008)
New Revision: 629
Modified:
trunk/webinterface/core/GUI.php
Log:
Fixed bug in search form
Modified: trunk/webinterface/core/GUI.php
===================================================================
--- trunk/webinterface/core/GUI.php 2008-09-12 21:36:23 UTC (rev 628)
+++ trunk/webinterface/core/GUI.php 2008-09-14 20:38:27 UTC (rev 629)
@@ -374,7 +374,7 @@
{
$PARAMS =& OpenVCP::getParams();
$this->contentMenu .= "<li><h2 class=\"subMenu0\">"._("search")."</h2></li>\n";
- $this->contentMenu .= "<form method='POST' action=\"".OpenVCP::makeURL((strstr($_SERVER['REQUEST_URI'], "search")) ? "submit " : "super/search/submit")."\">";
+ $this->contentMenu .= "<form method='POST' action=\"".OpenVCP::makeURL("super/search/submit")."\">";
$this->contentMenu .= "<li><input value='".@$_POST['term']."' name=term type=text class=\"subMenu1\" style=\"width:80px;\"><input name=submit type=submit value=go></form></li>";
}
return true;
More information about the Commits
mailing list