0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: blog_post_actions.tpl
<div class="actions"> <a href='tiki-print_blog_post.php?postId={$post_info.postId}'>{icon _id='printer' alt="{tr}Print{/tr}"}</a> {if $prefs.feature_blog_sharethis eq "y"} {capture name=shared_title}{tr}Share This{/tr}{/capture} {capture name=shared_link_title}{tr}ShareThis via AIM, social bookmarking and networking sites, etc.{/tr}{/capture} {wiki}{literal}<script language="javascript" type="text/javascript"> //Create your sharelet with desired properties and set button element to false var object{/literal}{$postId}{literal} = SHARETHIS.addEntry({ title:'{/literal}{$smarty.capture.shared_title|replace:'\'':'\\\''}{literal}' }, {button:false}); //Output your customized button document.write('<span class="share" id="share{/literal}{$postId}{literal}"><a title="{/literal}{$smarty.capture.shared_link_title|replace:'\'':'\\\''}{literal}" href="javascript:void(0);"><img src="http://w.sharethis.com/images/share-icon-16x16.png?CXNID=1000014.0NXC" /></a></span>'); //Tie customized button to ShareThis button functionality. var element{/literal}{$postId}{literal} = document.getElementById("share{/literal}{$postId}{literal}"); object{/literal}{$postId}{literal}.attachButton(element{/literal}{$postId}{literal}); </script>{/literal}{/wiki} {/if} </div>