website rev 732

Add SCN feed to main page ans a Spread SliTaz section with FB Like Button
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 14 05:46:33 2011 +0100 (2011-01-14)
parents 33918c34b330
children c5279d3541a5
files index.php pics/website/feed.png pics/website/tazpkg.png pics/website/twitter.png scripts/get-latest.sh slitaz.css
line diff
     1.1 --- a/index.php	Fri Jan 14 04:49:24 2011 +0100
     1.2 +++ b/index.php	Fri Jan 14 05:46:33 2011 +0100
     1.3 @@ -23,6 +23,10 @@
     1.4  </head>
     1.5  <body>
     1.6  
     1.7 +<?php
     1.8 +	require_once("scripts/get_feed.php");
     1.9 +?>
    1.10 +
    1.11  <!-- Header -->
    1.12  <div id="header">
    1.13  	<!-- Logo -->
    1.14 @@ -51,6 +55,7 @@
    1.15  				<li><a href="cn/" title="Chinese">
    1.16  				<img src="pics/website/cn.png" alt="cn"
    1.17  					style="vertical-align: middle;" /></a></li>
    1.18 +				<!-- <li><a href="i18n.html">I18n info</a></li> -->
    1.19  			</ul>
    1.20  		</div>
    1.21  		<ul>
    1.22 @@ -81,17 +86,19 @@
    1.23  <!-- Block end -->
    1.24  </div>
    1.25  
    1.26 -<h2>About SliTaz</h2>
    1.27 +<h2><img src="pics/website/certification.png" alt=".png" />About SliTaz</h2>
    1.28 +
    1.29  <p>
    1.30  SliTaz is an open source and free operating system providing a fully featured
    1.31  desktop or server in less than 30 MB. SliTaz is simple to use, fast and stable.
    1.32 -We have an active community and <a href="netmap.php">network</a> to provide 
    1.33 -help and get involved.
    1.34 +We have an active community and contributors from from all over the world making
    1.35 +SliTaz better every day.
    1.36  </p>
    1.37  
    1.38  <!-- We just keep the last 4 web site news -->
    1.39  <div id="news">
    1.40 -<h2>Latest news</h2>
    1.41 +
    1.42 +<h2><img src="pics/website/news.png" alt=".png" />Latest news</h2>
    1.43  
    1.44  <ul>
    1.45  	<li><strong><a href="en/#news">4 November 2010 - New Cooking 20101104</a></strong></li>
    1.46 @@ -102,7 +109,6 @@
    1.47  </ul>
    1.48  
    1.49  <div class="infobox">
    1.50 -	<img src="pics/website/news.png" alt="news" />
    1.51  	Read the latest news in your language:
    1.52  	<strong><a href="de/index.html#news">de</a></strong> |
    1.53  	<strong><a href="en/index.html#news">en</a></strong> |
    1.54 @@ -116,7 +122,7 @@
    1.55  		title="Chinese" alt="cn" /></a>
    1.56  </div>
    1.57  
    1.58 -<h2>Latest Tweet</h2>
    1.59 +<h2><img src="pics/website/twitter.png" alt=".png" />Latest Tweet</h2>
    1.60  <div id="twitter">
    1.61  	<script src="http://widgets.twimg.com/j/2/widget.js"></script>
    1.62  	<script>
    1.63 @@ -157,10 +163,37 @@
    1.64  include("/var/cache/slitaz/website/latest.html");
    1.65  ?>
    1.66  
    1.67 +<h2><img src="pics/website/feed.png" alt=".png" />Community Network Feed</h2>
    1.68 +
    1.69 +<div class="feedbox">
    1.70 +	<div>
    1.71 +		<?php get_feed("http://scn.slitaz.org/rss.xml"); ?>
    1.72 +	</div>
    1.73 +	<p>
    1.74 +		Want to get involve ? <a href="http://scn.slitaz.org/user/register">Join us!</a>
    1.75 +	</p>
    1.76 +</div>
    1.77 +
    1.78  <!-- End of news -->
    1.79  </div>
    1.80  
    1.81 -<h2>Internationalization</h2>
    1.82 +<h2><img src="pics/website/users.png" alt=".png" />Spread SliTaz</h2>
    1.83 +<p>
    1.84 +	One way to help the project is to make SliTaz even more popular.
    1.85 +	Blog, Tweet, share and talk around you about the project. SliTaz
    1.86 +	is also social, you can join us, share artwork or blog post on the 
    1.87 +	<a href="http://scn.slitaz.org/">SliTaz Community Network</a>,
    1.88 +	"Like" the official SliTaz Facebook page and get involved!
    1.89 +</p>
    1.90 +
    1.91 +<!-- Like Button -->
    1.92 +<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    1.93 +<fb:like 
    1.94 +	href="http://www.facebook.com/pages/SliTaz/125559834176383"
    1.95 +	show_faces="true" width="400">
    1.96 +</fb:like>
    1.97 +		
    1.98 +<h2><img src="pics/website/locale.png" alt=".png" />Internationalization</h2>
    1.99  
   1.100  <p>
   1.101  The SliTaz web site is available in several languages and maintained by the
     2.1 Binary file pics/website/feed.png has changed
     3.1 Binary file pics/website/tazpkg.png has changed
     4.1 Binary file pics/website/twitter.png has changed
     5.1 --- a/scripts/get-latest.sh	Fri Jan 14 04:49:24 2011 +0100
     5.2 +++ b/scripts/get-latest.sh	Fri Jan 14 05:46:33 2011 +0100
     5.3 @@ -13,7 +13,7 @@
     5.4  
     5.5  # Latest Hg commits
     5.6  echo -n "Getting latest commits... "
     5.7 -echo '<h2>Latest commits</h2>' > $OUTPUT
     5.8 +echo '<h2><img src="pics/website/development.png" alt=".png" />Latest commits</h2>' > $OUTPUT
     5.9  echo "<ul>" >> $OUTPUT
    5.10  hg log --repository $REPO --limit 5 --no-merges \
    5.11  	--template "	<li><strong>{date|shortdate}</strong> \
    5.12 @@ -23,7 +23,7 @@
    5.13  
    5.14  # Latest cooked packages by the build bot.
    5.15  echo -n "Getting latest cooked packages... "
    5.16 -echo '<h2>Latest cooked packages</h2>' >> $OUTPUT
    5.17 +echo '<h2><img src="pics/website/tazpkg.png" alt=".png" />Latest cooked packages</h2>' >> $OUTPUT
    5.18  echo "<ul>" >> $OUTPUT
    5.19  cd $PKGS && ls -1t *.tazpkg | head -5 | \
    5.20  while read file
     6.1 --- a/slitaz.css	Fri Jan 14 04:49:24 2011 +0100
     6.2 +++ b/slitaz.css	Fri Jan 14 05:46:33 2011 +0100
     6.3 @@ -458,7 +458,7 @@
     6.4  	background: transparent;
     6.5  }
     6.6  	
     6.7 -h3 img { 
     6.8 +h3 img, h2 img { 
     6.9  	vertical-align: middle;
    6.10  	width: 20px;
    6.11  	height: 20px;