diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-03-31 16:52:51 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-03-31 16:52:51 +0200 |
commit | fe67c346e5ed9f65fe25dd9337b6424c04d09c4a (patch) | |
tree | 1cf828c135b158fa81233fe0f411e1933efe2d69 /view/wall_item.tpl | |
parent | 3f94721d6257b4fe31054682b258223b992c4011 (diff) | |
download | volse-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/wall_item.tpl')
-rw-r--r-- | view/wall_item.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/view/wall_item.tpl b/view/wall_item.tpl index c78fbb61f..893483259 100644 --- a/view/wall_item.tpl +++ b/view/wall_item.tpl @@ -2,16 +2,15 @@ <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" - onmouseover="openMenu('wall-item-photo-menu-button-$id')" onmouseout="if (document.getElementById('wall-item-photo-menu-$id').style.display!='block')closeMenu('wall-item-photo-menu-button-$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> - <li><a href='$profile_tab_url'>View profile</a></li> - <li><a href='$contact_url'>Edit contact</a></li> - <li><a href='$pm_url'>Send PM</a></li> + $item_photo_menu </ul> </div> </div> |