1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/modules/social_share/views/google.html.php
Jason Hardin 7aa5342ec7 Adding social share to git repository for version 2
Added facebook like with configuraiton options
Added configuration options to facebook share, google +1 and twitter
buttons.
2012-01-30 20:40:34 -08:00

14 lines
687 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div class="g-social_share-google">
<!-- Place this tag where you want the +1 button to render -->
<div class="g-plusone"" size="<?= module::get_var("social_share", "google_size") ?>" annotation="<?= module::get_var("social_share", "google_annotation") ?>"></div>
<!-- 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>