diff --git a/presentation/webpageTemplate.inc b/presentation/webpageTemplate.inc index 30cbac3..bd3533a 100644 --- a/presentation/webpageTemplate.inc +++ b/presentation/webpageTemplate.inc @@ -53,14 +53,11 @@ function getUnitAdminUser() { // create the navbar and north payload $navbar = & new NavBar($fBrowseType, $fFolderID, $fDocumentID, $fCategoryName, $fDocumentTypeID); - -if ($sectionName == "") - //get the section name if not specified in the url -{ +//get the section name if not specified in the url +if ($sectionName == "") { $sectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); } - //highlight the respective section $navbar->setHighlightedSection($sectionName); @@ -70,7 +67,6 @@ $nwestLoad = "\n" . "\n" . "\n" . "
graphicsUrl/tree.gif\"/>
"; - $nwPayLoad = new PatternCustom; $nwPayLoad ->setHtml($nwestLoad); @@ -84,11 +80,11 @@ if ($sectionName != "General") { $output2["descriptions"] = $sectionArray["descriptions"]; //create links - $westLinks = new PatternTableLinks($sectionArray["links"], $sectionArray["descriptions"], 40 , 1 ,1,null); + $westLinks = new PatternTableLinks($sectionArray["links"], $sectionArray["descriptions"], 20 , 1 ,1,null); $westRender = $westLinks->render(); } else { - $westLinks = new PatternTableLinks(array(), array(), 40 , 1 ,1,null); + $westLinks = new PatternTableLinks(array(), array(), 20, 1 ,1,null); $westRender = $westLinks->render(); } @@ -99,13 +95,16 @@ $uAdmin = "$default->graphicsUrl/leftnav/uadmin.gif" ; $oUnitAdmin = getUnitAdminUser(); $sUnitAdminEmail = $oUnitAdmin ? $oUnitAdmin->getEmail() : $default->emailAdmin; //setup the westpayload -$westLoad = "\n" . +$westLoad = "
\n" . "\t\n" . "
$westRender
" . - "\n" . + "
scroll["height"]-50) . "px;\">" . + //"
" . + "
\n" . "\t\n" . - "\t\n" . - "
emailAdmin\">
"; + "\t\n" . + "" . + ""; $westPayLoad = new PatternCustom; $westPayLoad->setHtml($westLoad); @@ -115,6 +114,4 @@ $main->setNorthPayload($navbar); $main->setNorthWestPayload($nwPayLoad); $main->setWestPayload($westPayLoad); $main->setWestPayloadBackGroundColour("#F0F0E4"); - -?> - +?> \ No newline at end of file