friendica/view/templates/generic_links_widget.tpl

13 lines
420 B
Smarty
Raw Permalink Normal View History

2013-04-23 13:47:57 +02:00
<div class="widget{{if $class}} {{$class}}{{/if}}">
{{if $title}}<h3>{{$title}}</h3>{{/if}}
{{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
2015-08-08 17:33:43 +02:00
<ul role="menu">
2013-04-23 13:47:57 +02:00
{{foreach $items as $item}}
2015-08-08 17:33:43 +02:00
<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>
2013-04-23 13:47:57 +02:00
{{/foreach}}
</ul>
</div>