This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Template:Top 10 DeveloperEdition:NavigationByHeadertab Test"

From OWASP
Jump to: navigation, search
(Test successfull :-))
m (Moved 'lblprev=' and 'lblnext=' inside the if-request)
Line 40: Line 40:
 
     |useprev={{{useprev}}}
 
     |useprev={{{useprev}}}
 
     |prev={{{prev}}}
 
     |prev={{{prev}}}
     |lblprev={{ #if: {{{headertabLeft|}}} | {{{headertabLeft}}} | {{{headertab}}} }}
+
     | {{ #if: {{{headertabLeft|}}} | lblprev={{{headertabLeft}}} | lblprev={{{headertab}}} }}
 
     |usenext={{{usenext}}}
 
     |usenext={{{usenext}}}
 
     |next={{{next}}}
 
     |next={{{next}}}
     |lblnext={{ #if: {{{headertabRight|}}} | {{{headertabRight}}} | {{{headertab}}} }}
+
     | {{ #if: {{{headertabRight|}}} | lblnext={{{headertabRight}}} | lblnext={{{headertab}}} }}
 
     |usemain=Nothing
 
     |usemain=Nothing
 
     |year={{{year}}}
 
     |year={{{year}}}

Revision as of 11:38, 7 May 2014


Top 10 DeveloperEdition: Special Navigation Bar linking from one headertab to the same type on the next page

Usage:

Example:

{{Top 10 DeveloperEdition:NavigationByHeadertab_Test
|headertab=JAVA
|headertabLeft=JAVA2
|useprev=2013PrevHeaderTabDeveloperEdition
|usenext=2013NextHeaderTabDeveloperEdition
|prev=A6-{{Top_10_2010:ByTheNumbers
|6
|year=2013
|language=de}}
|next=A7-{{Top_10_2010:ByTheNumbers
|7
|year=2013
|language=de}}
|year=2013
|language=de
}}

{{LinkBar |useprev=2013PrevHeaderTabDeveloperEdition |prev=A6-Verlust der Vertraulichkeit sensibler Daten |lblprev=JAVA2 |usenext=2013NextHeaderTabDeveloperEdition |next=A7-Fehlerhafte Autorisierung auf Anwendungsebene |lblnext=JAVA |usemain=Nothing |year=2013 |language=de }}