mirror of
https://github.com/Piwigo/Piwigo-Social-Buttons.git
synced 2026-03-28 17:42:48 +01:00
typo in variable name
git-svn-id: http://piwigo.org/svn/extensions/SocialButtons@27274 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
&p[summary]={$CONTENT_DESCRIPTION|cat:$SOCIALBUTT.copyright|urlencode}"
|
||||
{/if}
|
||||
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=500');return false;" target="_blank" rel="nofollow">
|
||||
<img src="{$ROOT_PATH}{$SOCIALBUTT_PATH}template/images/facebook.png" alt="Facebook"></a>
|
||||
<img src="{$ROOT_URL}{$SOCIALBUTT_PATH}template/images/facebook.png" alt="Facebook"></a>
|
||||
{else}
|
||||
{footer_script require='jquery'}jQuery('body').prepend('<div id="fb-root"></div>');{/footer_script}
|
||||
{combine_script id='facebook_jssdk' load='footer' path='https://connect.facebook.net/'|cat:$SOCIALBUTT.FACEBOOK.lang|cat:'/all.js#xfbml=1'}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{if $SOCIALBUTT.light}
|
||||
<a title="Share on Google +" href="https://plus.google.com/share?url={$SOCIALBUTT.share_url|urlencode}&hl={$SOCIALBUTT.GOOGLE.lang}"
|
||||
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=390,width=480');return false;" target="_blank" rel="nofollow">
|
||||
<img src="{$ROOT_PATH}{$SOCIALBUTT_PATH}template/images/google_{$SOCIALBUTT.GOOGLE.size}.png" alt="Google+"></a>
|
||||
<img src="{$ROOT_URL}{$SOCIALBUTT_PATH}template/images/google_{$SOCIALBUTT.GOOGLE.size}.png" alt="Google+"></a>
|
||||
{else}
|
||||
{combine_script id='google_plusone' load='footer' path='https://apis.google.com/js/plusone.js'}
|
||||
<script type="text/javascript">window.___gcfg = {ldelim}lang: '{$SOCIALBUTT.GOOGLE.lang}'};</script>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{if $SOCIALBUTT.light}
|
||||
<a title="Share on LinkedIn" href="https://www.linkedin.com/shareArticle?url={$SOCIALBUTT.share_url|urlencode}&title={$PAGE_TITLE|cat:' | '|cat:$GALLERY_TITLE}"
|
||||
onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=390,width=480');return false;" target="_blank" rel="nofollow">
|
||||
<img src="{$ROOT_PATH}{$SOCIALBUTT_PATH}template/images/linkedin.png" alt="LinkedIn"></a>
|
||||
<img src="{$ROOT_URL}{$SOCIALBUTT_PATH}template/images/linkedin.png" alt="LinkedIn"></a>
|
||||
{else}
|
||||
{combine_script id='linkedin_share' load='footer' path='https://platform.linkedin.com/in.js'}
|
||||
<script type="text/javascript">lang: '{$SOCIALBUTT.LINKEDIN.lang}'</script>
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
data-size="{$SOCIALBUTT.TWITTER.size}" data-count="{$SOCIALBUTT.TWITTER.count}" class="twitter-share-button" rel="nofollow"
|
||||
{combine_script id='twitter_widgets' load='footer' path='https://platform.twitter.com/widgets.js'}
|
||||
{/if}
|
||||
><img src="{$ROOT_PATH}{$SOCIALBUTT_PATH}template/images/twitter_{$SOCIALBUTT.TWITTER.size}.png" alt="Twitter"></a>
|
||||
><img src="{$ROOT_URL}{$SOCIALBUTT_PATH}template/images/twitter_{$SOCIALBUTT.TWITTER.size}.png" alt="Twitter"></a>
|
||||
{/strip}
|
||||
Reference in New Issue
Block a user