website rev 802

en/packages: use PHP and display latest commit in wok
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 30 18:06:42 2011 +0200 (2011-03-30)
parents 6ec45c2113e5
children b07db55df4e0
files en/packages/index.html en/packages/index.php
line diff
     1.1 --- a/en/packages/index.html	Wed Mar 30 17:45:07 2011 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,155 +0,0 @@
     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 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 -<head>
     1.8 -    <title>SliTaz - Packages</title>
     1.9 -    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    1.10 -    <meta name="description" content="SliTaz GNU/Linux LiveCD packages" />
    1.11 -    <meta name="keywords" lang="en" content="package, tazpkg" />
    1.12 -    <meta name="robots" content="index, follow, all" />
    1.13 -    <meta name="modified" content="2011-01-06 18:00:00" />
    1.14 -    <meta name="author" content="Christophe Lincoln, Paul Issot"/>
    1.15 -    <link rel="shortcut icon" href="../../favicon.ico" />
    1.16 -    <link rel="stylesheet" type="text/css" href="../../slitaz.css" />
    1.17 -</head>
    1.18 -<body>
    1.19 -
    1.20 -<!-- Header -->
    1.21 -<div id="header">
    1.22 -	<div id="logo"></div>
    1.23 -	<div id="network">
    1.24 -		<a href="http://www.slitaz.org/netmap.php">
    1.25 -			<img src="../../images/network.png" alt="network.png" /></a>
    1.26 -		<a href="http://scn.slitaz.org/">Community</a>
    1.27 -		<a href="http://doc.slitaz.org/">Doc</a>
    1.28 -		<a href="http://forum.slitaz.org/">Forum</a>
    1.29 -		<a href="http://labs.slitaz.org/issues">Bugs</a>
    1.30 -		<a href="http://hg.slitaz.org/">Hg</a>
    1.31 -	</div>
    1.32 -	<h1><a href="http://www.slitaz.org/">SliTaz GNU/Linux</a></h1>
    1.33 -</div>
    1.34 -
    1.35 -<!-- Block -->
    1.36 -<div id="block">
    1.37 -	<!-- Navigation -->
    1.38 -	<div id="block_nav">
    1.39 -		<h4>Navigation</h4>
    1.40 -		<div class="right_box">
    1.41 -			<ul>
    1.42 -				<li><a href="../mailing-list.html">Mailing List</a></li>
    1.43 -				<li><a href="../devel/">Development</a></li>
    1.44 -				<li><a href="../packages/">Packages</a></li>
    1.45 -				<li><a href="../artwork/">Artwork</a></li>
    1.46 -				<li><a href="../search.html">Search</a></li>
    1.47 -			</ul>
    1.48 -		</div>
    1.49 -		<div class="left_box">
    1.50 -			<ul>
    1.51 -				<li><a href="../">Headlines</a></li>
    1.52 -				<li><a href="../about/">About</a></li>
    1.53 -				<li><a href="../get/">Download</a></li>
    1.54 -				<li><a href="../asso/">Association</a></li>
    1.55 -				<li><a href="../doc/">Documentation</a></li>
    1.56 -			</ul>
    1.57 -		</div>
    1.58 -	</div>
    1.59 -	<!-- Information/image -->
    1.60 -	<div id="block_info">
    1.61 -		<h4>Packages</h4>
    1.62 -		<p>
    1.63 -			This part of the site allows you to view all of the software
    1.64 -			packages available on the SliTaz mirror. The pages are 
    1.65 -			automatically updated daily via a cron job. All packages are
    1.66 -			installable via the package manager Tazpkg using the GUI or
    1.67 -			the command <code>tazpkg get-install pkgname</code>.
    1.68 -		</p>
    1.69 -		<p>
    1.70 -			Browse the packages web interface: 
    1.71 -			<a href="http://pkgs.slitaz.org/stable/">Stable</a>
    1.72 -			| <a href="http://pkgs.slitaz.org/cooking/">Cooking</a>
    1.73 -		</p>
    1.74 -	</div>
    1.75 -</div>
    1.76 -
    1.77 -<!-- Content -->
    1.78 -<div id="content">
    1.79 -
    1.80 -<div style="text-align: center; margin-bottom: 40px;">
    1.81 -	<form method="post" action="http://pkgs.slitaz.org/search.cgi">
    1.82 -		<div class="searchbox">
    1.83 -			<p>
    1.84 -				<input type="hidden" name="lang" value="en" />
    1.85 -				<input type="text" name="query" size="24" style="width: 80%;" />
    1.86 -				<input type="submit" name="search" value="Search" />
    1.87 -			</p>
    1.88 -		</div>
    1.89 -		Search for:
    1.90 -		<select name="object">
    1.91 -			<option value="Package">Package</option>
    1.92 -			<option value="Desc">Description</option>
    1.93 -			<option value="Tags">Tags</option>
    1.94 -			<option value="Depends">Depends</option>
    1.95 -			<option value="BuildDepends">BuildDepends</option>
    1.96 -			<option value="File">File</option>
    1.97 -			<option value="File_list">File list</option>
    1.98 -			<option value="FileOverlap">common files</option>
    1.99 -		</select>
   1.100 -		in
   1.101 -		<select name="version">
   1.102 -			<option value="cooking">cooking</option>
   1.103 -			<option value="stable">stable</option>
   1.104 -			<option value="2.0">2.0</option>
   1.105 -			<option value="1.0">1.0</option>
   1.106 -		</select>
   1.107 -	</form>
   1.108 -</div>
   1.109 -
   1.110 -<div class="box">
   1.111 -	<img src="../../images/text.png" alt="text.png" />
   1.112 -	Raw packages.list:
   1.113 -	<a href="http://mirror.slitaz.org/packages/stable/packages.list"
   1.114 -		>Stable</a> |
   1.115 -	<a href="http://mirror.slitaz.org/packages/cooking/packages.list"
   1.116 -		>Cooking</a>
   1.117 -	<img src="../../images/network.png" alt="text.png" />
   1.118 -	Main mirror:
   1.119 -	<a href="http://mirror.slitaz.org/packages/"
   1.120 -		>http://mirror.slitaz.org/packages/</a>
   1.121 -</div>
   1.122 -
   1.123 -<h2>Documentation</h2>
   1.124 -<p>
   1.125 -	The SliTaz project provides detailed 
   1.126 -	<a href="http://doc.slitaz.org/">documentation</a>
   1.127 -	to let you learn how to install and manage packages on your SliTaz 
   1.128 -	GNU/Linux distribution. 
   1.129 -	The <a href="http://forum.slitaz.org/">support forum</a> members 
   1.130 -	will help you in case of trouble and is also the place to request 
   1.131 -	a new package.
   1.132 -</p>
   1.133 -
   1.134 -<!-- End of content -->
   1.135 -</div>
   1.136 -
   1.137 -<!-- Footer -->
   1.138 -<div id="footer">
   1.139 -	Copyright &copy; <span class="year"></span>
   1.140 -	<a href="http://www.slitaz.org/">SliTaz</a> - Network:
   1.141 -	<a href="http://scn.slitaz.org/">Community</a>
   1.142 -	<a href="http://doc.slitaz.org/">Doc</a>
   1.143 -	<a href="http://forum.slitaz.org/">Forum</a>
   1.144 -	<a href="http://pkgs.slitaz.org/">Packages</a>
   1.145 -	<a href="http://labs.slitaz.org/issues">Bugs</a>
   1.146 -	<a href="http://hg.slitaz.org/">Hg</a>
   1.147 -	<p>
   1.148 -		SliTaz @
   1.149 -		<a href="http://twitter.com/slitaz">Twitter</a>
   1.150 -		<a href="http://www.facebook.com/slitaz">Facebook</a>
   1.151 -		<a href="http://distrowatch.com/slitaz">Distrowatch</a>
   1.152 -		<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
   1.153 -		<a href="http://flattr.com/profile/slitaz">Flattr</a>
   1.154 -	</p>
   1.155 -</div>
   1.156 -
   1.157 -</body>
   1.158 -</html>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/en/packages/index.php	Wed Mar 30 18:06:42 2011 +0200
     2.3 @@ -0,0 +1,171 @@
     2.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     2.5 +    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     2.7 +<head>
     2.8 +    <title>SliTaz - Packages</title>
     2.9 +    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    2.10 +    <meta name="description" content="SliTaz GNU/Linux LiveCD packages" />
    2.11 +    <meta name="keywords" lang="en" content="package, tazpkg" />
    2.12 +    <meta name="robots" content="index, follow, all" />
    2.13 +    <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
    2.14 +    <meta name="author" content="Christophe Lincoln, Paul Issot"/>
    2.15 +    <link rel="shortcut icon" href="../../favicon.ico" />
    2.16 +    <link rel="stylesheet" type="text/css" href="../../slitaz.css" />
    2.17 +</head>
    2.18 +<body>
    2.19 +
    2.20 +<!-- Header -->
    2.21 +<div id="header">
    2.22 +	<div id="logo"></div>
    2.23 +	<div id="network">
    2.24 +		<a href="http://www.slitaz.org/netmap.php">
    2.25 +			<img src="../../images/network.png" alt="network.png" /></a>
    2.26 +		<a href="http://scn.slitaz.org/">Community</a>
    2.27 +		<a href="http://doc.slitaz.org/">Doc</a>
    2.28 +		<a href="http://forum.slitaz.org/">Forum</a>
    2.29 +		<a href="http://labs.slitaz.org/issues">Bugs</a>
    2.30 +		<a href="http://hg.slitaz.org/">Hg</a>
    2.31 +	</div>
    2.32 +	<h1><a href="http://www.slitaz.org/">SliTaz GNU/Linux</a></h1>
    2.33 +</div>
    2.34 +
    2.35 +<!-- Block -->
    2.36 +<div id="block">
    2.37 +	<!-- Navigation -->
    2.38 +	<div id="block_nav">
    2.39 +		<h4>Navigation</h4>
    2.40 +		<div class="right_box">
    2.41 +			<ul>
    2.42 +				<li><a href="../mailing-list.html">Mailing List</a></li>
    2.43 +				<li><a href="../devel/">Development</a></li>
    2.44 +				<li><a href="../packages/">Packages</a></li>
    2.45 +				<li><a href="../artwork/">Artwork</a></li>
    2.46 +				<li><a href="../search.html">Search</a></li>
    2.47 +			</ul>
    2.48 +		</div>
    2.49 +		<div class="left_box">
    2.50 +			<ul>
    2.51 +				<li><a href="../">Headlines</a></li>
    2.52 +				<li><a href="../about/">About</a></li>
    2.53 +				<li><a href="../get/">Download</a></li>
    2.54 +				<li><a href="../asso/">Association</a></li>
    2.55 +				<li><a href="../doc/">Documentation</a></li>
    2.56 +			</ul>
    2.57 +		</div>
    2.58 +	</div>
    2.59 +	<!-- Information/image -->
    2.60 +	<div id="block_info">
    2.61 +		<h4>Packages</h4>
    2.62 +		<p>
    2.63 +			This part of the site allows you to view all of the software
    2.64 +			packages available on the SliTaz mirror. The pages are 
    2.65 +			automatically updated daily via a cron job. All packages are
    2.66 +			installable via the package manager Tazpkg using the GUI or
    2.67 +			the command <code>tazpkg get-install pkgname</code>.
    2.68 +		</p>
    2.69 +		<p>
    2.70 +			Browse the packages web interface: 
    2.71 +			<a href="http://pkgs.slitaz.org/stable/">Stable</a>
    2.72 +			| <a href="http://pkgs.slitaz.org/cooking/">Cooking</a>
    2.73 +		</p>
    2.74 +	</div>
    2.75 +</div>
    2.76 +
    2.77 +<!-- Content -->
    2.78 +<div id="content">
    2.79 +
    2.80 +<div style="text-align: center; margin-bottom: 40px;">
    2.81 +	<form method="post" action="http://pkgs.slitaz.org/search.cgi">
    2.82 +		<div class="searchbox">
    2.83 +			<p>
    2.84 +				<input type="hidden" name="lang" value="en" />
    2.85 +				<input type="text" name="query" size="24" style="width: 80%;" />
    2.86 +				<input type="submit" name="search" value="Search" />
    2.87 +			</p>
    2.88 +		</div>
    2.89 +		Search for:
    2.90 +		<select name="object">
    2.91 +			<option value="Package">Package</option>
    2.92 +			<option value="Desc">Description</option>
    2.93 +			<option value="Tags">Tags</option>
    2.94 +			<option value="Depends">Depends</option>
    2.95 +			<option value="BuildDepends">BuildDepends</option>
    2.96 +			<option value="File">File</option>
    2.97 +			<option value="File_list">File list</option>
    2.98 +			<option value="FileOverlap">common files</option>
    2.99 +		</select>
   2.100 +		in
   2.101 +		<select name="version">
   2.102 +			<option value="cooking">cooking</option>
   2.103 +			<option value="stable">stable</option>
   2.104 +			<option value="2.0">2.0</option>
   2.105 +			<option value="1.0">1.0</option>
   2.106 +		</select>
   2.107 +	</form>
   2.108 +</div>
   2.109 +
   2.110 +<div class="box">
   2.111 +	<img src="../../images/text.png" alt="text.png" />
   2.112 +	Raw packages.list:
   2.113 +	<a href="http://mirror.slitaz.org/packages/stable/packages.list"
   2.114 +		>Stable</a> |
   2.115 +	<a href="http://mirror.slitaz.org/packages/cooking/packages.list"
   2.116 +		>Cooking</a>
   2.117 +	<img src="../../images/network.png" alt="text.png" />
   2.118 +	Main mirror:
   2.119 +	<a href="http://mirror.slitaz.org/packages/"
   2.120 +		>http://mirror.slitaz.org/packages/</a>
   2.121 +</div>
   2.122 +
   2.123 +<h2>Activity</h2>
   2.124 +
   2.125 +<?php require_once("../../libs/get-feed.php"); ?>
   2.126 +
   2.127 +<div class="activity">
   2.128 +	<p>
   2.129 +		<a href="http://hg.slitaz.org/">
   2.130 +			<img src="../../images/development.png" alt="development.png" /></a>
   2.131 +		Latest commits in wok
   2.132 +		<?php get_rss_feed("/var/cache/slitaz/website/wok.xml"); ?>
   2.133 +	</div>
   2.134 +	<p class="activity_more">
   2.135 +		<a href="http://hg.slitaz.org/">More commits</a>
   2.136 +	</p>
   2.137 +</div>
   2.138 +
   2.139 +<h2>Documentation</h2>
   2.140 +<p>
   2.141 +	The SliTaz project provides detailed 
   2.142 +	<a href="http://doc.slitaz.org/">documentation</a>
   2.143 +	to let you learn how to install and manage packages on your SliTaz 
   2.144 +	GNU/Linux distribution. 
   2.145 +	The <a href="http://forum.slitaz.org/">support forum</a> members 
   2.146 +	will help you in case of trouble and is also the place to request 
   2.147 +	a new package.
   2.148 +</p>
   2.149 +
   2.150 +<!-- End of content -->
   2.151 +</div>
   2.152 +
   2.153 +<!-- Footer -->
   2.154 +<div id="footer">
   2.155 +	Copyright &copy; <span class="year"></span>
   2.156 +	<a href="http://www.slitaz.org/">SliTaz</a> - Network:
   2.157 +	<a href="http://scn.slitaz.org/">Community</a>
   2.158 +	<a href="http://doc.slitaz.org/">Doc</a>
   2.159 +	<a href="http://forum.slitaz.org/">Forum</a>
   2.160 +	<a href="http://pkgs.slitaz.org/">Packages</a>
   2.161 +	<a href="http://labs.slitaz.org/issues">Bugs</a>
   2.162 +	<a href="http://hg.slitaz.org/">Hg</a>
   2.163 +	<p>
   2.164 +		SliTaz @
   2.165 +		<a href="http://twitter.com/slitaz">Twitter</a>
   2.166 +		<a href="http://www.facebook.com/slitaz">Facebook</a>
   2.167 +		<a href="http://distrowatch.com/slitaz">Distrowatch</a>
   2.168 +		<a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
   2.169 +		<a href="http://flattr.com/profile/slitaz">Flattr</a>
   2.170 +	</p>
   2.171 +</div>
   2.172 +
   2.173 +</body>
   2.174 +</html>