mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
18 lines
601 B
Smarty
18 lines
601 B
Smarty
{{*
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*}}
|
|
|
|
<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="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>
|