website diff index.php @ rev 910
i18n.php: Use include file and update POT file table
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 08 12:19:54 2012 +0100 (2012-03-08) |
parents | 6bdb0d107255 |
children | 5c1b226f73e7 |
line diff
1.1 --- a/index.php Thu Mar 08 02:41:51 2012 +0100 1.2 +++ b/index.php Thu Mar 08 12:19:54 2012 +0100 1.3 @@ -13,36 +13,12 @@ 1.4 <link rel="shortcut icon" href="favicon.ico" /> 1.5 <link rel="stylesheet" type="text/css" href="slitaz.css" /> 1.6 <link rel="alternate" type="application/rss+xml" title="SliTaz Website feed" href="en/rss.xml" /> 1.7 - <link rel="alternate" type="application/atom+xml" title="SliTaz Labs feed" href="http://labs.slitaz.org/news?format=atom" /> 1.8 + <link rel="alternate" type="application/atom+xml" title="SliTaz Forum feed" href="http://forum.slitaz.org/rss" /> 1.9 <link rel="alternate" type="application/rss+xml" title="SliTaz SCN feed" href="http://scn.slitaz.org/rss.xml" /> 1.10 - <script type="text/javascript"> 1.11 - /* <![CDATA[ */ 1.12 - (function() { 1.13 - var s = document.createElement('script'), t = document.getElementsByTagName('script')[0]; 1.14 - s.type = 'text/javascript'; 1.15 - s.async = true; 1.16 - s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto'; 1.17 - t.parentNode.insertBefore(s, t); 1.18 - })(); 1.19 - /* ]]> */ 1.20 - </script> 1.21 </head> 1.22 <body> 1.23 1.24 -<!-- Header --> 1.25 -<div id="header"> 1.26 - <div id="logo"></div> 1.27 - <div id="network"> 1.28 - <a href="./netmap.php"> 1.29 - <img src="images/network.png" alt="network.png" /></a> 1.30 - <a href="http://scn.slitaz.org/">Community</a> 1.31 - <a href="http://doc.slitaz.org/">Doc</a> 1.32 - <a href="http://forum.slitaz.org/">Forum</a> 1.33 - <a href="http://bugs.slitaz.org">Bugs</a> 1.34 - <a href="http://hg.slitaz.org/">Hg</a> 1.35 - </div> 1.36 - <h1><a href="http://www.slitaz.org/">SliTaz GNU/Linux</a></h1> 1.37 -</div> 1.38 +<?php include("lib/html/header.html"); ?> 1.39 1.40 <!-- Block --> 1.41 <div id="block"> 1.42 @@ -93,9 +69,6 @@ 1.43 </p> 1.44 </div> 1.45 1.46 -<!-- For the main index with slideshow we keep block_nav and block_top 1.47 - at min-height: 220px; --> 1.48 - 1.49 <!-- We just keep the last 4 web site news --> 1.50 <div class="news"> 1.51 1.52 @@ -116,9 +89,7 @@ 1.53 </div> 1.54 1.55 <h2>Project Activity</h2> 1.56 -<?php 1.57 - require_once("lib/get-feeds.php"); 1.58 -?> 1.59 +<?php require_once("lib/get-feeds.php"); ?> 1.60 1.61 <div class="activity"> 1.62 <p> 1.63 @@ -209,7 +180,7 @@ 1.64 <!-- Like Button --> 1.65 <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script> 1.66 <fb:like 1.67 - href="http://www.facebook.com/pages/SliTaz/125559834176383" 1.68 + href="http://www.facebook.com/slitaz" 1.69 show_faces="true" width="auto"> 1.70 </fb:like> 1.71 1.72 @@ -233,6 +204,17 @@ 1.73 alt="PayPal - The safer, easier way to pay online!" /> 1.74 </form> 1.75 <!-- Flattr Button --> 1.76 + <script type="text/javascript"> 1.77 + /* <![CDATA[ */ 1.78 + (function() { 1.79 + var s = document.createElement('script'), t = document.getElementsByTagName('script')[0]; 1.80 + s.type = 'text/javascript'; 1.81 + s.async = true; 1.82 + s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto'; 1.83 + t.parentNode.insertBefore(s, t); 1.84 + })(); 1.85 + /* ]]> */ 1.86 + </script> 1.87 <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" 1.88 href="http://www.slitaz.org/"></a> 1.89 </div> 1.90 @@ -252,25 +234,7 @@ 1.91 <!-- End of content --> 1.92 </div> 1.93 1.94 -<!-- Footer --> 1.95 -<div id="footer"> 1.96 - Copyright © <span class="year"></span> 1.97 - <a href="http://www.slitaz.org/">SliTaz</a> - Network: 1.98 - <a href="http://scn.slitaz.org/">Community</a> 1.99 - <a href="http://doc.slitaz.org/">Doc</a> 1.100 - <a href="http://forum.slitaz.org/">Forum</a> 1.101 - <a href="http://pkgs.slitaz.org/">Packages</a> 1.102 - <a href="http://bugs.slitaz.org">Bugs</a> 1.103 - <a href="http://hg.slitaz.org/">Hg</a> 1.104 - <p> 1.105 - SliTaz @ 1.106 - <a href="http://twitter.com/slitaz">Twitter</a> 1.107 - <a href="http://www.facebook.com/slitaz">Facebook</a> 1.108 - <a href="http://distrowatch.com/slitaz">Distrowatch</a> 1.109 - <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> 1.110 - <a href="http://flattr.com/profile/slitaz">Flattr</a> 1.111 - </p> 1.112 -</div> 1.113 +<?php include("lib/html/footer.html"); ?> 1.114 1.115 </body> 1.116 </html>