2015-12-01 21:07:05 +01:00
|
|
|
<div id="sidebar-photos-albums" class="widget">
|
2015-05-27 03:35:29 +02:00
|
|
|
<h3>{{$title}}</h3>
|
2017-10-20 15:21:42 +02:00
|
|
|
<ul role="menubar" class="sidebar-photos-albums-ul">
|
2015-12-01 21:07:05 +01:00
|
|
|
<li role="menuitem" class="sidebar-photos-albums-li">
|
|
|
|
<a href="{{$baseurl}}/photos/{{$nick}}" class="sidebar-photos-albums-element" title="{{$title}}" >{{$recent}}</a>
|
|
|
|
</li>
|
|
|
|
|
2015-05-27 03:35:29 +02:00
|
|
|
{{if $albums}}
|
|
|
|
{{foreach $albums as $al}}
|
|
|
|
{{if $al.text}}
|
2015-12-01 21:07:05 +01:00
|
|
|
<li role="menuitem" class="sidebar-photos-albums-li">
|
|
|
|
<a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
|
|
|
|
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-05-27 03:35:29 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
2015-05-28 15:54:53 +02:00
|
|
|
|
2015-12-01 21:07:05 +01:00
|
|
|
{{if $can_post}}
|
|
|
|
<div class="photos-upload-link" ><a href="{{$upload.1}}">{{$upload.0}}</a></div>
|
|
|
|
{{/if}}
|
2015-05-27 03:35:29 +02:00
|
|
|
</div>
|