]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/contact_template.tpl
template engine rework
[friendica.git] / view / theme / diabook / contact_template.tpl
index 48930b48aba19923041570aef1e9e061f0d5cc8b..f7ed1075098e68e925a8e53986a1d11d560b8040 100644 (file)
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}