| 59 | |
| 60 | |
| 61 | #set s=server.wiki.getPage("Web/Menu").split(', ') |
| 62 | <ul class="topnav"> |
| 63 | <li><a href="/site/">Home</a></li> |
| 64 | #for i in $s |
| 65 | #try |
| 66 | #set cnt=0 |
| 67 | #for j in server.wiki.getPage("Web/Menu/"+$i).split(', ') |
| 68 | #if cnt==0 |
| 69 | #try |
| 70 | #set htitles=server.wiki.getPage("Web/Menu/"+$i+"Links").split(', ') |
| 71 | #except |
| 72 | #set htitles=None |
| 73 | #end try |
| 74 | <li><a href="#" shape="rect">$i.title()</a></li> |
| 75 | #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/> |
| 78 | #set $cnt=$cnt+1 |
| 79 | #end for |
| 80 | #except |
| 81 | <li><a href="/site/$i" shape="rect">$i.title()</a></li> |
| 82 | #end try |
| 83 | #end for |
| 84 | </ul> |