]> git.mxchange.org Git - friendica.git/commitdiff
photo menu added to wallwall template
authorFriendika <info@friendika.com>
Mon, 11 Apr 2011 23:00:13 +0000 (16:00 -0700)
committerFriendika <info@friendika.com>
Mon, 11 Apr 2011 23:00:13 +0000 (16:00 -0700)
view/wallwall_item.tpl

index 640d3f94ee909e41a7a48662bbab043f2b2e5aee..236c952ab8434d21610eabb53dcef3d5004fccba 100644 (file)
@@ -6,9 +6,18 @@
                                <img src="$owner_photo" class="wall-item-photo$osparkle" id="wall-item-ownerphoto-$id" height="80" width="80" alt="$owner_name" /></a>
                        </div>
                        <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$wall" /></div>
-                       <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$id" >
+                       <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$id" 
+                               onmouseover="if (typeof t$id != 'undefined') clearTimeout(t$id); openMenu('wall-item-photo-menu-button-$id')"
+                onmouseout="t$id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$id\'); closeMenu(\'wall-item-photo-menu-$id\');',200)">
                                <a href="$profile_url" title="$linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$id">
                                <img src="$thumb" class="wall-item-photo$sparkle" id="wall-item-photo-$id" height="80" width="80" alt="$name" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-$id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$id">menu</span>
+                <div class="wall-item-photo-menu" id="wall-item-photo-menu-$id">
+                    <ul>
+                        $item_photo_menu
+                    </ul>
+                </div>
+
                        </div>
                        <div class="wall-item-photo-end"></div>
                        <div class="wall-item-wrapper" id="wall-item-wrapper-$id" >