Get rid of the "define custom timezone" button.

This commit is contained in:
defacer 2005-03-23 00:35:57 +00:00
parent b539242ab5
commit e2d282235f
2 changed files with 2 additions and 8 deletions

View File

@ -78,8 +78,7 @@
<td>
<div><?php print_string('helpmanagetimezones', 'admin'); ?></div>
<p>
<input type="submit" name="mode_timezones" value="<?php print_string('managetimezones', 'admin'); ?>..." />
<input type="submit" name="mode_dst_update" value="<?php print_string('updatetimezones', 'admin'); ?>..." />
<input type="submit" name="mode_timezone_update" value="<?php print_string('updatetimezones', 'admin'); ?>..." />
</p>
</td>
</tr>

View File

@ -29,15 +29,10 @@
/// If data submitted, process and store
if(($form = data_submitted()) && confirm_sesskey()) {
if(isset($form->mode_dst_update)) {
if(isset($form->mode_timezone_update)) {
redirect('dst_update.php');
die();
}
if(isset($form->mode_timezones)) {
// Move to DST presets configuration
redirect('timezones.php');
die();
}
// Normal configuration, just save the variables
if(isset($form->adminseesallcourses)) {
set_config('calendar_adminseesall', intval($form->adminseesallcourses) != 0);