From: Thierry Parmentelat Date: Fri, 11 Feb 2011 10:35:05 +0000 (+0100) Subject: fix comment X-Git-Tag: plewww-4.3-60~9 X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=commitdiff_plain;h=f716e6f0494ca5ba057f8291b6491ce34aea1b83 fix comment --- diff --git a/planetlab/slices/slice.php b/planetlab/slices/slice.php index 1a61181..f4de029 100644 --- a/planetlab/slices/slice.php +++ b/planetlab/slices/slice.php @@ -613,10 +613,9 @@ EOF; $resa_offset=$_GET['resa_offset']; if ( ! $resa_offset ) $resa_offset=0; $rough_start=time()+$resa_offset*3600; - // xxx should be configurable + // show the next 36 grains $resa_slots=$_GET['resa_slots']; if ( ! $resa_slots ) $resa_slots = 36; - // for now, show the next 72 hours, or 72 grains, which ever is smaller $duration=$resa_slots*$grain; $steps=$duration/$grain; $start=intval($rough_start/$grain)*$grain;