Changes between Version 41 and Version 42 of Web/Template
- Timestamp:
- May 5, 2013, 6:37:52 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Web/Template
v41 v42 65 65 #try 66 66 #set cnt=0 67 <ul> 67 68 #for j in server.wiki.getPage("Web/Menu/"+$i).split(', ') 68 69 #if cnt==0 … … 74 75 <li><a href="#" shape="rect">$i.title()</a></li> 75 76 #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> 78 78 #set $cnt=$cnt+1 79 79 #end for 80 </ul> 80 81 #except 81 82 <li><a href="/site/$i" shape="rect">$i.title()</a></li> … … 85 86 86 87 #*$(parseHTML('ZooWebSite/Menu'))*# 87 88 #set s=server.wiki.getPage("Web/Menu").split(', ')89 <div>90 <div class="menuContainer">91 #for i in $s92 <div class="menuItemList">93 #try94 #set cnt=095 #for j in server.wiki.getPage("Web/Menu/"+$i).split(', ')96 #if cnt==097 #try98 #set htitles=server.wiki.getPage("Web/Menu/"+$i+"Links").split(', ')99 #except100 #set htitles=None101 #end try102 <a href="#" shape="rect">$i.title()</a>103 <br/>104 #end if105 <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+1108 #end for109 #except110 <a href="/site/$i" shape="rect">$i.title()</a>111 #end try112 </div>113 #end for114 </div>115 <br style="clear:both">116 </div>117 118 88 119 89 </div>