]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/smarty3/contact_template.tpl
template engine rework
[friendica.git] / view / theme / frost-mobile / smarty3 / contact_template.tpl
index 91b5bae66f26df1fe1ab02705ae45701484e05cb..7d257dabccd7c590b19b4ff8b3f01a65e2abf682 100644 (file)
@@ -1,3 +1,8 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
 
 <div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
        <div class="contact-entry-photo-wrapper" >
                onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}});" 
                onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)" >
 
-<!--                   <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>-->
+{{*<!--                        <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>-->*}}
                        <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">
                        <img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
                        </span>
 
                        {{if $contact.photo_menu}}
-<!--                   <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>-->
+{{*<!--                        <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}}
+                                               {{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>
                 </div>
                        {{/if}}