friendica/view/templates/generic_links_widget.tpl

13 lines
429 B
Smarty
Raw Normal View History

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