diff -Naurw /home/mike/moodle-clean/moodle/blocks/mrbs/web/day.php /home/mike/moodle-dev/mrbs/web/day.php
--- /home/mike/moodle-clean/moodle/blocks/mrbs/web/day.php 2008-11-26 11:58:22.000000000 +0000
+++ /home/mike/moodle-dev/mrbs/web/day.php 2009-04-21 11:39:05.000000000 +0100
@@ -76,7 +76,7 @@
$pm7=mktime($eveningends,$eveningends_minutes,0,$month,$day,$year,is_dst($month,$day,$year,$eveningends));
if ( $pview != 1 ) {
- echo "
";
+ echo "";
#Show all avaliable areas
echo "".get_string('areas','block_mrbs')." ";
@@ -100,6 +100,16 @@
}
echo " | \n";
+ //insert the goto room form
+ echo"Find a room
+ | ";
+
#Draw the three month calendars
minicals($year, $month, $day, $area, '', 'day');
echo " ";
diff -Naurw /home/mike/moodle-clean/moodle/blocks/mrbs/web/gotoroom.php /home/mike/moodle-dev/mrbs/web/gotoroom.php
--- /home/mike/moodle-clean/moodle/blocks/mrbs/web/gotoroom.php 1970-01-01 01:00:00.000000000 +0100
+++ /home/mike/moodle-dev/mrbs/web/gotoroom.php 2009-04-21 11:23:11.000000000 +0100
@@ -0,0 +1,46 @@
+wwwroot/blocks/mrbs/web/day.php?area=$roomfound->area_id&day=$day&month=$month&year=$year'>You should shortly be redirected to $roomfound->area_name";}
+}else{
+ echo "Sorry, no rooms were found";
+}
+
+
+
+
+?>
\ No newline at end of file
|