From 5b956b5d782cfb12821cf9739a433a39c720cfc1 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 7 Mar 2003 14:26:51 +0000 Subject: [PATCH] stretched heading and fixed colour coding --- presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc b/presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc index 63ba9af..11b85ef 100644 --- a/presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc @@ -14,8 +14,7 @@ function renderHeading() { global $default; - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); + $sColor = $default->siteMap->getSectionColour("Subscriptions", "th"); $sToRender .= "Subscriptions\n"; $sToRender .= "\n"; $sToRender .= "\n"; @@ -148,7 +147,7 @@ function renderRemoveConfirmationPage($oSubscription) { $sContentUrl = "fDocumentID=" . $oSubscription->getExternalID(); } - $sToRender = "\n"; + $sToRender = "
\n"; $sToRender .= renderHeading(); $sToRender .= "\n"; $sToRender .= "\n"; @@ -181,7 +180,7 @@ function renderAddConfirmationPage($oSubscription) { $sContentUrl = "fDocumentID=" . $oSubscription->getExternalID(); } - $sToRender = "
You have chosen to delete the your $sContentType subscription to '$sContentName'.
\n"; + $sToRender = "
\n"; $sToRender .= renderHeading(); $sToRender .= "\n"; $sToRender .= "\n"; -- libgit2 0.21.4
You have chosen to subscribe to the $sContentType entitled '$sContentName'.