]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/contact_template.tpl
move tpl scripts to util
[friendica.git] / view / theme / frost-mobile / contact_template.tpl
index c27060bb395af4ce896281cec9a483f4b14a4638..7c19b3272e8f0f2d6588c957326a8c33c9e527c6 100644 (file)
@@ -5,16 +5,22 @@
                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
+                                               {{ 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 }}