+ // get settings from environment, otherwise set to defaults
+ // when to start, in hours in the future from now
+ $resa_offset=$_GET['resa_offset'];
+ if ( ! $resa_offset ) $resa_offset=0;
+ // how many timeslots to show
+ $resa_slots=$_GET['resa_slots'];
+ if ( ! $resa_slots ) $resa_slots = 36;
+ // the width in pixel for each timeslot
+ $resa_x_grain = $_GET['resa_x_grain'];
+ if ( ! $resa_x_grain) $resa_x_grain=20;
+