PatternSkin theme: Foswiki "Fat Willy" Site Skin - Navigation

Include main navigation with:
%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="main"}%

Include meta navigation with:
%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="meta"}%

Include sections

%STARTSECTION{"main"}%<div id="patternTopBarButtons"><ul>
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Home" DESTTOPIC="WebHome" LABEL="Home"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="About" DESTTOPIC="WebHome" LABEL="About"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Download" DESTTOPIC="WebHome" LABEL="Download"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Installation" DESTTOPIC="WebHome" LABEL="Installation"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Usage" DESTTOPIC="WebHome" LABEL="Usage"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Documentation" DESTTOPIC="WebHome" LABEL="Documentation"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Development" DESTTOPIC="WebHome" LABEL="Development"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="References" DESTTOPIC="WebHome" LABEL="References"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Examples" DESTTOPIC="WebHome" LABEL="Examples"
}%
</ul><div class="foswikiClear"></div></div>%ENDSECTION{"main"}%

%STARTSECTION{"topbarbutton"}%<li%IF{
    "'$ID' and '%ID%'!=''"
    then=" id=\"%ID%\""
}%><a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{
    "'%DESTWEB%'='%BASEWEB%'"
    then="active"
    else="inactive"
}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}%

%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% <!-- FR made this a comment%IF{
            "context registration_supported AND context registration_enabled"
            then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"
        }% --></li>'
}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}%

This topic: System > PatternSkinThemeDamaskNavigation
Topic revision: 11 Feb 2016, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback