website diff index.php @ rev 922

en: Move more pages to PHP and add lib/html/social.html
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 11 22:54:13 2012 +0100 (2012-03-11)
parents 9dcaf58d0ca4
children 5e9460d3aa5c
line diff
     1.1 --- a/index.php	Sun Mar 11 22:00:28 2012 +0100
     1.2 +++ b/index.php	Sun Mar 11 22:54:13 2012 +0100
     1.3 @@ -168,23 +168,7 @@
     1.4  	"Like" the official SliTaz Facebook page and get involved!
     1.5  </p>
     1.6  
     1.7 -<!-- Twitter Buttons -->
     1.8 -<div style="margin-bottom: 10px;">
     1.9 -	<!-- Follow -->
    1.10 -	<a href="https://twitter.com/slitaz" class="twitter-follow-button" 
    1.11 -		data-show-count="true" data-show-screen-name="false">Follow @slitaz</a>
    1.12 -	<script>!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");</script>
    1.13 -	<!-- Tweet -->
    1.14 -	<a href="https://twitter.com/share" class="twitter-share-button" data-via="slitaz" data-hashtags="SliTaz">Tweet</a>
    1.15 -	<script>!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");</script>
    1.16 -</div>
    1.17 -
    1.18 -<!-- Like Button -->
    1.19 -<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    1.20 -<fb:like 
    1.21 -	href="http://www.facebook.com/slitaz"
    1.22 -	show_faces="true" width="auto">
    1.23 -</fb:like>
    1.24 +<?php include("lib/html/social.html"); ?>
    1.25  
    1.26  <h2>Monetary support</h2>
    1.27  <p>
    1.28 @@ -196,30 +180,8 @@
    1.29      that way we can keep our freedom and autonomy without having any
    1.30      ads on our sites.
    1.31  </p>
    1.32 -<div>
    1.33 -	<!-- PayPal Button -->
    1.34 -	<form action="https://www.paypal.com/cgi-bin/webscr" method="post"
    1.35 -		style="display: inline;">
    1.36 -		<input type="hidden" name="cmd" value="_s-xclick" />
    1.37 -		<input type="hidden" name="hosted_button_id" value="4885025" />
    1.38 -		<input type="image" src="images/paypal.png" name="submit" 
    1.39 -			alt="PayPal - The safer, easier way to pay online!" />
    1.40 -	</form>
    1.41 -	<!-- Flattr Button -->
    1.42 -	<script type="text/javascript">
    1.43 -	/* <![CDATA[ */
    1.44 -	    (function() {
    1.45 -	        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
    1.46 -	        s.type = 'text/javascript';
    1.47 -	        s.async = true;
    1.48 -	        s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
    1.49 -	        t.parentNode.insertBefore(s, t);
    1.50 -	    })();
    1.51 -	/* ]]> */
    1.52 -	</script>
    1.53 -	<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
    1.54 -		href="http://www.slitaz.org/"></a>
    1.55 -</div>
    1.56 +
    1.57 +<?php include("lib/html/donate.html"); ?>
    1.58  
    1.59  <h2>Internationalization</h2>
    1.60  <p>