Changeset 14603


Ignore:
Timestamp:
04/12/12 12:14:20 (13 months ago)
Author:
SvenDowideit
Message:

Item11733: use IF's to only show the webs that actually exist - really should use WEBLIST, but later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PatternSkin/data/System/PatternSkinTheme2012Navigation.txt

    r14581 r14603  
    2020    "%TOPIC%" section="topbarbutton" 
    2121    ID="" DESTWEB="About" DESTTOPIC="WebHome" LABEL="About" 
    22 }% 
    23 %INCLUDE{ 
     22}% %INCLUDE{ 
    2423    "%TOPIC%" section="topbarbutton" 
    2524    ID="" DESTWEB="Blog" DESTTOPIC="WebHome" LABEL="Blog" 
    26 }% 
    27 %INCLUDE{ 
     25}% %INCLUDE{ 
    2826    "%TOPIC%" section="topbarbutton" 
    2927    ID="" DESTWEB="Extensions" DESTTOPIC="WebHome" LABEL="Extensions" 
    30 }% 
    31 %INCLUDE{ 
     28}% %INCLUDE{ 
    3229    "%TOPIC%" section="topbarbutton" 
    3330    ID="" DESTWEB="System" DESTTOPIC="WebHome" LABEL="Documentation" 
    34 }% 
    35 %INCLUDE{ 
     31}% %INCLUDE{ 
    3632    "%TOPIC%" section="topbarbutton" 
    3733    ID="" DESTWEB="Community" DESTTOPIC="WebHome" LABEL="Community" 
    38 }% 
    39 %INCLUDE{ 
     34}% %INCLUDE{ 
    4035    "%TOPIC%" section="topbarbutton" 
    4136    ID="" DESTWEB="Development" DESTTOPIC="WebHome" LABEL="Development" 
    42 }% 
    43 %INCLUDE{ 
     37}% %INCLUDE{ 
    4438    "%TOPIC%" section="topbarbutton" 
    4539    ID="" DESTWEB="Tasks" DESTTOPIC="WebHome" LABEL="Tasks" 
    46 }% 
    47 %INCLUDE{ 
     40}% %INCLUDE{ 
    4841    "%TOPIC%" section="topbarbutton" 
    4942    ID="" DESTWEB="Download" DESTTOPIC="WebHome" LABEL="Download" 
    50 }% 
    51 %INCLUDE{ 
     43}% %INCLUDE{ 
    5244    "%TOPIC%" section="topbarbutton" 
    5345    ID="" DESTWEB="Support" DESTTOPIC="WebHome" LABEL="Support" 
     
    5547</ul><div class="foswikiClear"></div></div>%ENDSECTION{"meta"}% 
    5648 
     49%STARTSECTION{"topbarbutton"}%%IF{ 
     50        "isweb $DESTWEB" 
     51        then="$percntINCLUDE{ 
     52                $quot%TOPIC%$quot  
     53                section=$quottopbarbutton_inner$quot 
     54                ID=$quot%ID%$quot 
     55                DESTWEB=$quot%DESTWEB%$quot 
     56                DESTTOPIC=$quot%DESTTOPIC%$quot 
     57                LABEL=$quot%LABEL%$quot 
     58        }$percnt" 
     59}%%ENDSECTION{"topbarbutton"}% 
    5760 
    58 %STARTSECTION{"topbarbutton"}%<li%IF{ 
     61%STARTSECTION{"topbarbutton_inner"}%<li%IF{ 
    5962    "'$ID' and '%ID%'!=''" 
    6063    then=" id=\"%ID%\"" 
     
    6366    then="active" 
    6467    else="inactive" 
    65 }%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% 
     68}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton_inner"}% 
    6669 
    6770 
Note: See TracChangeset for help on using the changeset viewer.