Commit 29ffe0b5fb0c9a64b7a582c6f3f4ebe6d96ed849
1 parent
1579d42f
don't need to remove the first link from SiteMap::getSectionLinks anymore
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1093 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
9 deletions
presentation/webpageTemplate.inc
| ... | ... | @@ -53,15 +53,8 @@ $nwPayLoad ->setHtml($nwestLoad); |
| 53 | 53 | if ($sectionName != "General") { |
| 54 | 54 | $sectionArray = $default->siteMap->getSectionLinks($sectionName); |
| 55 | 55 | |
| 56 | - //format the array..by taking first element off if its not an admin section | |
| 57 | - if((substr($sectionName, -14)) == "Administration" and (strlen($sectionName) > 15)){ | |
| 58 | - $output1["links"] = $sectionArray["links"]; | |
| 59 | - $output2["descriptions"] = $sectionArray["descriptions"]; | |
| 60 | - } | |
| 61 | - else{ | |
| 62 | - $output1["links"] = array_shift ($sectionArray["links"]); | |
| 63 | - $output2["descriptions"] = array_shift($sectionArray["descriptions"]); | |
| 64 | - } | |
| 56 | + $output1["links"] = $sectionArray["links"]; | |
| 57 | + $output2["descriptions"] = $sectionArray["descriptions"]; | |
| 65 | 58 | |
| 66 | 59 | //create links |
| 67 | 60 | $westLinks = new PatternTableLinks($sectionArray["links"], $sectionArray["descriptions"], 40 , 1 ,1,null); | ... | ... |