friendica-github/view/templates/generic_links_widget.tpl

19 lines
601 B
Smarty
Raw Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
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>