summaryrefslogtreecommitdiff
path: root/template/hall_share_buttons.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/hall_share_buttons.st')
-rw-r--r--template/hall_share_buttons.st19
1 files changed, 19 insertions, 0 deletions
diff --git a/template/hall_share_buttons.st b/template/hall_share_buttons.st
new file mode 100644
index 0000000..6addd09
--- /dev/null
+++ b/template/hall_share_buttons.st
@@ -0,0 +1,19 @@
+<span class="buttons">
+ <img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
+ <img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
+ <img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
+ <img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
+ <a class="permalink" href="/p/$dump.nick$/$dump.message_id$"><img src="$domain$/static/img/link.gif"></a>
+$if(logged_in)$
+$if(dump.favorited)$
+ <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.scorecount', '18px', '12px')">
+$else$
+ <div style="position: relative">
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.animated_fav(this, '.scorecount', '24px', '12px')">
+ </div>
+$endif$
+$endif$
+$if(dump.favcount)$
+ $dump.favcount$
+$endif$
+</span>