From: defacer Date: Mon, 17 May 2004 08:54:23 +0000 (+0000) Subject: Random refinements. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b1295c5e21fb416f2d169c402b7d6f94cbc8e474;p=moodle.git Random refinements. --- diff --git a/calendar/event.php b/calendar/event.php index ef4deed844..62f2226da0 100644 --- a/calendar/event.php +++ b/calendar/event.php @@ -58,10 +58,6 @@ redirect($CFG->wwwroot.'/'.$CFG->admin.'/index.php'); } - $firstcolumn = false; // for now - $side = 175; - - calendar_session_vars(); $now = usergetdate(time()); $nav = calendar_get_link_tag(get_string('calendar', 'calendar'), CALENDAR_URL.'view.php?view=upcoming&', $now['mday'], $now['mon'], $now['year']); $day = intval($now['mday']); @@ -124,7 +120,7 @@ } else { foreach ($err as $key => $value) { - $focus = "form.$key"; + $focus = 'form.'.$key; } } } @@ -179,7 +175,7 @@ } else { foreach ($err as $key => $value) { - $focus = "form.$key"; + $focus = 'form'.$key; } } } @@ -202,7 +198,6 @@ print_header(get_string('calendar', 'calendar').': '.$title, $site->fullname, $nav.' -> '.$title, $focus, '', true, '', '

'.user_login_string($site).'

'); - /// Layout the whole page as three big columns. echo ''; echo ''; // START: Last column (3-month display) - echo ''; echo '
'; @@ -408,7 +403,7 @@ echo ''; + echo ''; // [pj] There is a whole class of problems with minimonths in event.php, which // was why there were no minimonths before... I fixed them as best I could for now. @@ -434,7 +429,7 @@ echo calendar_get_mini($courses, $groups, $users, $nextmon, $nextyr); echo '

'; print_side_block_end(); - print_spacer(1, $side); + print_spacer(1, 180); echo '
';