Last change
on this file since 24823 was
24788,
checked in by mistic100, 11 years ago
|
improve facebook light link and clean code & conf
|
File size:
894 bytes
|
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.