ALERT! Warning: your browser isn't supported. Please install a modern one, like Firefox, Opera, Safari, Chrome or the latest Internet Explorer. Thank you!
Log inLog in to FAIR Wiki. | RegisterSign on to FAIR Wiki.

You are here: FC2WG » BeamCommissioning » WebMenu

WebMenu

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%

Admin menu

%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"}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FAIR Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)
Syndicate this site RSS
^