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

18 lines
938 B
PHP

<div class="social-networks">
<a href="http://twitter.com/share" class="twitter-share-button" data-text="<? echo($pagetitle); ?>" data-count="vertical" data-via="slowtwitch">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<div class="fb-like" data-href="<? echo(curPageURL()); ?>" data-send="false" data-layout="button_count" data-show-faces="false" data-font="verdana" data-action="like" data-share="false"></div>
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></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>
</div>