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

19 lines
700 B
PHP
Raw Normal View History

<?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 -->
2012-02-22 03:38:39 +00:00
<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() {
2012-02-22 03:38:39 +00:00
var po = document.createElement('script');
po.type = 'text/javascript';
x2po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>