aboutsummaryrefslogtreecommitdiffstats
path: root/view/wall_item.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-30 17:10:14 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-03-30 17:10:14 +0200
commit3f94721d6257b4fe31054682b258223b992c4011 (patch)
tree65ec079df32c9d3ae0bb9696f62178ff96bf06cc /view/wall_item.tpl
parent9acccb2b90ff5276c0cc84b3b006c7a393c53786 (diff)
downloadvolse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.tar.gz
volse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.tar.bz2
volse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.zip
first work
Diffstat (limited to 'view/wall_item.tpl')
-rw-r--r--view/wall_item.tpl14
1 files changed, 12 insertions, 2 deletions
diff --git a/view/wall_item.tpl b/view/wall_item.tpl
index 4c2a3fbf4..c78fbb61f 100644
--- a/view/wall_item.tpl
+++ b/view/wall_item.tpl
@@ -1,9 +1,19 @@
<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="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');">
<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>
+ <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>
+ </ul>
+ </div>
</div>
<div class="wall-item-photo-end"></div>
<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >