source: extensions/SocialButtons/template/google.tpl @ 24878

Revision 24878, 894 bytes checked in by mistic100, 6 years ago (diff)

r24871 useless since r24877

Line 
1{strip}
2{if $SOCIALBUTT.light}
3  <a title="Google +" href="https://plus.google.com/share?url={$SOCIALBUTT.share_url|urlencode}&hl={$SOCIALBUTT.GOOGLE.lang}" rel="nofollow"
4    onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=390,width=480');return false;" target="_blank">
5    <img src="{$ROOT_PATH}{$SOCIALBUTT_PATH}template/images/google_{$SOCIALBUTT.GOOGLE.size}.png" alt="Share on Google+"></a>
6{else}
7  {combine_script id='google_plusone' load='footer' path='https://apis.google.com/js/plusone.js'}
8  <script type="text/javascript">window.___gcfg = {ldelim}lang: '{$SOCIALBUTT.GOOGLE.lang}'};</script>
9  <div style="display:inline-block;" class="g-plusone" data-size="{$SOCIALBUTT.GOOGLE.size}" data-annotation="{$SOCIALBUTT.GOOGLE.annotation}" data-href="{$SOCIALBUTT.share_url}" data-recommendations="false"></div>
10{/if}
11{/strip}
Note: See TracBrowser for help on using the repository browser.