source: extensions/SocialButtons/template/facebook.tpl @ 20374

Last change on this file since 20374 was 20374, checked in by mistic100, 11 years ago

add pinterest, option to hide counter on facebook button

File size: 782 bytes
Line 
1{strip}
2{footer_script}jQuery('body').prepend('<div id="fb-root"></div>');{/footer_script}
3{combine_script id='facebook_jssdk' load='async' path='https://connect.facebook.net/'|cat:$SOCIALBUTT.FACEBOOK.lang|cat:'/all.js#xfbml=1'}
4
5{if $SOCIALBUTT.FACEBOOK.layout=='none'}
6{html_style}{literal}
7.fb-like span { height: 22px !important; overflow: hidden; margin-right:10px; }
8.fb-like iframe { top: -41px; }
9{/literal}{/html_style}
10{assign var=facebook_layout value='box_count'}
11{else}
12{assign var=facebook_layout value=$SOCIALBUTT.FACEBOOK.layout}
13{/if}
14
15<div style="display:inline-block;" class="fb-like" data-send="false" data-show-faces="false"
16  data-href="{$SOCIALBUTT.share_url}" data-layout="{$facebook_layout}" data-colorscheme="{$SOCIALBUTT.FACEBOOK.color}"></div>
17{/strip}
Note: See TracBrowser for help on using the repository browser.