Commit 75e96749aa3c85c541bfc20e5534ce4f69db3557
1 parent
c854ffb9
updated colouring
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1381 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/administration/admin.php
| @@ -3,7 +3,9 @@ require_once("../../../../config/dmsDefaults.php"); | @@ -3,7 +3,9 @@ require_once("../../../../config/dmsDefaults.php"); | ||
| 3 | 3 | ||
| 4 | function renderHeading() { | 4 | function renderHeading() { |
| 5 | global $default; | 5 | global $default; |
| 6 | - $sColor = $default->siteMap->getSectionColour("Administration", "td"); | 6 | + |
| 7 | + $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); | ||
| 8 | + $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); | ||
| 7 | $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\">Administration</th></tr>\n"; | 9 | $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\">Administration</th></tr>\n"; |
| 8 | $sToRender .= "<tr/>\n"; | 10 | $sToRender .= "<tr/>\n"; |
| 9 | $sToRender .= "<tr/>\n"; | 11 | $sToRender .= "<tr/>\n"; |