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="About" DESTTOPIC="WebHome" LABEL="About"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Blog" DESTTOPIC="WebHome" LABEL="Blog"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Extensions" DESTTOPIC="WebHome" LABEL="Extensions"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="System" DESTTOPIC="WebHome" LABEL="Documentation"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Community" DESTTOPIC="WebHome" LABEL="Community"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Development" DESTTOPIC="WebHome" LABEL="Development"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Tasks" DESTTOPIC="WebHome" LABEL="Tasks"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Download" DESTTOPIC="WebHome" LABEL="Download"
}%
%INCLUDE{
    "%TOPIC%" section="topbarbutton"
    ID="" DESTWEB="Support" DESTTOPIC="WebHome" LABEL="Support"
}%
</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% %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 > PatternSkinFatwillyTheme > PatternSkinThemeFatWillyNavigation
Topic revision: 05 Feb 2012, ProjectContributor
 
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 BACCHUS Wiki? Send feedback