function menu_main() { $pg = array(); // ----------------------------------------------------------- // DB search for all relevant Wiki pages (selected by namespace) // "0" => 'Main:' // "1" => 'Talk:' // "2" => 'User:'******'User_talk:' // "4" => 'NORDITA:' // "5" => 'NORDITA_talk:' // "10" => 'Template:' // "11" => 'Template_talk:' // ----------------------------------------------------------- // ----------------------------------------------------------- // Pages that should not be displayed in the site map // have numerical indices: // (Must be declared _before_ ordinary pages) // ----------------------------------------------------------- if (!defined("MAINSITECRUMB")) { define("MAINSITECRUMB", "publiccrumb"); } // ----------------------------------------------------------- // Pages that will be displayed in the site map: // ----------------------------------------------------------- // Functions that care about the start page having index="" or index=".": // document->buildMenuItemDrupal() // $pg[""] = $pg["."] = array( $pg[""] = array("title" => "Home", "isindex" => true, "bodyid" => "startpage", "desc" => "Intergovenrnmental research institute for theoretical physics. Situated in Stockholm, Sweden with a branch in Copenhagen, Denmark.", "medwide" => true, "extendedcolophon" => true, "nobackground" => true, "priority" => "1.0", "changefreq" => "daily", "command" => "functions::callMethod('startpage','lib/startpage','OutputStartpage')"); // ----------------------------------------------------------- $pg["science"] = array("title" => "Science", "priority" => "0.9", "changefreq" => "monthly", "desc" => "Research areas, scientific programs, workshops and seminars at Nordita, the Nordic Institute for theoretical Physics.", "medwide" => true, "wikititle" => "Science", "wikiid" => "2325", "command" => "functions::OutputWikiPage('0','2325')"); // -------------------- $pg["science/research"] = array("title" => "Research Fields", "priority" => "0.8", "medwide" => true, "wikititle" => "Research_Fields", "wikiid" => "1641", "command" => "functions::OutputWikiPage('0','1641')"); $pg["science/research/ap"] = array("title" => GROUP_AP, "medwide" => true, "wikititle" => "Astrophysics_and_Astrobiology", "wikiid" => "1588", "command" => "functions::OutputWikiPage('0','1588')"); $pg["science/research/ap/astrobiology"] = array("title" => "Astrobiology", "medwide" => true, "wikititle" => "Astrobiology", "wikiid" => "1642", "command" => "functions::OutputWikiPage('0','1642')"); $pg["science/research/ap/astro-ph-meeting"] = array("title" => "Astro-Ph Meeting", "medwide" => true, "wikititle" => "Astro-ph_Meeting", "wikiid" => "2112", "command" => "functions::OutputWikiPage('0','2112')"); $pg["science/research/cm"] = array("title" => GROUP_CM, "medwide" => true, "wikititle" => "Research_Cm", "wikiid" => "1547", "command" => "functions::OutputWikiPage('0','1547')"); $pg["science/research/cm/dm"] = array("title" => "Dirac Materials", "medwide" => true, "wikititle" => "Research_Cm_Dirac_Materials", "wikiid" => "2551", "command" => "functions::OutputWikiPage('0','2551')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/qm"] = array("title" => "Quantum Matter", "medwide" => true, "wikititle" => "Research_Cm_Quantum_Matter", "wikiid" => "2469", "command" => "functions::OutputWikiPage('0','2469')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/sc"] = array("title" => "Superconductors and Superfluids", "medwide" => true, "wikititle" => "Research_Cm_Superconductors_and_Superfluids", "wikiid" => "2470", "command" => "functions::OutputWikiPage('0','2470')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/fm"] = array("title" => "Frustrated Magnetism", "medwide" => true, "wikititle" => "Research_Cm_Frustrated_Magnetism", "wikiid" => "2472", "command" => "functions::OutputWikiPage('0','2472')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/qh"] = array("title" => "Quantum Hall Systems", "medwide" => true, "wikititle" => "Research_Cm_Quantum_Hall", "wikiid" => "1760", "command" => "functions::OutputWikiPage('0','1760')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/bec"] = array("title" => "Ultracold Atomic Gases", "medwide" => true, "wikititle" => "Research_Cm_Ultracold_Atomic_Gases", "wikiid" => "1761", "command" => "functions::OutputWikiPage('0','1761')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/sbnp"] = array("title" => "Statistical, Biological, and Nonlinear Physics", "medwide" => true, "wikititle" => "Research_Cm_Statistical_Biological_and_Nonlinear_Physics", "wikiid" => "2471", "command" => "functions::OutputWikiPage('0','2471')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/cm/spcs"] = array("title" => "Statistical Physics of Complex Systems", "medwide" => true, "wikititle" => "Research_Cm_Statistical_Physics_Complex_Systems", "wikiid" => "1856", "command" => "functions::OutputWikiPage('0','1856')"); $pg["science/research/cm/nn"] = array("title" => "Neural Networks", "medwide" => true, "wikititle" => "Research_Cm_Neural_Networks", "wikiid" => "2559", "command" => "functions::OutputWikiPage('0','2559')"); $pg["science/research/cm/bio"] = array("title" => "Biological Physics", "medwide" => true, "wikititle" => "Research_Cm_Biological_Physics", "wikiid" => "1546", "command" => "functions::OutputWikiPage('0','1546')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa"] = array("title" => GROUP_SA, "medwide" => true, "wikititle" => "Research_Sa", "wikiid" => "1550", "command" => "functions::OutputWikiPage('0','1550')"); $pg["science/research/sa/st"] = array("title" => "String Theory and M-Theory", "medwide" => true, "wikititle" => "Research_Sa_String_Theory_And_Mtheory", "wikiid" => "2376", "command" => "functions::OutputWikiPage('0','2376')"); $pg["science/research/sa/qft"] = array("title" => "Quantum Field Theory", "medwide" => true, "wikititle" => "Research_Sa_Quantum_Field_Theory", "wikiid" => "2552", "command" => "functions::OutputWikiPage('0','2552')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa/dsc"] = array("title" => "D-branes and String Compactification", "medwide" => true, "wikititle" => "Research_Sa_Dbranes_And_String_Compactification", "wikiid" => "1883", "command" => "functions::OutputWikiPage('0','1883')"); $pg["science/research/sa/adscft"] = array("title" => "AdS/CFT Correspondence", "medwide" => true, "wikititle" => "Research_Sa_AdS_CFT_Correspondence", "wikiid" => "2377", "command" => "functions::OutputWikiPage('0','2377')"); $pg["science/research/sa/int"] = array("title" => "Integrable Systems", "medwide" => true, "wikititle" => "Research_Sa_Integrability", "wikiid" => "2550", "command" => "functions::OutputWikiPage('0','2550')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa/cosmo"] = array("title" => "Gravitation and Cosmology", "medwide" => true, "wikititle" => "Research_Sa_Gravitation_And_Cosmology", "wikiid" => "2549", "command" => "functions::OutputWikiPage('0','2549')"); $pg["science/research/sa/dm"] = array("title" => "Dark Matter and Dark Energy", "medwide" => true, "wikititle" => "Research_Sa_Dark_Matter", "wikiid" => "2548", "command" => "functions::OutputWikiPage('0','2548')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa/inf"] = array("title" => "Inflation", "medwide" => true, "wikititle" => "Research_Sa_Inflation_And_Cosmology", "wikiid" => "2375", "command" => "functions::OutputWikiPage('0','2375')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa/euc"] = array("title" => "Early Universe Cosmology", "medwide" => true, "wikititle" => "Research_Sa_Early_Universe_Cosmology", "wikiid" => "2560", "command" => "functions::OutputWikiPage('0','2560')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/research/sa/esqg"] = array("title" => "Experimental Search for Quantum Gravity", "medwide" => true, "wikititle" => "Research_Sa_Experimental_Search_For_Quantum_Gravity", "wikiid" => "2374", "command" => "functions::OutputWikiPage('0','2374')"); $pg["science/research/sa/bh"] = array("title" => "Classical and Quantum Aspects of Black Holes", "medwide" => true, "wikititle" => "Research_Sa_Classical_And_Quantum_Aspects_Of_Black_Holes", "wikiid" => "2378", "command" => "functions::OutputWikiPage('0','2378')", "nolist" => true, "robots" => "noindex,nofollow", "nofollow" => true, "norditabot" => "noindex,nofollow"); $pg["science/presentations"] = array("title" => "Research Presentation Videos", "medwide" => true, "url" => "../../video/index.php?ev=presentation"); // -------------------- $pg["science/alacarte"] = array("title" => "Nordita A la Carte", "robots" => "noindex,nofollow", "nofollow" => true, "newmenusection" => true, "medwide" => true, "wikititle" => "Nordita_A_La_Carte", "wikiid" => "2562", "command" => "functions::OutputWikiPage('0','2562')"); // -------------------- $pg["science/preprints"] = array("title" => "Nordita Preprint Archive", "robots" => "noindex,nofollow", "nofollow" => true, "newmenusection" => true, "url" => USE_SECURE_SITE_FOR_PREPRINTS ? "https://secure.albanova.se/preprints/index.php?group=all&period=" . date("Y") : "../../preprints/index.php?group=all&period=" . date("Y")); // -------------------- $pg["science/software"] = array("title" => "Nordita-Developed Software", "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, "wikititle" => "Software", "wikiid" => "1688", "command" => "functions::OutputWikiPage('0','1688')"); // -------------------- $pg["science/events"] = array("title" => "List of All Events", "priority" => "0.95", "changefreq" => "monthly", "medwide" => true, "newmenusection" => true, "command" => "functions::callMethod('event','lib/event','OutputEventList','a')"); $pg["science/events/poster_archive"] = array("title" => "Event Poster Archive", "robots" => "noindex,nofollow", "medwide" => true, "wikititle" => "Organizers_Poster_Archive", "wikiid" => "2482", "command" => "functions::callMethod('event','lib/event','OutputPosterArray')"); // -------------------- $pg["science/programs"] = array("title" => "Scientific Programs", "priority" => "0.0", "medwide" => true, "wikititle" => "Programs_(Part_1)", "wikiid" => "1623", "command" => "functions::callMethod('event','lib/event','OutputProgramsStart')"); // see also event::getEventListUrl() if this path is changed $pg["science/programs/list_of_programs"] = array("title" => "List of Scientific Programs", "priority" => "0.95", "changefreq" => "monthly", "medwide" => true, "wikititle" => "Science_Programs_List", "wikiid" => "2603", "command" => "functions::OutputWikiPage('0','2603');functions::callMethod('event','lib/event','OutputEventList','p')"); $pg["science/programs/propose_a_program"] = array("title" => "Propose a Program " . EXTERNAL_LINK, "priority" => "0.0", "url" => "../../../organizers/proposal/guidelines/index.php"); $pg["science/programs/information_for_organizers"] = array("title" => "Information for Program Organizers " . EXTERNAL_LINK, "priority" => "0.0", "url" => "../../../organizers/index.php"); // -------------------- $pg["science/workshops"] = array("title" => "Workshops and Conferences", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Workshops", "wikiid" => "2334", "command" => "functions::OutputWikiPage('0','2334')"); // see also event::getEventListUrl() if this path is changed $pg["science/workshops/list_of_workshops"] = array("title" => "List of Nordita Workshops", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Workshops_List", "wikiid" => "2602", "command" => "functions::OutputWikiPage('0','2602');functions::callMethod('event','lib/event','OutputEventList','v')"); // -------------------- $pg["science/seminars"] = array("title" => "Theoretical Physics Seminars", "nosearchfocus" => true, "showsidebar" => true, "wikititle" => "Science_Seminars", "wikiid" => "1818", "command" => "functions::OutputWikiPage('0','1818')"); $pg["science/seminars/schedule"] = array("title" => "Theory Seminar Schedule", "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "showsidebar" => true, "command" => "functions::callMethod('event','lib/event','OutputSeminarsSchedule')"); $pg["science/seminars/seminar_rooms"] = array("title" => "Find Seminar Rooms", "robots" => "noindex,nofollow", "medwide" => true, "wikititle" => "Science_Seminars_Rooms", "wikiid" => "2447", "command" => "functions::OutputWikiPage('0','2447')"); // -------------------- $pg["science/schools"] = array("title" => "Nordita Schools", "priority" => "0.8", "showsidebar" => true, "wikititle" => "Science_Schools", "wikiid" => "1752", "command" => "functions::OutputWikiPage('0','1752')"); // see also event::getEventListUrl() if this path is changed $pg["science/schools/list_of_schools"] = array("title" => "List of Nordita Schools", "priority" => "0.8", "showsidebar" => true, "wikititle" => "Science_Schools_List", "wikiid" => "2332", "command" => "functions::OutputWikiPage('0','2332')"); // -------------------- $pg["science/courses"] = array("title" => "Nordita Courses", "showsidebar" => true, "wikititle" => "Science_Nordita_Courses", "wikiid" => "1779", "command" => "functions::OutputWikiPage('0','1779')"); // -------------------- $pg["science/visitors"] = array("title" => "Visitors Program", "priority" => "0.8", "showsidebar" => true, "wikititle" => "Science_Visitors", "wikiid" => "2349", "newmenusection" => true, "command" => "functions::OutputWikiPage('0','2349')"); $pg["science/visitors/list_of_visitors"] = array("title" => "List of Visitors", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Visitors_List", "wikiid" => "2350", "command" => "functions::callMethod('statistics','lib/statistics','OutputStatisticsNationality','\"visitors\",1,1,0,0,0')"); // -------------------- $pg["science/postdocs"] = array("title" => "Postdoctoral Program", "priority" => "0.8", "showsidebar" => true, "wikititle" => "Science_Postdocs", "wikiid" => "2576", "command" => "functions::OutputWikiPage('0','2576');functions::OutputWikiPage('0','2563')"); $pg["science/postdocs/list_of_postdocs"] = array("title" => "List of Postdocs", "url" => "../../../people/index.php?peoplelist_sortby=nw_employeeType#postdocs"); // -------------------- $pg["science/phd_students"] = array("title" => "PhD Student Program", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_PhD_Students", "wikiid" => "2369", "command" => "functions::OutputWikiPage('0','2369')"); $pg["science/phd_students/list_of_phd_students"] = array("title" => "List of PhD Students", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_PhD_Students_List", "wikiid" => "2368", "command" => "functions::OutputWikiPage('0','2368')"); // -------------------- $pg["science/phd_fellows"] = array("title" => "Visiting PhD Fellow Program", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_PhD_Fellows", "wikiid" => "2192", "command" => "functions::OutputWikiPage('0','2192')"); $pg["science/phd_fellows/list_of_phd_fellows"] = array("title" => "List of Visiting PhD Fellows", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_PhD_Fellows_List", "wikiid" => "2367", "command" => "functions::OutputWikiPage('0','2367')"); // -------------------- $pg["science/interns"] = array("title" => "Master Student Internships", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Interns", "wikiid" => "2366", "command" => "functions::OutputWikiPage('0','2366')"); $pg["science/interns/list_of_interns"] = array("title" => "List of Master Sudent Interns", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Interns_List", "wikiid" => "2372", "command" => "functions::OutputWikiPage('0','2372')"); // -------------------- $pg["science/hosted_grants"] = array("title" => "Nordita-hosted Grants", "priority" => "0.8", "medwide" => true, "wikititle" => "Science_Hosted_Grants", "wikiid" => "2401", "command" => "functions::OutputWikiPage('0','2401')"); // -------------------- $pg["science/positions"] = array("title" => "Open Positions " . EXTERNAL_LINK, "newmenusection" => true, "url" => "../../people/positions/index.php"); // -------------------- /* TEMPORARILY MOVED TO m_main_nonmenu.php $pg["science/lectures"] = array( // TODO "title" => "Nordita Lectures", "wikititle" => "Science_Nordita_Lectures", "wikiid" => "1698", "command" => "functions::OutputWikiPage('0','1698')" ); $pg["science/lectures/archive"] = array( // TODO "title" => "Nordita Lectures Archive", "wikititle" => "Science_Nordita_Lectures_Archive", "wikiid" => "1725", "command" => "functions::OutputWikiPage('0','1725')" ); */ // -------------------- /* TEMPORARILY MOVED TO m_main_nonmenu.php $pg["science/videos"] = array( // TODO "title" => "Videos From Meetings".EXTERNAL_LINK, "robots" => "noindex,nofollow", "url" => "http://videos.nordita.org/" ); */ // ----------------------------------------------------------- $pg["people"] = array("title" => "People", "priority" => "0.8", "changefreq" => "weekly", "desc" => "Staff and long-term visitors at Nordita, the Nordic Institute for theoretical Physics.", "medwide" => true, "nosearchfocus" => true, "command" => "functions::callMethod('people','lib/people','OutputPeople','all','list','people-list','')"); // -------------------- /* $pg["people/search"] = array( "title" => "People Search", "medwide" => true, "command" => "functions::callMethod('people','lib/people','searchPeople','')", "nolist" => SHOW_SEARCH ? false : true ); */ // -------------------- //TODO: redirect $pg["people/positions"] = array("title" => "Open Positions", "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, "wikititle" => "Positions_On_Postdoc_Types", "wikiid" => "2563", "command" => "functions::callMethod('position','lib/position','OutputOpenPositions','openpositions','','','0','0','0');functions::OutputWikiPage('0','2563')"); $pg["people/positions/archive"] = array("title" => "Positions Archive", "medwide" => true, "command" => "functions::callMethod('position','lib/position','OutputOpenPositions','openpositions','','','0','1','0');"); $pg["people/positions/applications"] = array("title" => "Applications" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "nofollow" => true, "url" => "http://jam.nordita.org/"); // -------------------- $pg["people/dbc"] = array("title" => "Director, Board and Committees", "medwide" => true, "url" => "../../aboutus/organization/index.php"); // -------------------- /* $pg["people/board"] = array( "title" => "Board", "medwide" => true, "wikititle" => "People_Nordita_Board", "wikiid" => "2330", "command" => "functions::OutputWikiPage('0','2330')" ); // -------------------- $pg["people/director"] = array( "title" => "Director", "medwide" => true, "wikititle" => "People_Director", "wikiid" => "1686", "command" => "functions::OutputWikiPage('1','1686')" ); // -------------------- $pg["people/research_committees"] = array( "title" => "Research Committees", "medwide" => true, "wikititle" => "People_Research_Committees", "wikiid" => "1685", "command" => "functions::OutputWikiPage('0','1685')" ); // -------------------- $pg["people/advisory_committee"] = array( "title" => "Advisory Committee", "medwide" => true, "wikititle" => "People_Advisory_Committee", "wikiid" => "1687", "command" => "functions::OutputWikiPage('0','1687')" ); // -------------------- $pg["people/program_committee"] = array( "title" => "Program Committee", "medwide" => true, "wikititle" => "People_Program_Committee", "wikiid" => "2066", "command" => "functions::OutputWikiPage('0','2066')" ); */ // -------------------- $pg["people/whoiswhere"] = array("title" => "Who Is Where" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "nofollow" => true, "url" => "http://whoiswhere.albanova.se/travel/"); // -------------------- /* //TODO: moved to "adm"; make links conditional $pg["people/visits"] = array( "title" => "Guests and Visitors".EXTERNAL_LINK, "robots" => "noindex,nofollow", "medwide" => true, "url" => "http://cms.nordita.org/?q=vm" ); */ // -------------------- $pg["people/this_week"] = array("title" => "Visitors Arriving This Week", "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "command" => "functions::callMethod('event','lib/event','OutputArrivingVisitors','arrivingvisitors','week')"); // -------------------- $pg["people/alumni"] = array("title" => "Nordita Alumni" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "nofollow" => true, "url" => "http://cms.nordita.org/index.php?q=ea/3724363626"); // ----------------------------------------------------------- include_once PATH_SITES . "/news/menu_news.php"; $pg = array_merge($pg, menu_news()); /* if (PATH_NEWS=="news") { $pg["news"] = array( "title" => "News", "robots" => "noindex,nofollow", "isindex" => true, "bodyid" => "newsletter", "medwide" => true, "nofollow" => true, "nosearch" => true, "nopagetitle" => true, //"feedurl" => "news/feed", "command" => "functions::callMethod('news','lib/news','DrawPage','".NEWS_COVER."')" ); } else { $pg["news"] = array( "title" => "News", "priority" => "0.9", "changefreq" => "weekly", "keywords" => "news, science news, scientific news", "desc" => "Scientific and other news from Nordita, the Nordic Institute for theoretical Physics.", "bodyid" => "newsbrief", "medwide" => true, "nosearchfocus" => true, //"wikititle" => "News", //"wikiid" => "1436", //"command" => "functions::OutputWikiPage('0','1436')" "command" => (IS_TESTSERVER) ? "functions::callMethod('news','lib/news','DrawPage','".NEWS_COVER."')" : "functions::callMethod('news','lib/news','OutputScienceNews')" // obsolete ); // -------------------- $pg["news/albanova_agenda"] = array( "title" => "AlbaNova Agenda System", "priority" => "0.9", "changefreq" => "weekly", "keywords" => "agendaweb, agenda web, agenda, albanova agenda", "desc" => "", "medwide" => true, "wikititle" => "A2z_Agenda_Howto", "wikiid" => "2364", "command" => "functions::OutputWikiPage('0','2362');functions::OutputWikiPage('0','2364')" // A2z_Agenda and A2z_Agenda_Howto ); // -------------------- $pg["news/nordita_news"] = array( "title" => "Nordita Newsletter", "priority" => "0.8", "changefreq" => "weekly", "nosearchfocus" => true, "wikititle" => "Nordita_News", "wikiid" => "1627", "command" => "functions::OutputWikiPage('0','1627')" ); $pg["news/nordita_news/current_issue"] = array( "title" => "Current Issue", "priority" => "0.8", "changefreq" => "weekly", "robots" => "noindex,nofollow", "nofollow" => true, "wikititle" => "*_Current_Issue", "wikiid" => "2358", "url" => RELPATHTOROOT . PATH_NEWS . "/index.php" ); $pg["news/nordita_news/available_issues"] = array( "title" => "Newsletter Archive", "priority" => "0.4", "medwide" => true, "wikititle" => "Available_Issues", // keep! "wikiid" => "1581", // keep! "command" => "functions::callMethod('news','lib/news','DrawIssueArchiveList')" ); if (file_exists(INCLEVEL . PATH_MENU . "/m_newsletters.php")) { include_once PATH_MENU . "/m_newsletters.php"; $pg = array_merge($pg,menu_newsletters(PATH_NEWSOLDARCHIVE)); } // -------------------- $pg["news/preprints"] = array( // TODO "title" => "Preprint Archive", "robots" => "noindex,nofollow", "nofollow" => true, "url" => USE_SECURE_SITE_FOR_PREPRINTS ? "https://secure.albanova.se/preprints/index.php?group=all&period=".date("Y") : "../../preprints/index.php?group=all&period=".date("Y") ); // -------------------- $pg["news/visitors_this_week"] = array( "title" => "Visitors Arriving This Week", "medwide" => true, "command" => "functions::callMethod('event','lib/event','OutputArrivingVisitors','arrivingvisitors','week')" ); // -------------------- $pg["news/open_positions"] = array( // TODO "title" => "Open Positions", "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, //"wikititle" => "Template:Widget_Open_Positions", //"wikiid" => "1633", //"command" => "functions::OutputWikiPage('0','1633')" "command" => "functions::callMethod('position','lib/position','OutputOpenPositions','openpositions','','','0');" ); $pg["news/open_positions/archive"] = array( "title" => "Positions Archive", "medwide" => true, "command" => "functions::callMethod('position','lib/position','OutputOpenPositions','openpositions','','','0','1','0');" ); $pg["news/open_positions/applications"] = array( "title" => "Applications".EXTERNAL_LINK, "robots" => "noindex,nofollow", "nofollow" => true, "url" => "http://jam.nordita.org/" ); } */ // ----------------------------------------------------------- // ----------------------------------------------------------- /* $pg["guests"] = array( "title" => "For Visitors", "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, "url" => "../guests/index.php" ); */ // ----------------------------------------------------------- $pg["resources"] = array("title" => "Resources", "medwide" => true, "robots" => "noindex,nofollow", "nofollow" => true, "wikititle" => "Resources", "wikiid" => "2195", "command" => "functions::OutputWikiPage('0','2195')"); $pg["resources/guests"] = array("title" => "For Visitors to Nordita" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "url" => "../../guests/index.php"); $pg["resources/organizers"] = array("title" => "For Event Organizers" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "url" => "../../organizers/index.php"); $pg["resources/intranet"] = array("title" => "For Nordita Staff (Intranet)" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "url" => "../../intranet/index.php"); $pg["resources/newstaff"] = array("title" => "For New Nordita Staff" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "url" => "../../newstaff/index.php"); // ----------------------------------------------------------- $pg["aboutus"] = array("title" => "About Us", "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, "wikititle" => "About_Us", "wikiid" => "1564", "command" => "functions::OutputWikiPage('0','1564')"); // -------------------- $pg["aboutus/science"] = array("title" => "Science at Nordita", "priority" => "0.9", "changefreq" => "monthly", "desc" => "Research areas, scientific programs, workshops and seminars at Nordita, the Nordic Institute for theoretical Physics.", "medwide" => true, "wikititle" => "Aboutus_Science", "wikiid" => "2623", "command" => "functions::OutputWikiPage('0','2623')"); // -------------------- $pg["aboutus/video"] = array("title" => "Video Presentation", "robots" => "noindex,nofollow", "norditabot" => "noindex,nofollow", "medwide" => true, "url" => "../../video/index.php?ev=presentation"); // -------------------- $pg["aboutus/organization"] = array("title" => "Organization", "medwide" => true, "wikititle" => "Organization", "wikiid" => "1634", "command" => "functions::OutputWikiPage('0','1634')"); $pg["aboutus/organization/board"] = array("title" => "Board", "medwide" => true, "wikititle" => "People_Nordita_Board", "wikiid" => "2330", "command" => "functions::OutputWikiPage('0','2330')"); $pg["aboutus/organization/director"] = array("title" => "Director", "medwide" => true, "wikititle" => "People_Director", "wikiid" => "1686", "command" => "functions::OutputWikiPage('0','1686')"); $pg["aboutus/organization/committees"] = array("title" => "Research Committees", "medwide" => true, "wikititle" => "People_Research_Committees", "wikiid" => "1685", "command" => "functions::OutputWikiPage('0','1685')"); $pg["aboutus/organization/advisory_committee"] = array("title" => "Advisory Committee", "medwide" => true, "wikititle" => "People_Advisory_Committee", "wikiid" => "1687", "command" => "functions::OutputWikiPage('0','1687')"); $pg["aboutus/organization/program_committee"] = array("title" => "Program Committee", "medwide" => true, "wikititle" => "People_Program_Committee", "wikiid" => "2066", "command" => "functions::OutputWikiPage('0','2066')"); // -------------------- $pg["aboutus/administrative_help"] = array("title" => "Administrative Help", "medwide" => true, "wikititle" => "A2z_Administrative_Help", "wikiid" => "1651", "command" => "functions::OutputWikiPage('0','1651')"); // -------------------- $pg["aboutus/contact_information"] = array("title" => "Contact Information", "medwide" => true, "wikititle" => "Contact_Information", "wikiid" => "1636", "command" => "functions::OutputWikiPage('0','1636')"); // -------------------- $pg["aboutus/guests"] = array("title" => "Information for Visitors" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "nofollow" => true, "url" => "../../guests/index.php"); // -------------------- $pg["aboutus/map"] = array("title" => "How to Get Here", "medwide" => true, "wikititle" => "A2z_How_To_Get_Here", "wikiid" => "1610", "command" => "functions::OutputWikiPage('0','1610');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')"); $pg["aboutus/map/googlemap"] = array("title" => "Navigate to Nordita", "medwide" => true, "nobackground" => true, "command" => "functions::callMethod('widget','lib/widget','Wgooglemap','googlemap-howtogethere','','googlemap-map-canvas')"); $pg["aboutus/map/biz"] = array("title" => "Go to BizApartments", "medwide" => true, "wikititle" => "A2z_Bizapartments_Directions", "wikiid" => "2221", "command" => "functions::OutputWikiPage('0','2221');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')"); $pg["aboutus/map/sky"] = array("title" => "Go to SkyApartments", "medwide" => true, "wikititle" => "A2z_Skyapartments_Directions", "wikiid" => "2419", "command" => "functions::OutputWikiPage('0','2419');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')", "nolist" => true); $pg["aboutus/map/matsallskapet"] = array("title" => "Go to Matsällskapet Guestrooms", "medwide" => true, "wikititle" => "A2z_Hotels_Matsallskapet", "wikiid" => "2495", "command" => "functions::OutputWikiPage('0','2495');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')"); $pg["aboutus/map/wallquistska"] = array("title" => "Go to Wallquistska Guesthouse", "medwide" => true, "wikititle" => "A2z_Hotels_Wallquistska", "wikiid" => "2499", "command" => "functions::OutputWikiPage('0','2499');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')", "nolist" => IS_TESTSERVER ? false : true); $pg["aboutus/map/vanadis"] = array("title" => "Go to Vanadis Hotell och Bad", "medwide" => true, "wikititle" => "A2z_Hotels_Vanadis", "wikiid" => "2501", "command" => "functions::OutputWikiPage('0','2501');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')", "nolist" => IS_TESTSERVER ? false : true); $pg["aboutus/map/apartments"] = array("title" => "Go to Nordita Apartments", "medwide" => true, "wikititle" => "A2z_Apartments_Directions", "wikiid" => "2144", "command" => "functions::OutputWikiPage('0','2144');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')", "nolist" => IS_TESTSERVER ? false : true); $pg["aboutus/map/hotels"] = array("title" => "Go to Hotels and Hostels", "medwide" => true, "wikititle" => "A2z_Hotels_Directions", "wikiid" => "2257", "command" => "functions::OutputWikiPage('0','2257');functions::OutputWikiPage('0','2572');functions::OutputWikiPage('0','2566')", "nolist" => IS_TESTSERVER ? false : true); // -------------------- $pg["aboutus/evaluation"] = array("title" => "Evaluations of Nordita", "medwide" => true, "wikititle" => "Evaluation", "wikiid" => "1894", "command" => "functions::OutputWikiPage('0','1894')"); // -------------------- $pg["aboutus/history"] = array("title" => "Brief History", "medwide" => true, "wikititle" => "History", "wikiid" => "1568", "command" => "functions::OutputWikiPage('0','1568')"); // -------------------- $pg["aboutus/positions"] = array("title" => "Open Positions" . EXTERNAL_LINK, "priority" => "0.8", "changefreq" => "monthly", "medwide" => true, "url" => "../../people/positions/index.php"); $pg["aboutus/positions/archive"] = array("title" => "Positions Archive", "medwide" => true, "url" => "../../../people/positions/archive/index.php"); $pg["aboutus/positions/applications"] = array("title" => "Applications" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "nofollow" => true, "url" => "http://jam.nordita.org/"); // -------------------- $pg["aboutus/support"] = array("title" => "Financial Support to Nordita", "medwide" => true, "wikititle" => "Support_Nordita", "wikiid" => "2403", "command" => "functions::OutputWikiPage('0','2403')"); // -------------------- $pg["aboutus/logotype"] = array("title" => "Logotype", "medwide" => true, "wikititle" => "Logotype", "wikiid" => "1701", "command" => "functions::OutputWikiPage('0','1701')"); $pg["aboutus/logotype/specification"] = array("title" => "Specification", "medwide" => true, "wikititle" => "Logotype_Specification", "wikiid" => "1702", "command" => "functions::OutputWikiPage('0','1702')"); $pg["aboutus/logotype/download"] = array("title" => "Logotype Downloads", "medwide" => true, "nosearchfocus" => true, "wikititle" => "Logotype_Text_Guidelines", "wikiid" => "2244", "command" => "functions::OutputWikiPage('0','2244')"); $pg["aboutus/logotype/stationery"] = array("title" => "Stationery", "medwide" => true, "wikititle" => "A2z_Stationery", "wikiid" => "1708", "command" => "functions::OutputWikiPage('0','1708')"); $pg["aboutus/logotype/templates"] = array("title" => "Presentation Templates", "priority" => "0.4", "robots" => "noindex,nofollow", "medwide" => true, "wikititle" => "Intranet_Templates", "wikiid" => "2437", "command" => "functions::OutputWikiPage('0','2437')"); // -------------------- $pg["aboutus/photos"] = array("title" => "Photos from Nordita" . EXTERNAL_LINK, "robots" => "noindex,nofollow", "nofollow" => true, "url" => "../../photos/index.php"); // ----------------------------------------------------------- return $pg; }
function menu_newstest($subsitecrumb = PATH_NEWSTEST) { $pg = menu_news($subsitecrumb); if (file_exists(INCLEVEL . PATH_MENU . "/m_newsletters.php")) { include_once PATH_MENU . "/m_newsletters.php"; $pg = array_merge($pg, menu_newsletters(str_replace(PATH_NEWS, PATH_NEWSTEST, PATH_NEWSOLDARCHIVE))); } return $pg; }