Definition of site wide horizontal menu
Implementation
%STARTINCLUDE%<ul>
<li>[[FC2WG.WebHome][%MAKETEXT{"Home"}%]]</li>
<li>[[FC2WG.FairC2WGMinutes][%MAKETEXT{"Minutes"}%]]</li>
<li>[[FC2WG.FairC2WGNextAgenda][%MAKETEXT{"Next Agenda"}%]]</li>
<li>[[FC2WG.HardwareCommissioning/WebHome][%MAKETEXT{"Dry-Runs"}%]]</li>
<li>[[FC2WG.BeamCommissioning/WebHome][%MAKETEXT{"Commissioning Procedures"}%]]</li>
<li>[[FC2WG.FairControlTopics][%MAKETEXT{"Control Topics"}%]]</li>
<li>[[FC2WG.FairC2WGAdmin][%MAKETEXT{"Admin"}%]]</li>
%IF{"'%USERNAME%' ingroup 'AdminGroup'"
then="$percntINCLUDE{\"%WEB%.WebMenu\" section=\"adminmenu\"}$percnt"
}%
</ul>%STOPINCLUDE%
%STARTSECTION{"adminmenu"}%<noautolink>
<li>%MAKETEXT{"Admin"}%
<ul>
%IF{"isweb 'Applications'"
then="<li>
[[Applications.%HOMETOPIC%][%JQICON{"application_double"}% %MAKETEXT{"Applications"}%]]
<ul class=\"ajaxMenu {url:'%SCRIPTURL{"view"}%/%SYSTEMWEB%/SiteMenu?skin=text;section=subwebs;theweb=Applications;icon=application%IF{"defined EXCLUDEWIKIAPPS" then=";excludeweb=%EXCLUDEWIKIAPPS%"}%'}\"></ul>
</li>"
}%<!-- -->
<li>[[%TRASHWEB%.%HOMETOPIC%][%JQICON{"bin"}% %MAKETEXT{"Trash"}%]]</li>
<li>[[%BASEWEB%.%WEBPREFSTOPIC%][%JQICON{"wrench"}% %MAKETEXT{"Web preferences"}%]]</li>
<li>[[%LOCALSITEPREFS%][%JQICON{"wrench_orange"}% %MAKETEXT{"Site preferences"}%]]</li>
<li>[[%SYSTEMWEB%.SitePermissions][%JQICON{"key"}% %MAKETEXT{"Site permissions"}%]]</li>
%IF{"context ActivityStreamPluginEnabled"
then="<li>[[%SYSTEMWEB%.SiteActivityStream][%JQICON{"user"}% %MAKETEXT{"Site activities"}%]]</li>"
}%<!-- -->
<li>[[%SCRIPTURLPATH{"configure"}%][%JQICON{"wand"}% %MAKETEXT{"Configure Foswiki"}%]]</li>
<li> <hr /> </li>
<li>[[%SYSTEMWEB%.WebCreateNewWeb][%JQICON{"folder_add"}% %MAKETEXT{"Create a new web"}%]]</li>
<li>[[%SCRIPTURL{"rename"}%/%BASEWEB%/%BASETOPIC%?action=renameweb][%JQICON{"folder_go"}% %MAKETEXT{"Rename current web"}%]]</li>
</ul>
</li>
</noautolink>%ENDSECTION{"adminmenu"}%