mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Just a new button in the calendar admin screen to link to point to dst_update.php
This commit is contained in:
parent
d2fb3ce941
commit
0f269d53ac
@ -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>
|
||||
|
@ -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');
|
||||
|
@ -169,4 +169,4 @@ function check_dst_preset($record) {
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user