source: spip-zone/_plugins_/socialtags/noisettes/socialtags_fb_like.html @ 64170

Last change on this file since 64170 was 64170, checked in by yffic@…, 8 years ago

Manquait la saisie de l'url facebook dans la noisette "like". Bizarre

File size: 998 bytes
Line 
1#SET{href,#ENV{href}}
2#SET{width,#ENV{width,490}}
3#SET{bouton_action,#ENV{bouton_action,like}}
4#SET{show_faces,#ENV{show_faces,true}}
5#SET{layout,#ENV{layout,standard}}
6#SET{colorscheme,#ENV{colorscheme,light}}
7[(#SET{code,#LANG|concat{_}|concat{#LANG|strtoupper}})]
8
9<div id="fb-root"></div>
10<script type="application/javascript">/*<!#EVAL{chr(91)}CDATA#EVAL{chr(91)}*/
11(function(d, s, id) {
12  var js, fjs = d.getElementsByTagName(s)[0];
13  if (d.getElementById(id)) {return;}
14  js = d.createElement(s); js.id = id;
15  js.src = "//connect.facebook.net/#GET{code}/all.js#xfbml=1";
16  fjs.parentNode.insertBefore(js, fjs);
17}(document, 'script', 'facebook-jssdk'));
18/*#EVAL{chr(93)}[(#EVAL{chr(93)})]>*/</script>
19
20<div class="fb-like" data-href="#GET{href}" [(#ENV{afficher_send}|oui)data-send="true"] data-width="#GET{width}" data-show-faces="#GET{show_faces}" data-action="#GET{bouton_action}" data-font="arial" data-layout="#GET{layout}" data-colorscheme="#GET{colorscheme}"></div>
Note: See TracBrowser for help on using the repository browser.