| 61 | |
| 62 | #set s=server.wiki.getPage("Web/Menu").split(', ') |
| 63 | <div> |
| 64 | <div class="menuContainer"> |
| 65 | #for i in $s |
| 66 | <div class="menuItemList"> |
| 67 | #try |
| 68 | #set cnt=0 |
| 69 | #for j in server.wiki.getPage("Web/Menu/"+$i).split(', ') |
| 70 | #if cnt==0 |
| 71 | #try |
| 72 | #set htitles=server.wiki.getPage("Web/Menu/"+$i+"Links").split(', ') |
| 73 | #except |
| 74 | #set htitles=None |
| 75 | #end try |
| 76 | <a href="#" shape="rect">$i.title()</a> |
| 77 | <br/> |
| 78 | #end if |
| 79 | <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> |
| 80 | <br/> |
| 81 | #set $cnt=$cnt+1 |
| 82 | #end for |
| 83 | #except |
| 84 | <a href="/site/$i" shape="rect">$i.title()</a> |
| 85 | #end try |
| 86 | </div> |
| 87 | #end for |
| 88 | </div> |
| 89 | <br style="clear:both"> |
| 90 | </div> |
| 91 | |