discourse-legacysite-perl/site/roadshow/include_share.php
2024-06-17 22:42:14 +10:00

27 lines
1.1 KiB
PHP

<? /**
<p>
<div style="height: 60px;" >
<a href="https://twitter.com/share" class="twitter-share-button" data-via="slowtwitch" data-size="default" data-count="vertical">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
&nbsp;&nbsp;
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
&nbsp;&nbsp;<div class="fb-like" data-href="<? echo(curPageURL()); ?>" data-send="false" data-layout="box_count" data-show-faces="false" data-font="verdana"></div>
</div>
</p>
**/
?>