mirror of
https://github.com/friendica/friendica
synced 2024-11-16 04:47:38 +01:00
13 lines
420 B
Smarty
13 lines
420 B
Smarty
|
|
<div class="widget{{if $class}} {{$class}}{{/if}}">
|
|
{{if $title}}<h3>{{$title}}</h3>{{/if}}
|
|
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
|
|
|
|
<ul role="menu">
|
|
{{foreach $items as $item}}
|
|
<li role="menuitem" class="tool"><a href="{{$item.url}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}} class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
|
|
{{/foreach}}
|
|
</ul>
|
|
|
|
</div>
|