summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
authortim b <timb@camcompu.home>2010-04-03 20:36:43 -0700
committertim b <timb@camcompu.home>2010-04-03 20:36:43 -0700
commit1239bda75594f1338482f71054dbb6aa84538c86 (patch)
treec1497a1503ad46a1728559125e447d0581d4d04c /template/share_buttons.st
parentf3d1b68e3919345c67be06cbd7e7bb61f67ffcbd (diff)
committing stuff so i can merge pulled repo
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