Permalink
Browse files

Added support for Web Action Hero Toolbelt

  • Loading branch information...
1 parent 66574a5 commit 6a24f1e7b4f408bda482d951d8f0df403c459900 @eschnou committed Mar 15, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 protected/application/public/views/scripts/timeline/item.phtml
@@ -40,10 +40,12 @@
<a class="comment" href='javascript:toggle_add_comment(<?= $this->item->getSource() ?>, <?= $this->item->getID() ?>);' class="item_add_comment" title="Add comment"><img src="images/28.png" /></a>
<?php endif ?>
- <!-- AddThis Button BEGIN -->
+ <!-- AddThis Button BEGIN -->
+ <action do="post" with="<?= $this->base()->thisUrl()?>/entry/<?= $this->item->getSlug() ?>'">
<a class="addthis" href="javascript:onAddthisClick('<?= $this->base()->thisUrl()?>/entry/<?= $this->item->getSlug() ?>', '<?= $this->escape(str_replace("'", "\"", $this->item->getTitle())); ?>');" title="Share and bookmark">
<img src="images/addthis.gif" width="16" height="16" border="0" alt="" class="addthis"/>
</a>
+ </action>
<!-- AddThis Button END -->
</div>
@@ -66,4 +68,4 @@
</div>
</div>
</div>
-</div>
+</div>

0 comments on commit 6a24f1e

Please sign in to comment.