Commit 5b956b5d782cfb12821cf9739a433a39c720cfc1
1 parent
79f7edf0
stretched heading and fixed colour coding
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1456 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
4 deletions
presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc
| ... | ... | @@ -14,8 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | function renderHeading() { |
| 16 | 16 | global $default; |
| 17 | - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); | |
| 18 | - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); | |
| 17 | + $sColor = $default->siteMap->getSectionColour("Subscriptions", "th"); | |
| 19 | 18 | $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\">Subscriptions</th></tr>\n"; |
| 20 | 19 | $sToRender .= "<tr/>\n"; |
| 21 | 20 | $sToRender .= "<tr/>\n"; |
| ... | ... | @@ -148,7 +147,7 @@ function renderRemoveConfirmationPage($oSubscription) { |
| 148 | 147 | $sContentUrl = "fDocumentID=" . $oSubscription->getExternalID(); |
| 149 | 148 | } |
| 150 | 149 | |
| 151 | - $sToRender = "<table>\n"; | |
| 150 | + $sToRender = "<table width=\"600\">\n"; | |
| 152 | 151 | $sToRender .= renderHeading(); |
| 153 | 152 | $sToRender .= "<tr><td>You have chosen to delete the your $sContentType subscription to '$sContentName'.</td></tr>\n"; |
| 154 | 153 | $sToRender .= "<tr/>\n"; |
| ... | ... | @@ -181,7 +180,7 @@ function renderAddConfirmationPage($oSubscription) { |
| 181 | 180 | $sContentUrl = "fDocumentID=" . $oSubscription->getExternalID(); |
| 182 | 181 | } |
| 183 | 182 | |
| 184 | - $sToRender = "<table>\n"; | |
| 183 | + $sToRender = "<table width=\"600\">\n"; | |
| 185 | 184 | $sToRender .= renderHeading(); |
| 186 | 185 | $sToRender .= "<tr><td>You have chosen to subscribe to the $sContentType entitled '$sContentName'.</td></tr>\n"; |
| 187 | 186 | $sToRender .= "<tr/>\n"; | ... | ... |