PatternSkin theme: Foswiki "Fat Willy" Site Skin - Navigation
Include main navigation with:
%INCLUDE{"%SYSTEMWEB%.PatternSkinThemeFatWillyNavigation" section="main"}%
This is done automatically in the templates by setting in the
SitePreferences:
Include meta navigation with:
%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="meta"}%
Include sections
%STARTSECTION{"main"}%<div id="patternTopBarButtons" class="clear"><ul>
%INCLUDE{
"%SYSTEMWEB%.PatternSkinNavigation"
section="topbarbutton"
ID=""
DESTWEB="%USERSWEB%"
DESTTOPIC="%HOMETOPIC%"
LABEL="%USERSWEB%"
}%
%INCLUDE{
"%SYSTEMWEB%.PatternSkinNavigation"
section="topbarbutton"
ID=""
DESTWEB="SED"
DESTTOPIC="%HOMETOPIC%"
LABEL="SED"
}%
%INCLUDE{
"%SYSTEMWEB%.PatternSkinNavigation"
section="topbarbutton"
ID=""
DESTWEB="Platforms"
DESTTOPIC="%HOMETOPIC%"
LABEL="Platforms"
}%
%INCLUDE{
"%SYSTEMWEB%.PatternSkinNavigation"
section="topbarbutton"
ID=""
DESTWEB="%SYSTEMWEB%"
DESTTOPIC="%HOMETOPIC%"
LABEL="Wiki"
}%
</ul></div>%ENDSECTION{"main"}%
%STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{
"context authenticated"
then='<li>%MAKETEXT{
"Hello [_1]"
args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]"
}%</li>'
}%%IF{
"$ LOGOUT != ''"
then='<li>%LOGOUT%</li>'
}%%IF{
"$ LOGIN != '' and not context authenticated"
then='<li>Hello [[%WIKIUSERNAME%][%WIKINAME%]]</li>
<li>%LOGIN% %IF{
"context registration_supported AND context registration_enabled"
then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"
}%</li>'
}%<li>[[%USERSWEB%.%WIKIUSERSTOPIC%][Users]]</li></ul></div>%ENDSECTION{"meta"}%