summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/share_buttons.st')
-rw-r--r--template/share_buttons.st16
1 files changed, 11 insertions, 5 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st
index f446c43..4400fb3 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,7 +1,13 @@
<div class="buttons">
-<img src="/static/thumbup.gif" class="fav" onclick="Like(this)">
-<img src="/static/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
-<img src="/static/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
-<img src="/static/share/twittericon.png" class="share" onclick="Share.twitter(this)">
-<img src="/static/share/delishicon.png" class="share" onclick="Share.delicious(this)">
+$if(dump.favorited)$
+ <img src="/static/thumbup.colored.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+$else$
+ <img src="/static/thumbup.gif" class="thumb" onclick="Tag.favorite(this)">
+$endif$
+ <span class="other-sites">
+ <img src="/static/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
+ <img src="/static/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
+ <img src="/static/share/twittericon.png" class="share" onclick="Share.twitter(this)">
+ <img src="/static/share/delishicon.png" class="share" onclick="Share.delicious(this)">
+ </span>
</div> \ No newline at end of file