From f743edcb7f6f4969f77bc4ba11161589fc07a496 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Wed, 5 Mar 2003 12:00:22 +0000 Subject: [PATCH] updated colouring --- presentation/lookAndFeel/knowledgeTree/administration/admin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/administration/admin.php b/presentation/lookAndFeel/knowledgeTree/administration/admin.php index cf3edb4..f4f20a0 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/admin.php +++ b/presentation/lookAndFeel/knowledgeTree/administration/admin.php @@ -3,7 +3,9 @@ require_once("../../../../config/dmsDefaults.php"); function renderHeading() { global $default; - $sColor = $default->siteMap->getSectionColour("Administration", "td"); + + $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); + $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); $sToRender .= "Administration\n"; $sToRender .= "\n"; $sToRender .= "\n"; -- libgit2 0.21.4