Commit b3ae3965fc49202883ab96d81986ab8bd5c63f15
1 parent
19b91036
Changed search variable name to fSearchText from fStandardSearchString
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2242 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
lib/visualpatterns/NavBar.inc
| @@ -182,7 +182,7 @@ class NavBar { | @@ -182,7 +182,7 @@ class NavBar { | ||
| 182 | if ((strcmp($this->sSection,"Standard Search") == 0) || (strcmp($this->sSection,"Advanced Search") == 0)) { | 182 | if ((strcmp($this->sSection,"Standard Search") == 0) || (strcmp($this->sSection,"Advanced Search") == 0)) { |
| 183 | $bar .= "<INPUT type=\"hidden\" name=\"fSearchText\"/>\n "; | 183 | $bar .= "<INPUT type=\"hidden\" name=\"fSearchText\"/>\n "; |
| 184 | } else { | 184 | } else { |
| 185 | - $bar .= "<INPUT type=\"text\" name=\"fStandardSearchString\" width=\"30\" height = \"10\" align = \"absmiddle\" />\n"; | 185 | + $bar .= "<INPUT type=\"text\" name=\"fSearchText\" width=\"30\" height = \"10\" align = \"absmiddle\" />\n"; |
| 186 | (isset($this->iFolderID) ? $bar .= "<INPUT type=\"hidden\" name=\"fFolderID\" value=\"" . $this->iFolderID . "\" />\n " : $bar .= ""); | 186 | (isset($this->iFolderID) ? $bar .= "<INPUT type=\"hidden\" name=\"fFolderID\" value=\"" . $this->iFolderID . "\" />\n " : $bar .= ""); |
| 187 | (isset($this->iDocumentID) ? $bar .= "<INPUT type=\"hidden\" name=\"fDocumentID\" value=\"" . $this->iDocumentID . "\" />\n " : $bar .= ""); | 187 | (isset($this->iDocumentID) ? $bar .= "<INPUT type=\"hidden\" name=\"fDocumentID\" value=\"" . $this->iDocumentID . "\" />\n " : $bar .= ""); |
| 188 | (isset($this->sCategoryName) ? $bar .= "<INPUT type=\"hidden\" name=\"fCategoryName\" value=\"" . $this->sCategoryName . "\" />\n " : $bar .= ""); | 188 | (isset($this->sCategoryName) ? $bar .= "<INPUT type=\"hidden\" name=\"fCategoryName\" value=\"" . $this->sCategoryName . "\" />\n " : $bar .= ""); |
| @@ -211,7 +211,7 @@ class NavBar { | @@ -211,7 +211,7 @@ class NavBar { | ||
| 211 | $sToRender = "\n\n<SCRIPT LANGUAGE=\"javascript\">\n "; | 211 | $sToRender = "\n\n<SCRIPT LANGUAGE=\"javascript\">\n "; |
| 212 | $sToRender .= "<!--\n"; | 212 | $sToRender .= "<!--\n"; |
| 213 | $sToRender .= "function validateStandardSearch(newAction) {\n"; | 213 | $sToRender .= "function validateStandardSearch(newAction) {\n"; |
| 214 | - $sToRender .= "\tif (!(validRequired(document.MainForm.fStandardSearchString, 'Search text'))) {\n"; | 214 | + $sToRender .= "\tif (!(validRequired(document.MainForm.fSearchText, 'Search text'))) {\n"; |
| 215 | $sToRender .= "\t\treturn false;\n\t}\n"; | 215 | $sToRender .= "\t\treturn false;\n\t}\n"; |
| 216 | $sToRender .= "\telse {\n"; | 216 | $sToRender .= "\telse {\n"; |
| 217 | $sToRender .= "\t\tsetActionAndSubmitSearch(newAction);\n"; | 217 | $sToRender .= "\t\tsetActionAndSubmitSearch(newAction);\n"; |