<div class="widget{{if $class}} {{$class}}{{/if}}"> {{if $title}}<h3>{{$title}}</h3>{{/if}} {{if $desc}}<div class="desc">{{$desc nofilter}}</div>{{/if}} <ul role="menu"> {{foreach $items as $item}} <li role="menuitem" class="{{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>{{$item.label}}</a></li> {{/foreach}} </ul> </div>