ANU COLLEGE OF SCIENCE"; //' Branch Short Name $BranchAbbrev = "Research"; //Dim BackgroundGif ' Area Branding $BackgroundGif = "Corporate.gif"; // $BackgroundGif = "FacArts.gif"; // $BackgroundGif = "FacAsianStudies.gif"; // $BackgroundGif = "FacEcoCom.gif"; // $BackgroundGif = "FacScience.gif"; // $BackgroundGif = "FacEngineIT.gif"; // $BackgroundGif = "FacLaw.gif"; // $BackgroundGif = "SchoolMed.gif"; // $BackgroundGif = "NITA.gif"; $TechContactName = "Webmaster"; $TechContactEmail = "webmaster@rsbs.anu.edu.au"; $AuthContactName = "Director, RSBS"; //' ------------- BEGIN EDITING EXTERNAL LINKS ---------------------- //' Parameter 1 - the label of link to appear on top //' Parameter 2 - the text to appear when the mouse point/hover to the link //' Parameter 3 - the URL to go to when the link is clicked addExternalNav("HORUS", "HR Online Remote User Services","https://horus.anu.edu.au/"); addExternalNav("Staff Home", "ANU Staff Home Page", "http://staff.anu.edu.au/"); addExternalNav("Students", "ANU Students Home Page", "http://students.anu.edu.au/"); addExternalNav("RSBS", "RSBS Home Page", "http://www.rsbs.anu.edu.au"); //' --------------- END EDITING EXTERNAL LINKS ---------------------- //' ------------- BEGIN EDITING MENU NAVIGATION ---------------------- // ' Parameter 1 - the level of menuitem to create. // ' Parameter 2 - the label of menuitem to appear on the screen // ' Parameter 3 - the URL to go to when the menuitem is clicked // ' Parameter 4 - the type of bullet to use for the menu item. // ' Arrow bullet if "Directory", Square bullet if "File", and Circle bullet if any other value (e.g. "Link") // ' Parameter 5 - the html id set for the menu item // ' Parameter 6 - an alternate link address from the URL (item will be expanded by URL) // ' NOTES: // ' * When creating a SECTION menu item, parameters 3 and 4 will not be considered therefore put empty string "" // ' * Parameter 1 should have a value of either "SECTION" or "LEVEL_#" where # is the level number // ' * To display quote (") on labels, put "" inside parameter 2 instead of single " (e.g. "Michael ""Air"" Jordan") // ' * Parameter 3 should include a file (e.g. "level_1_directory_a/index.php" AND NOT "level_1_directory_a" ALONE for a directory) AddMenuItem("SECTION", "RSBS Navigation Bar", "", "", "", ""); AddMenuItem("LEVEL_0", "Home", "index.php", "File", "", ""); AddMenuItem("LEVEL_0", "Introduction", "introduction.pdf", "File", "", ""); AddMenuItem("LEVEL_0", "The Tammar Wallaby", "wallaby.pdf", "File", "", ""); AddMenuItem("LEVEL_0", "Index of Structures", "indexStructures.pdf", "File", "", ""); AddMenuItem("LEVEL_0", "Terminology and their Location", "terminology.pdf", "File", "", ""); AddMenuItem("LEVEL_0", "Methods", "methods.pdf", "File", "", ""); // ' --------------- END EDITING MENU NAVIGATION ---------------------- //' ============================================================================== $MENU_WIDTH = 150; //' minimum pixel width of side menus $showSearchBar = True; //' set to True if you want the search bar to appear on top of the page $isMainSectionHighlighted = True; //' ============================================================================== //echo"
\n";
//print_r($menuItems);
//echo"
\n"; function findAndAddGroups($groupType=false){ //find groups in the currentGroups.dat file with specified group type global $schoolGroupDataFile; if(!$groupType) return; if(file_exists($schoolGroupDataFile)){ $fHandle=fopen($schoolGroupDataFile,"r"); while($line=fgetcsv($fHandle,200)){ //print_r($line); if(strcasecmp($line[2],$groupType)==0 AND $line[1]==""){ AddMenuItem("LEVEL_2", "{$line['3']}", "StaffDirectory/groupListing.php?id={$line['0']}", "File", "", ""); } } } } ?>