Commit b05e0daefb6004b60f6fde3e4fb47f63c7bb86f0

Authored by michael
1 parent 4483376e

(#2700) fixed header ns presentation bug


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2482 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 4 deletions
lib/visualpatterns/NavBar.inc
... ... @@ -171,10 +171,10 @@ class NavBar {
171 171 // build the nav bar
172 172 $bar = "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n";
173 173 $bar .= "\t<tr height=\"30\">\n";
174   - $bar .= "\t\t<td align=\"right\" bgcolor=\"#1A4383\" valign=\"top\" width=\"100%\"><img src=\"$heading\"/><img src=\"$default->graphicsUrl/logo.jpg\" width=\"30\" height=\"36\"/></td>\n";
  174 + $bar .= "\t\t<td align=\"right\" valign=\"top\" width=\"100%\"><img src=\"$heading\"/><img src=\"$default->graphicsUrl/logo.jpg\" width=\"30\" height=\"36\"/></td>\n";
175 175 $bar .= "\t</tr>\n";
176 176 $bar .= "\t<tr height=\"30\">\n";
177   - $bar .= "\t\t<td colspan=\"2\" bgcolor=\"#1A4383\" width=\"100%\" nowrap>";
  177 + $bar .= "\t\t<td colspan=\"2\" bgcolor=\"#1A4383\" width=\"100%\">";
178 178 $bar .= "<img align=\"absmiddle\" src=\"$default->graphicsUrl/arrow.gif\" ></img>\n";
179 179  
180 180 $bar .= "<INPUT type=\"hidden\" name=\"fForStandardSearch\" value=\"no\" />\n ";
... ... @@ -182,7 +182,7 @@ class NavBar {
182 182 if ((strcmp($this->sSection,"Standard Search") == 0) || (strcmp($this->sSection,"Advanced Search") == 0)) {
183 183 $bar .= "<INPUT type=\"hidden\" name=\"fSearchText\"/>\n ";
184 184 } else {
185   - $bar .= "<INPUT type=\"text\" name=\"fSearchText\" width=\"30\" height = \"10\" align = \"absmiddle\" />\n";
  185 + $bar .= "<INPUT type=\"text\" name=\"fSearchText\" width=\"30\" height = \"10\" />\n";
186 186 (isset($this->iFolderID) ? $bar .= "<INPUT type=\"hidden\" name=\"fFolderID\" value=\"" . $this->iFolderID . "\" />\n " : $bar .= "");
187 187 (isset($this->iDocumentID) ? $bar .= "<INPUT type=\"hidden\" name=\"fDocumentID\" value=\"" . $this->iDocumentID . "\" />\n " : $bar .= "");
188 188 (isset($this->sCategoryName) ? $bar .= "<INPUT type=\"hidden\" name=\"fCategoryName\" value=\"" . $this->sCategoryName . "\" />\n " : $bar .= "");
... ... @@ -190,7 +190,7 @@ class NavBar {
190 190 //this next line works in IE, and Netscape 4.79 up, but NOT Netscape 4.79
191 191 //$bar .= "<INPUT type=\"image\" onClick=\"return validateStandardSearch('" . $default->rootUrl . "/control.php')\" src=\"$default->graphicsUrl/search.gif\" align = \"absmiddle\" border=\"0\" />\n";
192 192 //replaced with this line
193   - $bar .= "<a href=\"#\" onClick=\"return validateStandardSearch('" . $default->rootUrl . "/control.php')\"><image src=\"$default->graphicsUrl/search.gif\" border=\"0\" /></a>";
  193 + $bar .= "<a href=\"#\" onClick=\"return validateStandardSearch('" . $default->rootUrl . "/control.php')\"><image align=\"absmiddle\" src=\"$default->graphicsUrl/search.gif\" border=\"0\" /></a>";
194 194  
195 195 }
196 196 $bar .= "\t\t</td>\n";
... ...