forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event_delete.html
52 lines (51 loc) · 1.83 KB
/
event_delete.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<table style="margin: auto;">
<tr>
<td>
<form method="get" action="event.php" name="delete">
<p>
<input type="submit" value=" <?php print_string('delete') ?> " />
<input type="hidden" name="id" value="<?php echo $event->id?>" />
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="m" value="<?php echo $m; ?>" />
<input type="hidden" name="d" value="<?php echo $d; ?>" />
<input type="hidden" name="y" value="<?php echo $y; ?>" />
<input type="hidden" name="confirm" value="1" />
<input type="hidden" name="repeats" value="0" />
</p>
</form>
</td>
<?php if($repeatcount > 1) { ?>
<td>
<form method="get" action="event.php" name="delete">
<p>
<input type="submit" value=" <?php print_string('deleteall') ?> " />
<input type="hidden" name="id" value="<?php echo $event->id?>" />
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="m" value="<?php echo $m; ?>" />
<input type="hidden" name="d" value="<?php echo $d; ?>" />
<input type="hidden" name="y" value="<?php echo $y; ?>" />
<input type="hidden" name="confirm" value="1" />
<input type="hidden" name="repeats" value="1" />
</p>
</form>
</td>
<?php } ?>
<td>
<form method="get" action="view.php" name="cancel">
<p>
<input type="submit" value=" <?php print_string('cancel') ?> ">
<input type="hidden" name="view" value="day" />
<input type="hidden" name="cal_m" value="<?php echo $m; ?>" />
<input type="hidden" name="cal_d" value="<?php echo $d; ?>" />
<input type="hidden" name="cal_y" value="<?php echo $y; ?>" />
</p>
</form>
</td>
</tr>
</table>