Commit 75e96749aa3c85c541bfc20e5534ce4f69db3557

Authored by michael
1 parent c854ffb9

updated colouring


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1381 c91229c3-7414-0410-bfa2-8a42b809f60b
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";
... ...