$strtimezone, 'link' => null, 'type' => 'misc')))); print_heading(""); if (data_submitted() and !empty($zone) and confirm_sesskey()) { echo "
"; $DB->execute("UPDATE {user} SET timezone = ?", array($zone)); echo "
"; $USER->timezone = $zone; $current = $zone; notify('Timezone of all users changed', 'notifysuccess'); } else { $current = 99; } require_once($CFG->dirroot.'/calendar/lib.php'); $timezones = get_list_of_timezones(); echo '
'; echo "$strusers ($strall): "; choose_from_menu ($timezones, "zone", $current, get_string("serverlocaltime"), "", "99"); echo "sesskey\" />"; echo ''; echo "
"; print_footer(); ?>