aboutsummaryrefslogtreecommitdiffstats
path: root/view/search_item.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-31 16:52:51 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-03-31 16:52:51 +0200
commitfe67c346e5ed9f65fe25dd9337b6424c04d09c4a (patch)
tree1cf828c135b158fa81233fe0f411e1933efe2d69 /view/search_item.tpl
parent3f94721d6257b4fe31054682b258223b992c4011 (diff)
downloadvolse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.tar.gz
volse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.tar.bz2
volse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.zip
Moved popup logic in boot.php, added 'item_photo_menu' hook
Diffstat (limited to 'view/search_item.tpl')
-rw-r--r--view/search_item.tpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/view/search_item.tpl b/view/search_item.tpl
index f890bdee5..02c31fe14 100644
--- a/view/search_item.tpl
+++ b/view/search_item.tpl
@@ -1,9 +1,17 @@
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
<div class="wall-item-content-wrapper$indent" id="wall-item-content-wrapper-$id" >
<span class="wall-item-info" id="wall-item-info-$id">
- <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" >
+ <div class="wall-item-photo-wrapper" 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" >