diff --git a/presentation/lookAndFeel/knowledgeTree/administration/admin.php b/presentation/lookAndFeel/knowledgeTree/administration/admin.php
index 8d6d8fc..6ac1474 100644
--- a/presentation/lookAndFeel/knowledgeTree/administration/admin.php
+++ b/presentation/lookAndFeel/knowledgeTree/administration/admin.php
@@ -16,13 +16,19 @@ require_once("adminUI.inc");
if(checkSession()) {
require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc");
-
- $sCenter = "
\n";
- $sCenter .= renderHeading("Administration");
- $sCenter .= "|
|
| Welcome to the Administration Section |
\n";
- $sCenter .= "| Please make a selection from the sidemenu. |
\n";
- $sCenter .= "
";
-
+
+ if (isset($sectionName)) {
+ $sCenter .= "\n";
+ if ($sectionName == "userAdministration") {
+
+ $sCenter .= renderHeading("User Administration");
+ }else if ($sectionName == "Administration"){
+ $sCenter .= "\n";
+ $sCenter .= renderHeading("Administration");
+ }
+ $sCenter .= "
\n";
+ }
+ //$sCenter .= "";
$oPatternCustom = & new PatternCustom();
$oPatternCustom->setHtml($sCenter);
$main->setCentralPayload($oPatternCustom);
diff --git a/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc b/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc
index 42716a7..bbb19e3 100644
--- a/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc
@@ -3,7 +3,7 @@
/**
* Displays heading
*/
-function renderHeading($sHeading, $sSectionName = "") {
+function getHeading($sHeading, $sSectionName = "") {
global $default;
if ($sSectionName == "") {
@@ -16,4 +16,17 @@ function renderHeading($sHeading, $sSectionName = "") {
$sToRender .= "
\n";
return $sToRender;
}
+
+function renderHeading($sHeading, $sSectionName = "") {
+ //global $default;
+
+
+ $sCenter .= getHeading($sHeading, $sSectionName);
+ if ($sHeading == "Administration"){
+ $sCenter .= "|
|
| Welcome to the Administration Section |
\n";
+ $sCenter .= "| Please make a selection from the sidemenu. |
\n";
+ }
+
+ return $sCenter;
+}
?>