Commit ddf35dc0f817dd97780a0e3dba585ade043ece80

Authored by michael
1 parent 0a23c9b0

(#2807) only explicitly order the admin section


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2486 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/webpageTemplate.inc
@@ -42,7 +42,10 @@ $nwPayLoad ->setHtml($nwestLoad); @@ -42,7 +42,10 @@ $nwPayLoad ->setHtml($nwestLoad);
42 // set up the west payload 42 // set up the west payload
43 //get section links 43 //get section links
44 if ($sectionName != "General") { 44 if ($sectionName != "General") {
45 - $sectionArray = $default->siteMap->getSectionLinks($sectionName); 45 +
  46 + $bSortLinks = !($sectionName == "Administration");
  47 +
  48 + $sectionArray = $default->siteMap->getSectionLinks($sectionName, $bSortLinks);
46 49
47 $output1["links"] = $sectionArray["links"]; 50 $output1["links"] = $sectionArray["links"];
48 $output2["descriptions"] = $sectionArray["descriptions"]; 51 $output2["descriptions"] = $sectionArray["descriptions"];