]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/photo_albums.tpl
[vier] Remove duplicate variable declaration
[friendica.git] / view / templates / photo_albums.tpl
index 86b468e06d8276bff5e8ab8be5620bc0fabd8f22..f5a13d714e0e652a8c634bf117c139d84fca0408 100644 (file)
@@ -2,14 +2,14 @@
        <h3>{{$title}}</h3>
        <ul role="menubar" class="sidebar-photos-albums-ul">
                <li role="menuitem" class="sidebar-photos-albums-li">
-                       <a href="{{$baseurl}}/photos/{{$nick}}" class="sidebar-photos-albums-element" title="{{$title}}">{{$recent}}</a>
+                       <a href="profile/{{$nick}}/photos" class="sidebar-photos-albums-element" title="{{$title}}">{{$recent}}</a>
                </li>
 
                {{if $albums}}
                {{foreach $albums as $al}}
                {{if $al.text}}
                <li role="menuitem" class="sidebar-photos-albums-li">
-                       <a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
+                       <a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
                                <span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
                        </a>
                </li>