X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2bf78ef3304878995a537b02d90c8f598a5817f..fdd43f09c482715dc07d4479ca161c03046a14ed:/website/index.php.in diff --git a/website/index.php.in b/website/index.php.in index 25dfe2d20b..a008005bb6 100644 --- a/website/index.php.in +++ b/website/index.php.in @@ -26,8 +26,7 @@ $group_name="simgrid"; ', $contents); +$toPrint = ''; +// number of news : modify the loop max. +for($i=0;$i<5;$i++) +{ +$toPrint .= $newslines[$i]; +$toPrint .= ''; +} +// adding the news archive stuff and the finishing tags that are somewhere before : +$toPrint .= $newslines[sizeof($newslines) - 2]; +$toPrint .= ''; +$toPrint .= $newslines[sizeof($newslines) - 1]; +$toPrint .= ''; +echo $toPrint; } ?> @@ -118,21 +133,18 @@ echo $contents; } ?>