website diff cn/index.php @ rev 1010

cn: applied {header|nav|footer} patterns; lib: fix links (*.html to *.php)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 29 22:06:48 2012 +0300 (2012-03-29)
parents 7828848d9baa
children 7bb8568e1c75
line diff
     1.1 --- a/cn/index.php	Thu Mar 29 21:05:39 2012 +0300
     1.2 +++ b/cn/index.php	Thu Mar 29 22:06:48 2012 +0300
     1.3 @@ -6,56 +6,16 @@
     1.4  	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
     1.5  	<meta name="description" content="SliTaz GNU/Linux LiveCD" />
     1.6  	<meta name="keywords" lang="cn" content="System, free, gnu, linux, software opensource, livecd LINUX in RAM" />
     1.7 -	<meta name="robots" content="index, follow, all" />
     1.8 -	<meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
     1.9  	<meta name="author" content="Chen Yufei"/>
    1.10 -	<link rel="shortcut icon" href="../favicon.ico" />
    1.11 -	<link rel="stylesheet" type="text/css" href="../slitaz.css" />
    1.12 -	<link rel="alternate" type="application//rss.xml" title="SliTaz Website feed" href="/rss.xml" />
    1.13 -	<link rel="alternate" type="application/atom+xml" title="SliTaz Labs feed" href="http://labs.slitaz.org/news?format=atom" />
    1.14 -	<link rel="alternate" type="application//rss.xml" title="SliTaz SCN feed" href="http://scn.slitaz.org//rss.xml" />
    1.15 +	<?php include("../lib/html/meta-link.html"); ?>
    1.16  </head>
    1.17  <body>
    1.18  
    1.19 -<!-- Header -->
    1.20 -<div id="header">
    1.21 -	<div id="logo"></div>
    1.22 -	<div id="network">
    1.23 -		<a href="http://www.slitaz.org/netmap.php">
    1.24 -			<img src="../images/network.png" alt="network.png" /></a>
    1.25 -		<a href="http://scn.slitaz.org/">Community</a>
    1.26 -		<a href="http://doc.slitaz.org/">Doc</a>
    1.27 -		<a href="http://forum.slitaz.org/">Forum</a>
    1.28 -		<a href="http://bugs.slitaz.org">Bugs</a>
    1.29 -		<a href="http://hg.slitaz.org/">Hg</a>
    1.30 -	</div>
    1.31 -	<h1><a href="http://www.slitaz.org/">SliTaz GNU/Linux</a></h1>
    1.32 -</div>
    1.33 +<?php include("../lib/html/header.html"); ?>
    1.34  
    1.35  <!-- Block -->
    1.36  <div id="block">
    1.37 -	<!-- Navigation -->
    1.38 -	<div id="block_nav">
    1.39 -		<h4>导航</h4>
    1.40 -		<div class="right_box">
    1.41 -			<ul>
    1.42 -				<li><a href="../en/mailing-list.php">邮件列表 (en)</a></li>
    1.43 -				<li><a href="../en/devel/">开发 (en)</a></li>
    1.44 -				<li><a href="packages/">软件包</a></li>
    1.45 -				<li><a href="artwork/">美工</a></li>
    1.46 -				<li><a href="search.php">搜索</a></li>
    1.47 -			</ul>
    1.48 -		</div>
    1.49 -		<div class="left_box">
    1.50 -			<ul>
    1.51 -				<li><a href="./">头条</a></li>
    1.52 -				<li><a href="about/">关于</a></li>
    1.53 -				<li><a href="get/">下载</a></li>
    1.54 -				<li><a href="../en/asso/">捐赠 (en)</a></li>
    1.55 -				<li><a href="doc/">文档</a></li>
    1.56 -			</ul>
    1.57 -		</div>
    1.58 -	</div>
    1.59 +	<?php include("../lib/html/nav.cn.html"); ?>
    1.60  	<!-- Information/image -->
    1.61  	<div id="block_info">
    1.62  		<h4>主页</h4>