X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2d6e5d5e0f3fd9f5c22145c6b3b6ca79aec6d1ff..1018875e116da1b1b4748df46dfde3035e6e91ab:/website/index.php.in diff --git a/website/index.php.in b/website/index.php.in index c5b19fa709..a008005bb6 100644 --- a/website/index.php.in +++ b/website/index.php.in @@ -26,9 +26,8 @@ $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; } ?> @@ -117,21 +133,18 @@ echo $contents; } ?>