Changes between Version 41 and Version 42 of Web/Template


Ignore:
Timestamp:
May 5, 2013, 6:37:52 PM (12 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Web/Template

    v41 v42  
    6565#try
    6666#set cnt=0
     67<ul>
    6768#for j in server.wiki.getPage("Web/Menu/"+$i).split(', ')
    6869#if cnt==0
     
    7475<li><a href="#" shape="rect">$i.title()</a></li>
    7576#end if
    76 <a href="/site/ZooWebSite/#if $htitles is not None#$htitles[$cnt]#else#$j#end if#" shape="rect">#if $htitles is not None#$j#else#$j.title()#end if#</a>
    77 <br/>
     77<li><a href="/site/ZooWebSite/#if $htitles is not None#$htitles[$cnt]#else#$j#end if#" shape="rect">#if $htitles is not None#$j#else#$j.title()#end if#</a></li>
    7878#set $cnt=$cnt+1
    7979#end for
     80</ul>
    8081#except
    8182<li><a href="/site/$i" shape="rect">$i.title()</a></li>
     
    8586
    8687#*$(parseHTML('ZooWebSite/Menu'))*#
    87 
    88 #set s=server.wiki.getPage("Web/Menu").split(', ')
    89 <div>
    90 <div class="menuContainer">
    91 #for i in $s
    92 <div class="menuItemList">
    93 #try
    94 #set cnt=0
    95 #for j in server.wiki.getPage("Web/Menu/"+$i).split(', ')
    96 #if cnt==0
    97 #try
    98 #set htitles=server.wiki.getPage("Web/Menu/"+$i+"Links").split(', ')
    99 #except
    100 #set htitles=None
    101 #end try
    102 <a href="#" shape="rect">$i.title()</a>
    103 <br/>
    104 #end if
    105 <a href="/site/ZooWebSite/#if $htitles is not None#$htitles[$cnt]#else#$j#end if#" shape="rect">#if $htitles is not None#$j#else#$j.title()#end if#</a>
    106 <br/>
    107 #set $cnt=$cnt+1
    108 #end for
    109 #except
    110 <a href="/site/$i" shape="rect">$i.title()</a>
    111 #end try
    112 </div>
    113 #end for
    114 </div>
    115 <br style="clear:both">
    116 </div>
    117 
    11888
    11989</div>

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png