aboutsummaryrefslogtreecommitdiffstats
path: root/view/contact_template.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2012-02-23 02:52:04 -0800
committerfabrixxm <fabrix.xm@gmail.com>2012-02-23 02:52:04 -0800
commitd5adb67ef480bd24bcca4d384eba72e51ae27446 (patch)
tree6e7daff5fffd3adf40b30db3b66221543c3d1ec4 /view/contact_template.tpl
parent85d09f48d0bdddd43c8dd13c618cc714a679d141 (diff)
parentcbc60d525e9140169c3b2d03998c53907b2fa3a7 (diff)
downloadvolse-hubzilla-d5adb67ef480bd24bcca4d384eba72e51ae27446.tar.gz
volse-hubzilla-d5adb67ef480bd24bcca4d384eba72e51ae27446.tar.bz2
volse-hubzilla-d5adb67ef480bd24bcca4d384eba72e51ae27446.zip
Merge pull request #46 from fabrixxm/master
more work on quattro theme and less html in php
Diffstat (limited to 'view/contact_template.tpl')
-rwxr-xr-xview/contact_template.tpl32
1 files changed, 17 insertions, 15 deletions
diff --git a/view/contact_template.tpl b/view/contact_template.tpl
index e1a080b67..d6f114d6e 100755
--- a/view/contact_template.tpl
+++ b/view/contact_template.tpl
@@ -1,23 +1,25 @@
-<div class="contact-entry-wrapper" id="contact-entry-wrapper-$id" >
- <div class="contact-entry-photo-wrapper" >
- <div class="contact-entry-photo mframe" id="contact-entry-photo-$id"
- onmouseover="if (typeof t$id != 'undefined') clearTimeout(t$id); openMenu('contact-photo-menu-button-$id')" onmouseout="t$id=setTimeout('closeMenu(\'contact-photo-menu-button-$id\'); closeMenu(\'contact-photo-menu-$id\');',200)" >
+<div class="contact-wrapper" id="contact-entry-wrapper-$id" >
+ <div class="contact-photo-wrapper" >
+ <div class="contact-photo mframe" id="contact-entry-photo-$contact.id"
+ onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id); openMenu('contact-photo-menu-button-$contact.id')"
+ onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-button-$contact.id\'); closeMenu(\'contact-photo-menu-$contact.id\');',200)" >
- <a href="$url" title="$img_hover" /><img src="$thumb" $sparkle alt="$name" /></a>
-
- <span onclick="openClose('contact-photo-menu-$id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$id">menu</span>
- <div class="contact-photo-menu" id="contact-photo-menu-$id">
- <ul>
- $contact_photo_menu
- </ul>
- </div>
+ <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>
+ {{ if $contact.photo_menu }}
+ <a href="#" rel="#contact-photo-menu-$contact.id" class="contact-photo-menu-button icon s16 menu" id="contact-photo-menu-button-$contact.id">menu</a>
+ <ul class="contact-photo-menu menu-popup" id="contact-photo-menu-$contact.id">
+ $contact.photo_menu
+ </ul>
+ {{ endif }}
</div>
</div>
- <div class="contact-entry-photo-end" ></div>
- <div class="contact-entry-name" id="contact-entry-name-$id" >$name</div>
+ <div class="contact-name" id="contact-entry-name-$contact.id" >$contact.name</div>
+ <div class="contact-details" id="contact-entry-url-$contact.id" >$contact.item.url</div>
+ <div class="contact-details" id="contact-entry-network-$contact.id" >$contact.item.network|network_to_name</div>
+
- <div class="contact-entry-end" ></div>
</div>
+