diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2011-02-22 01:21:00 -0500 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2011-02-22 01:21:00 -0500 |
| commit | ccd0ddba1df405b6560821903bfa820bf4c54d10 (patch) | |
| tree | 19d0e048613cb7227deaadcf682a047db06f049a /template/single_message_share_buttons.st | |
| parent | 663766fb5e0b53c465f5277ea561cca1399521ed (diff) | |
add updating fav counts
Diffstat (limited to 'template/single_message_share_buttons.st')
| -rw-r--r-- | template/single_message_share_buttons.st | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/template/single_message_share_buttons.st b/template/single_message_share_buttons.st new file mode 100644 index 0000000..313bcb1 --- /dev/null +++ b/template/single_message_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="$domain$/p/$dump.nick$/$dump.message_id$"><img src="$domain$/static/img/link.gif"></a> +$if(user_nick)$ + $if(dump.favorited)$ + <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.animated_fav(this, '.dump_score', '30px', '20px')"> + $else$ + <div style="position: relative"> + <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.animated_fav(this, '.dump_score', '30px', '20px')"> + </div> + $endif$ +$endif$ +$if(dump.favcount)$ + $dump.favcount$ +$endif$ +</span> |
