aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/contact_template.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-02-23 11:22:32 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-02-23 11:22:32 +0100
commitcbc60d525e9140169c3b2d03998c53907b2fa3a7 (patch)
tree00a6166c3882cfc1f87aa6a4fb2663ef5b20be65 /view/theme/duepuntozero/contact_template.tpl
parentd9e9fd0359cb89416b486cbe9cb65f586abe6cd9 (diff)
downloadvolse-hubzilla-cbc60d525e9140169c3b2d03998c53907b2fa3a7.tar.gz
volse-hubzilla-cbc60d525e9140169c3b2d03998c53907b2fa3a7.tar.bz2
volse-hubzilla-cbc60d525e9140169c3b2d03998c53907b2fa3a7.zip
quattro post preview, style contacts pages, style for "shiny" class, fix contacts list in profile aside.
remove html from viewcontacts.php and contacts.php use contact_template.tpl to print contacts also in viewcontacts
Diffstat (limited to 'view/theme/duepuntozero/contact_template.tpl')
-rwxr-xr-xview/theme/duepuntozero/contact_template.tpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/view/theme/duepuntozero/contact_template.tpl b/view/theme/duepuntozero/contact_template.tpl
new file mode 100755
index 000000000..48930b48a
--- /dev/null
+++ b/view/theme/duepuntozero/contact_template.tpl
@@ -0,0 +1,25 @@
+
+<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
+ <div class="contact-entry-photo-wrapper" >
+ <div class="contact-entry-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="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>
+
+ {{ if $contact.photo_menu }}
+ <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
+ <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
+ <ul>
+ $contact.photo_menu
+ </ul>
+ </div>
+ {{ endif }}
+ </div>
+
+ </div>
+ <div class="contact-entry-photo-end" ></div>
+ <div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
+
+ <div class="contact-entry-end" ></div>
+</div>