X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7ff79318b09b10352e946822714b333b8e71555c..8f231f04b3a46aed69f3e992c27f8c64f7b2866c:/website/index.php.in diff --git a/website/index.php.in b/website/index.php.in index d8505e5c2c..8121af8934 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; } ?> @@ -118,21 +133,18 @@ echo $contents; } ?>