Commit f77a798f1aa1a0d4a8a1ebeaa1143aeb79a9d8a2
1 parent
eda425e4
added heading
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1572 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
13 additions
and
11 deletions
presentation/lookAndFeel/knowledgeTree/administration/admin.php
| 1 | 1 | <?php |
| 2 | 2 | require_once("../../../../config/dmsDefaults.php"); |
| 3 | +require_once("adminUI.inc"); | |
| 3 | 4 | |
| 4 | -function renderHeading() { | |
| 5 | - global $default; | |
| 6 | - | |
| 7 | - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); | |
| 8 | - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); | |
| 9 | - $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\"><font color=\"ffffff\">Administration</font></th></tr>\n"; | |
| 10 | - $sToRender .= "<tr/>\n"; | |
| 11 | - $sToRender .= "<tr/>\n"; | |
| 12 | - return $sToRender; | |
| 13 | -} | |
| 5 | +/** | |
| 6 | + * $Id$ | |
| 7 | + * | |
| 8 | + * Displays the administration page. | |
| 9 | + * | |
| 10 | + * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 11 | + * | |
| 12 | + * @version $Revision$ | |
| 13 | + * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | |
| 14 | + * @package presentation.lookAndFeel.knowledgeTree.administration | |
| 15 | + */ | |
| 14 | 16 | |
| 15 | 17 | if(checkSession()) { |
| 16 | 18 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); |
| 17 | 19 | |
| 18 | 20 | $sCenter = "<table width=\"600\">\n"; |
| 19 | - $sCenter .= renderHeading(); | |
| 21 | + $sCenter .= renderHeading("Administration"); | |
| 20 | 22 | $sCenter .= "<tr/><tr/><tr><td><b> Welcome to the Administration Section</b></td></tr>\n"; |
| 21 | 23 | $sCenter .= "<tr><td>Please make a selection from the sidemenu.</td></tr>\n"; |
| 22 | 24 | $sCenter .= "</table>"; | ... | ... |