Just a new button in the calendar admin screen to link to point to dst_update.php

This commit is contained in:
defacer 2005-02-25 04:34:15 +00:00
parent d2fb3ce941
commit 0f269d53ac
3 changed files with 7 additions and 1 deletions

View File

@ -78,6 +78,8 @@
<td>
<div><?php print_string('helpmanagedstpresets', 'admin'); ?></div>
<p><input type="submit" name="mode_dst" value="<?php print_string('managedstpresets', 'admin'); ?>..." /></p>
<div><?php print_string('helpupdatedstpresets', 'admin'); ?></div>
<p><input type="submit" name="mode_dst_update" value="<?php print_string('updatedstpresets', 'admin'); ?>..." /></p>
</td>
</tr>
</tbody>

View File

@ -29,6 +29,10 @@
/// If data submitted, process and store
if(($form = data_submitted()) && confirm_sesskey()) {
if(isset($form->mode_dst_update)) {
redirect('dst_update.php');
die();
}
if(isset($form->mode_dst)) {
// Move to DST presets configuration
redirect('dst.php');