]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/smarty3/contact_template.tpl
template engine rework
[friendica.git] / view / theme / quattro / smarty3 / contact_template.tpl
index cf2ac7b24380f1dbe4dbd1fc0bbb8a3a7789813d..c74a513b8fc1e4a7a50900b7ed5e8b85931815a2 100644 (file)
@@ -1,3 +1,8 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
 
 <div class="contact-wrapper" id="contact-entry-wrapper-{{$id}}" >
        <div class="contact-photo-wrapper" >
                        {{if $contact.photo_menu}}
                        <a href="#" rel="#contact-photo-menu-{{$contact.id}}" class="contact-photo-menu-button icon s16 menu" id="contact-photo-menu-button-{{$contact.id}}">menu</a>
                        <ul class="contact-photo-menu menu-popup" id="contact-photo-menu-{{$contact.id}}">
-                               {{$contact.photo_menu}}
+                               {{foreach $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>
+                               {{/if}}
+                               {{/foreach}}
                        </ul>
                        {{/if}}
                </div>