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
|
|
|
|
*}}
|
2024-07-04 22:15:19 +00:00
|
|
|
<span id="{{$type}}-sidebar-inflated" class="widget inflated fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');">
|
2019-05-18 15:33:35 +00:00
|
|
|
<h3>{{$title}}</h3>
|
2020-01-09 06:53:33 +00:00
|
|
|
</span>
|
2020-01-11 08:41:14 +00:00
|
|
|
<div id="{{$type}}-sidebar" class="widget">
|
|
|
|
<span class="fakelink" onclick="openCloseWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');">
|
2020-01-09 06:53:33 +00:00
|
|
|
<h3>{{$title}}</h3>
|
|
|
|
</span>
|
2019-05-18 15:33:35 +00:00
|
|
|
<div id="{{$type}}-desc">{{$desc nofilter}}</div>
|
|
|
|
<ul role="menu" class="{{$type}}-ul">
|
2023-09-09 19:41:40 +00:00
|
|
|
{{if $all_label}}
|
2020-10-13 04:23:17 +00:00
|
|
|
<li role="menuitem" {{if !is_null($selected) && !$selected}}class="selected"{{/if}}><a href="{{$base}}" class="{{$type}}-link{{if !$selected}} {{$type}}-selected{{/if}} {{$type}}-all">{{$all_label}}</a></li>
|
2023-09-09 19:30:01 +00:00
|
|
|
{{/if}}
|
2019-05-18 15:33:35 +00:00
|
|
|
{{foreach $options as $option}}
|
|
|
|
<li role="menuitem" {{if $selected == $option.ref}}class="selected"{{/if}}><a href="{{$base}}{{$type}}={{$option.ref}}" class="{{$type}}-link{{if $selected == $option.ref}} {{$type}}-selected{{/if}}">{{$option.name}}</a></li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2020-01-11 08:41:14 +00:00
|
|
|
<script>
|
|
|
|
initWidget('{{$type}}-sidebar', '{{$type}}-sidebar-inflated');
|
|
|
|
</script>
|