aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-06 18:17:43 -0800
committerfriendica <info@friendica.com>2012-12-06 18:17:43 -0800
commit435836b224adac299d7c6868279b014010e70d29 (patch)
tree093e0b9d3cb4a5828a313749355c9ede80061276 /view
parent0bcbcc3b5a3240610655cb3d3c5c46bafdc37c13 (diff)
downloadvolse-hubzilla-435836b224adac299d7c6868279b014010e70d29.tar.gz
volse-hubzilla-435836b224adac299d7c6868279b014010e70d29.tar.bz2
volse-hubzilla-435836b224adac299d7c6868279b014010e70d29.zip
templatise micropro
Diffstat (limited to 'view')
-rw-r--r--view/tpl/micropro_img.tpl1
-rw-r--r--view/tpl/micropro_txt.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/micropro_img.tpl b/view/tpl/micropro_img.tpl
new file mode 100644
index 000000000..06df22d7b
--- /dev/null
+++ b/view/tpl/micropro_img.tpl
@@ -0,0 +1 @@
+<div class="contact-block-div{{if $class}} $class{{endif}}"><a class="contact-block-link{{if $class}} $class{{endif}}{{if $click}} fakelink{{endif}}" href="{{if $click}}#{{else}}$url{{endif}}" {{if $click}}onclick="$click"{{endif}}><img class="contact-block-img{{if $class}} $class{{endif}}" src="$photo" title="$title" alt="$name" /></a></div>
diff --git a/view/tpl/micropro_txt.tpl b/view/tpl/micropro_txt.tpl
new file mode 100644
index 000000000..6a6ef6392
--- /dev/null
+++ b/view/tpl/micropro_txt.tpl
@@ -0,0 +1 @@
+<div class="contact-block-textdiv{{if $class}} $class{{endif}}"><a class="contact-block-link{{if $class}} $class{{endif}}{{if $click}} fakelink{{endif}}" href="{{if $click}}#{{else}}$url{{endif}}" {{if $click}}onclick="$click"{{endif}} title="$title">$name</a></div>