aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/quattro/tpl/contact_template.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-09 19:09:55 -0700
committerfriendica <info@friendica.com>2012-08-09 19:09:55 -0700
commitf2a7fcf8220ef497c8f39f0c9ec3175757f53128 (patch)
tree5341c592ee54f231bb5268537ce345e831f50cb8 /view/theme/quattro/tpl/contact_template.tpl
parent0292d46e5de06529012ebb14ce934fb476d595d0 (diff)
downloadvolse-hubzilla-f2a7fcf8220ef497c8f39f0c9ec3175757f53128.tar.gz
volse-hubzilla-f2a7fcf8220ef497c8f39f0c9ec3175757f53128.tar.bz2
volse-hubzilla-f2a7fcf8220ef497c8f39f0c9ec3175757f53128.zip
more theme modularisation and css/js management
Diffstat (limited to 'view/theme/quattro/tpl/contact_template.tpl')
-rw-r--r--view/theme/quattro/tpl/contact_template.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/view/theme/quattro/tpl/contact_template.tpl b/view/theme/quattro/tpl/contact_template.tpl
new file mode 100644
index 000000000..b826acc65
--- /dev/null
+++ b/view/theme/quattro/tpl/contact_template.tpl
@@ -0,0 +1,26 @@
+
+<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="$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-name" id="contact-entry-name-$contact.id" >$contact.name</div>
+ {{ if $contact.alt_text }}<div class="contact-details" id="contact-entry-rel-$contact.id" >$contact.alt_text</div>{{ endif }}
+ <div class="contact-details" id="contact-entry-url-$contact.id" >$contact.itemurl</div>
+ <div class="contact-details" id="contact-entry-network-$contact.id" >$contact.network</div>
+
+
+</div>
+