diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 16:55:40 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-05 16:55:40 +0200 |
commit | 08e54234e30c10e3130b7d71caba9fd43e3593e3 (patch) | |
tree | dd9242b14387c833346f4172e3f190659db56ff7 /view/profile_vcard.tpl | |
parent | c7a9b1ae32675ce1035834c3a6a64465adf1b5b1 (diff) | |
download | volse-hubzilla-08e54234e30c10e3130b7d71caba9fd43e3593e3.tar.gz volse-hubzilla-08e54234e30c10e3130b7d71caba9fd43e3593e3.tar.bz2 volse-hubzilla-08e54234e30c10e3130b7d71caba9fd43e3593e3.zip |
profiles popup menu in sidebar
Diffstat (limited to 'view/profile_vcard.tpl')
-rw-r--r-- | view/profile_vcard.tpl | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl index ecdb5280f..cab732cc1 100644 --- a/view/profile_vcard.tpl +++ b/view/profile_vcard.tpl @@ -2,8 +2,21 @@ <div class="tool"> <div class="fn label">$profile.name</div> - {{ if $profile.edit }}<a class="icon s16 edit ttright" href="$profile.edit.0" title="$profile.edit.3"><span>$profile.edit.1</span></a>{{ endif }} + {{ if $profile.edit }} + <div class="action"> + <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="$profile.edit.3"><span>$profile.edit.1</span></a> + <ul id="profiles-menu" class="menu-popup"> + {{ for $profile.menu.entries as $e }} + <li><a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a></li> + {{ endfor }} + <li><a href="profile_photo" >$profile.menu.chg_photo</a></li> + <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li> + + </ul> + </div> + {{ endif }} </div> + {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }} <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name"></div> |