website diff lib/html/social.html @ rev 1042
Update packages/index.php
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Apr 09 20:20:47 2012 +0100 (2012-04-09) |
parents | cd72b985d6fd |
children | 6781b6c989ba |
line diff
1.1 --- a/lib/html/social.html Sun Apr 08 02:46:12 2012 +0300 1.2 +++ b/lib/html/social.html Mon Apr 09 20:20:47 2012 +0100 1.3 @@ -2,27 +2,33 @@ 1.4 <div style="margin-bottom: 10px;"> 1.5 <!-- Follow --> 1.6 <script type="text/javascript"> 1.7 + /* <![CDATA[ */ 1.8 document.write('<a href="https://twitter.com/slitaz" class="twitter-follow-button" data-show-count="true" data-show-screen-name="false">Follow @slitaz</a>'); 1.9 !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); 1.10 + /* ]]> */ 1.11 </script> 1.12 <!-- Tweet --> 1.13 <script type="text/javascript"> 1.14 + /* <![CDATA[ */ 1.15 document.write('<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="slitaz">Tweet</a>'); 1.16 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0]; 1.17 s.type = 'text/javascript'; 1.18 s.async = true; 1.19 s.src = 'http://platform.twitter.com/widgets.js'; 1.20 s1.parentNode.insertBefore(s, s1); 1.21 + /* ]]> */ 1.22 </script> 1.23 </div> 1.24 1.25 1.26 <!-- Facebook Like Button --> 1.27 <script type="text/javascript"> 1.28 + /* <![CDATA[ */ 1.29 document.write('<fb:like href="http://www.facebook.com/slitaz" show_faces="true" width="auto"></fb:like>'); 1.30 var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0]; 1.31 s.type = 'text/javascript'; 1.32 s.async = true; 1.33 s.src = 'http://connect.facebook.net/en_US/all.js#xfbml=1'; 1.34 s1.parentNode.insertBefore(s, s1); 1.35 + /* ]]> */ 1.36 </script>