Commit f743edcb7f6f4969f77bc4ba11161589fc07a496
1 parent
097a4c70
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 | 3 | |
| 4 | 4 | function renderHeading() { |
| 5 | 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 | 9 | $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\">Administration</th></tr>\n"; |
| 8 | 10 | $sToRender .= "<tr/>\n"; |
| 9 | 11 | $sToRender .= "<tr/>\n"; | ... | ... |