Commit 0a1b291b456bdb4aac3c924ee0e99eb33fc0984a
1 parent
8869bfa0
changed heading display colour to white
fixed template browse popup git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1931 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc
| @@ -13,7 +13,7 @@ function renderHeading($sHeading) { | @@ -13,7 +13,7 @@ function renderHeading($sHeading) { | ||
| 13 | $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); | 13 | $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); |
| 14 | $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); | 14 | $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); |
| 15 | $sToRender = "<table border=\"0\" width=\"100%\">\n"; | 15 | $sToRender = "<table border=\"0\" width=\"100%\">\n"; |
| 16 | - $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\">$sHeading</th></tr>\n"; | 16 | + $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\"><font color=\"ffffff\">$sHeading</font></th></tr>\n"; |
| 17 | $sToRender .= "<tr/>\n"; | 17 | $sToRender .= "<tr/>\n"; |
| 18 | $sToRender .= "<tr/>\n"; | 18 | $sToRender .= "<tr/>\n"; |
| 19 | $sToRender .= "</table>\n"; | 19 | $sToRender .= "</table>\n"; |
| @@ -31,10 +31,10 @@ function getPage($iDocumentID) { | @@ -31,10 +31,10 @@ function getPage($iDocumentID) { | ||
| 31 | $bAddNetscapeScript = false; | 31 | $bAddNetscapeScript = false; |
| 32 | if (! (($default->phpSniff->property("browser") == "moz") && ($default->phpSniff->property("version") <= "4.79")) ) { | 32 | if (! (($default->phpSniff->property("browser") == "moz") && ($default->phpSniff->property("version") <= "4.79")) ) { |
| 33 | //for any other browser but netscape 4.7 do this | 33 | //for any other browser but netscape 4.7 do this |
| 34 | - $sToRender .= "<td>Document to link</td><td><input type=\"text\" DISABLED name=\"fTargetDocument\" value=\"\" /><input type=\"button\" value=\"Browse\" onClick=\"newWindow('http://ktdev/control.php?action=templateBrowse','window2')\"></td>\n"; | 34 | + $sToRender .= "<td>Document to link</td><td><input type=\"text\" DISABLED name=\"fTargetDocument\" value=\"\" /><input type=\"button\" value=\"Browse\" onClick=\"newWindow('" . generateControllerUrl("templateBrowse") . "','window2')\"></td>\n"; |
| 35 | }else { | 35 | }else { |
| 36 | //for netscape 4.7 do this | 36 | //for netscape 4.7 do this |
| 37 | - $sToRender .= "<td>Document to link</td><td><input type=\"text\" value=\"\" name=\"fTargetDocument\" onblur=\"disable(document.MainForm.fTargetDocument);\" /><input type=\"button\" value=\"Browse\" onClick=\"disable(document.MainForm.fTargetDocument);newWindow('http://ktdev/control.php?action=templateBrowse','window2')\"></td>\n"; | 37 | + $sToRender .= "<td>Document to link</td><td><input type=\"text\" value=\"\" name=\"fTargetDocument\" onblur=\"disable(document.MainForm.fTargetDocument);\" /><input type=\"button\" value=\"Browse\" onClick=\"disable(document.MainForm.fTargetDocument);newWindow('" . generateControllerUrl("templateBrowse") . "','window2')\"></td>\n"; |
| 38 | $bAddNetscapeScript = true; | 38 | $bAddNetscapeScript = true; |
| 39 | } | 39 | } |
| 40 | $sToRender .= "</tr>\n"; | 40 | $sToRender .= "</tr>\n"; |