website diff cn/index.php @ rev 1020

lib/get-feeds: fix if we on main page; cn: clear code
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 31 17:52:18 2012 +0300 (2012-03-31)
parents 7bb8568e1c75
children 5bf6a1f55638
line diff
     1.1 --- a/cn/index.php	Fri Mar 30 03:53:36 2012 +0300
     1.2 +++ b/cn/index.php	Sat Mar 31 17:52:18 2012 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     1.5 -    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.7  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cn" lang="cn">
     1.8  <head>
     1.9 +	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    1.10  	<title>SliTaz GNU/Linux 中文网站</title>
    1.11 -	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    1.12  	<meta name="description" content="SliTaz GNU/Linux LiveCD" />
    1.13  	<meta name="keywords" lang="cn" content="System, free, gnu, linux, software opensource, livecd LINUX in RAM" />
    1.14  	<meta name="author" content="Chen Yufei"/>
    1.15 @@ -32,7 +32,7 @@
    1.16  <div id="content">
    1.17  	
    1.18  <div class="box">
    1.19 -	<img src="../images/update.png" style="float: left; margin-right: 10px; " />
    1.20 +	<img src="/images/update.png" style="float: left; margin-right: 10px; " />
    1.21  	<p>
    1.22  		SliTaz Chinese website needs a maintainer and contributors. You
    1.23  		can contact us on the
    1.24 @@ -50,7 +50,7 @@
    1.25  </p>
    1.26  
    1.27  <div class="box">
    1.28 -	<img src="../images/news.png" alt=".png" />	
    1.29 +	<img src="/images/news.png" alt="[ ]" />	
    1.30  	<a href="http://labs.slitaz.org/news">实验室新闻</a>
    1.31  	(<a href="http://labs.slitaz.org/news?format=atom">Feed</a>) | 
    1.32  	<a href="http://doc.slitaz.org/en:newsletter:start">每月时讯</a>
    1.33 @@ -102,7 +102,7 @@
    1.34  <div class="activity">
    1.35  	<p>
    1.36  		<a href="http://scn.slitaz.org/activity/"><img 
    1.37 -			src="/images/users.png" alt="users.png" /></a>
    1.38 +			src="/images/users.png" alt="[ ]" /></a>
    1.39  		Community activity
    1.40  		<?php get_feed("scn.xml"); ?>
    1.41  	</div>
    1.42 @@ -114,7 +114,7 @@
    1.43  <div class="activity">
    1.44  	<p>
    1.45  		<a href="http://forum.slitaz.org/"><img 
    1.46 -			src="/images/support.png" alt="[ Support ]" /></a>
    1.47 +			src="/images/support.png" alt="[ ]" /></a>
    1.48  		Forum activity
    1.49  		<?php get_feed_forum("forum.xml"); ?>
    1.50  	</div>
    1.51 @@ -126,7 +126,7 @@
    1.52  <div class="activity">
    1.53  	<p>
    1.54  		<a href="http://hg.slitaz.org/">
    1.55 -			<img src="/images/development.png" alt="development.png" /></a>
    1.56 +			<img src="/images/development.png" alt="[ ]" /></a>
    1.57  		Latest commits in wok
    1.58  		<?php get_feed("wok.xml"); ?>
    1.59  	</div>