Definition of site wide horizontal menu
%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
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.