Log inRegister
You are here: Main » SiteMenu

SiteMenu

15 April 2016 - 09:45 | Version 2 |

Definition of site wide horizontal menu

Implementation

%STARTINCLUDE%<ul>
  <li class="%IF{"$CURRENT_MENU='DACHELA'" then="current" else="notcurrent"}%">[[DACHELA.%HOMETOPIC%][%MAKETEXT{"Home"}%]]</li>
%IF{"'Intern.%HOMETOPIC%' allows 'view'"
  then="<li class=\"$percentIF{\"$CURRENT_MENU='Intern'\" then=\"current\" else=\"notcurrent\"}$percent\">[[Intern.%HOMETOPIC%][%MAKETEXT{"Intern"}%]]</li>"
}% %IF{"'Arbeitsbereiche.%HOMETOPIC%' allows 'view'"
  then="<li class=\"$percentIF{\"$CURRENT_MENU='Arbeitsbereiche'\" then=\"current\" else=\"notcurrent\"}$percent\">[[Arbeitsbereiche.%HOMETOPIC%][%MAKETEXT{"Arbeitsbereiche"}%]]
    <ul>%INCLUDE{"%SYSTEMWEB%/SiteMenu" section="subwebs" theweb="Arbeitsbereiche"}%</ul></li>"
}% %IF{"'%USERNAME%' ingroup 'AdminGroup'"
  then="<li class=\"$percentIF{\"$CURRENT_MENU='%USERSWEB%'\" then=\"current\" else=\"notcurrent\"}$percent\">[[%USERSWEB%.%HOMETOPIC%][%MAKETEXT{"%USERSWEB%"}%]]</li>"
}% %IF{"'%USERNAME%' ingroup 'AdminGroup'" 
  then="$percntINCLUDE{\"%SYSTEMWEB%.SiteMenu\" section=\"adminmenu\"}$percnt"
}% %IF{"'%SYSTEMWEB%.%HOMETOPIC%' allows 'view'"
  then="$percntINCLUDE{\"%SYSTEMWEB%.SiteMenu\" section=\"helpmenu\"}$percnt"
}%
</ul>%STOPINCLUDE%

-- AdminUser - 15 Apr 2016
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 DACHELA Wiki? Send feedback
This page was cached on 09 Jun 2026 - 15:57.
This website is using cookies. More info. That's Fine