]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photo_view.tpl
Merge remote-tracking branch 'upstream/2023.09-rc' into ISO-639-1
[friendica.git] / view / theme / frio / templates / photo_view.tpl
index 82bddcfc61c2870596fbefe523ef2377ccac7460..fe2aa383911fba5c586b3b062668392d1136da7d 100644 (file)
@@ -1,4 +1,4 @@
-{{* Template for singele photo view *}}
+{{* Template for single photo view *}}
 
 {{* "live-photos" is needed for js autoupdate *}}
 <div id="live-photos"></div>
@@ -37,7 +37,7 @@
        {{/if}}
        {{if $tools.lock}}
                <span class="icon-padding"> </span>
-               <a id="photo-lock-link" onclick="lockview(event,'photo/{{$id}}');" title="{{$tools.lock}}" data-toggle="tooltip">
+               <a id="photo-lock-link" onclick="lockview(event, 'photo', {{$id}});" title="{{$tools.lock}}" data-toggle="tooltip">
                        <i class="page-action faded-icon fa fa-lock"></i>
                </a>
        {{/if}}
 
                <div id="photo-photo-end"></div>
                {{* The photo description *}}
-               <div id="photo-caption">{{$desc nofilter}}</div>
+               <div id="photo-caption">{{$desc}}</div>
 
                {{* Tags and mentions *}}
                {{if $tags}}
                <div id="photo-tags">{{$tags.title}}
                        {{foreach $tags.tags as $t}}
                        <span class="category label btn-success sm">
-                               <span class="p-category">{{$t.name}}</span>
+                               <span class="p-category">{{$t.name nofilter}}</span>
                                {{if $t.removeurl}} <a href="{{$t.removeurl}}">(X)</a> {{/if}}
                        </span>
                        {{/foreach}}