website diff index.php @ rev 1033
main: code cleaning
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 04 11:17:21 2012 +0300 (2012-04-04) |
parents | 5bf6a1f55638 |
children | 48c326b5198d |
line diff
1.1 --- a/index.php Wed Apr 04 11:02:34 2012 +0300 1.2 +++ b/index.php Wed Apr 04 11:17:21 2012 +0300 1.3 @@ -2,8 +2,8 @@ 1.4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1.5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 1.6 <head> 1.7 + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 1.8 <title>SliTaz GNU/Linux</title> 1.9 - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 1.10 <meta name="description" content="SliTaz GNU/Linux LiveCD operating system" /> 1.11 <meta name="keywords" lang="en" content="slitaz, gnu, linux, opensource, livecd, live usb" /> 1.12 <meta name="author" content="Christophe Lincoln" /> 1.13 @@ -44,28 +44,15 @@ 1.14 </div> 1.15 </div> 1.16 1.17 -<!-- Languages --> 1.18 -<div id="lang"> 1.19 - <a href="i18n.php"><img src="images/locale.png" alt="Locale:" /></a> 1.20 - <a href="da/">Dansk</a> 1.21 - <a href="de/">Deutsch</a> 1.22 - <a href="en/">English</a> 1.23 - <a href="es/">Español</a> 1.24 - <a href="fr/">Français</a> 1.25 - <a href="id/">Indonesian</a> 1.26 - <a href="it/">Italiano</a> 1.27 - <a href="pt/">Português</a> 1.28 - <a href="ru/">Русский</a> 1.29 - <a href="cn/">中文</a> 1.30 -</div> 1.31 +<?php include "lib/lang.php" ?> 1.32 1.33 <!-- Content --> 1.34 <div id="content"> 1.35 1.36 <div class="box-up"> 1.37 <p> 1.38 - Help us get a dedicated server - Check out our 1.39 - <a href="http://www.gofundme.com/3ql70">online fundraising</a> 1.40 + Help us get a dedicated server — Check out our 1.41 + <a href="http://www.gofundme.com/3ql70">online fundraising</a>, 1.42 <a href="http://usbkey.slitaz.org/">USB Key Project</a> or 1.43 become an official <a href="/en/sponsor/">sponsor</a> 1.44 </p> 1.45 @@ -85,25 +72,26 @@ 1.46 1.47 <ul> 1.48 <li><strong><a href="en/#news">SliTaz 4.0 RC2 is out</a></strong> 1.49 - <span>- 03 Mar 2012</span></li> 1.50 + <span>— 03 Mar 2012</span></li> 1.51 <li><strong><a href="en/#20120223">SliTaz 4.0 RC1 is out</a></strong> 1.52 - <span>- 23 Feb 2012</span></li> 1.53 + <span>— 23 Feb 2012</span></li> 1.54 <li><strong><a href="en/#20110531">New and fresh Cooking 20110531</a></strong> 1.55 - <span>- 31 May 2011</span></li> 1.56 + <span>— 31 May 2011</span></li> 1.57 <li><strong><a href="en/#20110329">New Cooking 20110329</a></strong> 1.58 - <span>- 29 March 2011</span></li> 1.59 + <span>— 29 March 2011</span></li> 1.60 </ul> 1.61 1.62 <!-- End of news --> 1.63 </div> 1.64 1.65 <h2>Project Activity</h2> 1.66 + 1.67 <?php require_once("lib/get-feeds.php"); ?> 1.68 1.69 <div class="activity"> 1.70 <p> 1.71 <a href="http://scn.slitaz.org/activity/"><img 1.72 - src="images/users.png" alt="users.png" /></a> 1.73 + src="images/users.png" alt="*" /></a> 1.74 Community activity 1.75 <?php get_feed("scn.xml"); ?> 1.76 </div> 1.77 @@ -115,7 +103,7 @@ 1.78 <div class="activity"> 1.79 <p> 1.80 <a href="http://forum.slitaz.org/"><img 1.81 - src="/images/support.png" alt="[ Support ]" /></a> 1.82 + src="/images/support.png" alt="*" /></a> 1.83 Forum activity 1.84 <?php get_feed_forum("forum.xml"); ?> 1.85 </div> 1.86 @@ -127,7 +115,7 @@ 1.87 <div class="activity"> 1.88 <p> 1.89 <a href="http://hg.slitaz.org/"> 1.90 - <img src="images/development.png" alt="development.png" /></a> 1.91 + <img src="images/development.png" alt="*" /></a> 1.92 Latest commits in wok 1.93 <?php get_feed("wok.xml"); ?> 1.94 </div> 1.95 @@ -143,6 +131,7 @@ 1.96 </div> 1.97 1.98 <h2>Latest Tweet</h2> 1.99 + 1.100 <div id="twitter"> 1.101 <script src="http://widgets.twimg.com/j/2/widget.js"></script> 1.102 <script> 1.103 @@ -178,6 +167,7 @@ 1.104 </div> 1.105 1.106 <h2>Spread SliTaz</h2> 1.107 + 1.108 <p> 1.109 One way to help the project is to make SliTaz even more popular. 1.110 Blog, Tweet this page, share and talk about the project. SliTaz 1.111 @@ -189,19 +179,21 @@ 1.112 <?php include("lib/html/social.html"); ?> 1.113 1.114 <h2>Monetary support</h2> 1.115 + 1.116 <p> 1.117 SliTaz is made by volunteers and there is no company behind 1.118 - the project, but we desperately need some money to maintain the 1.119 - project infrastructure and services such as the main server and 1.120 - build host. You can help with a micropayment via Flattr or a 1.121 - Paypal donation to the SliTaz <a href="en/asso/">Association</a>, 1.122 - that way we can keep our freedom and autonomy without having any 1.123 - ads on our sites. 1.124 + the project, but we desperately need some money to maintain the 1.125 + project infrastructure and services such as the main server and 1.126 + build host. You can help with a micropayment via Flattr or a 1.127 + Paypal donation to the SliTaz <a href="en/asso/">Association</a>, 1.128 + that way we can keep our freedom and autonomy without having any 1.129 + ads on our sites. 1.130 </p> 1.131 1.132 <?php include("lib/html/donate.html"); ?> 1.133 1.134 <h2>Internationalization</h2> 1.135 + 1.136 <p> 1.137 The SliTaz web site is available in several languages and maintained by the 1.138 <a href="i18n.php">internationalization</a> team (i18n). Help is often 1.139 @@ -209,7 +201,7 @@ 1.140 translated into your language. 1.141 </p> 1.142 <p> 1.143 - <img src="images/users.png" alt="users.png" /> 1.144 + <img src="images/users.png" alt="*" /> 1.145 <a href="http://scn.slitaz.org/groups/i18n/">Join i18n group on SCN</a> 1.146 </p> 1.147