From 846ce8254fd7841356f9c62ef9669a9703e39df7 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 11 Feb 2003 11:07:12 +0000 Subject: [PATCH] reformatted --- presentation/webpageTemplate.inc | 66 ++++++++++++++++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/presentation/webpageTemplate.inc b/presentation/webpageTemplate.inc index 29e5718..d8ab87d 100644 --- a/presentation/webpageTemplate.inc +++ b/presentation/webpageTemplate.inc @@ -33,33 +33,31 @@ $image->setImgSize(114, 96); $img = $image->render(); -$nwestLoad = " - - - - -
". $img ."
- - "; +$nwestLoad = " + + + +
". $img ."
+ "; $nwPayLoad = new PatternCustom; -$nwPayLoad ->setHtml($nwestLoad); - +$nwPayLoad ->setHtml($nwestLoad); + // set up the west payload //get section links if ($sectionName != "General") { - $sectionArray = $default->siteMap->getSectionLinks($sectionName); + $sectionArray = $default->siteMap->getSectionLinks($sectionName); - //format the array..by taking first element off - $output1["links"] = array_shift ($sectionArray["links"]); - $output2["descriptions"] = array_shift($sectionArray["descriptions"]); + //format the array..by taking first element off + $output1["links"] = array_shift ($sectionArray["links"]); + $output2["descriptions"] = array_shift($sectionArray["descriptions"]); - //create links - $westLinks = new PatternTableLinks($sectionArray["links"], $sectionArray["descriptions"], 50 , 1 ,1,null); - $westRender = $westLinks->render(); + //create links + $westLinks = new PatternTableLinks($sectionArray["links"], $sectionArray["descriptions"], 50 , 1 ,1,null); + $westRender = $westLinks->render(); } else { $westLinks = new PatternTableLinks(array(), array(), 50 , 1 ,1,null); - $westRender = $westLinks->render(); + $westRender = $westLinks->render(); } //set up links @@ -67,26 +65,22 @@ $cAdmin = "$default->owl_graphics_url/leftnav/cadmin.gif" ; $link = "$default->owl_graphics_url/leftnav/links.gif" ; -//setup the westpayload +//setup the westpayload // TODO -> change to links the images as well -$westLoad = " - - - -
". $westRender ."
-
- - -
- - -
- - - "; - +$westLoad = " + +
". $westRender ."
+
+ + +
+ + +
+ "; + $westPayLoad = new PatternCustom; -$westPayLoad->setHtml($westLoad); +$westPayLoad->setHtml($westLoad); $main = new PatternMainPage(); $main->setNorthPayload($navbar); -- libgit2 0.21.4