MDL-15942 - separate data escaped for database entry from unescaped data
[moodle-linuxchix.git] / calendar / event_delete.html
blob8d013ba942b1f04282b6fa0b54ca3ce033834bff
1 <table style="margin: auto;">
2 <tr>
3 <td>
4 <form method="get" action="event.php" id="delete">
5 <p>
6 &nbsp;
7 <input type="submit" value=" <?php print_string('delete') ?> " />
8 <input type="hidden" name="id" value="<?php echo $event->id?>" />
9 <input type="hidden" name="action" value="delete" />
10 <input type="hidden" name="m" value="<?php echo $m; ?>" />
11 <input type="hidden" name="d" value="<?php echo $d; ?>" />
12 <input type="hidden" name="y" value="<?php echo $y; ?>" />
13 <input type="hidden" name="confirm" value="1" />
14 <input type="hidden" name="repeats" value="0" />
15 <input type="hidden" name="course" value="<?php p($urlcourse); ?>" />
16 &nbsp;
17 </p>
18 </form>
19 </td>
20 <?php if($repeatcount > 1) { ?>
21 <td>
22 <form method="get" action="event.php" id="delete">
23 <p>
24 &nbsp;
25 <input type="submit" value=" <?php print_string('deleteall') ?> " />
26 <input type="hidden" name="id" value="<?php echo $event->id?>" />
27 <input type="hidden" name="action" value="delete" />
28 <input type="hidden" name="m" value="<?php echo $m; ?>" />
29 <input type="hidden" name="d" value="<?php echo $d; ?>" />
30 <input type="hidden" name="y" value="<?php echo $y; ?>" />
31 <input type="hidden" name="confirm" value="1" />
32 <input type="hidden" name="repeats" value="1" />
33 <input type="hidden" name="course" value="<?php p($urlcourse); ?>" />
34 &nbsp;
35 </p>
36 </form>
37 </td>
38 <?php } ?>
39 <td>
40 <form method="get" action="view.php" id="cancel">
41 <p>
42 &nbsp;
43 <input type="submit" value=" <?php print_string('cancel') ?> " />
44 <input type="hidden" name="view" value="day" />
45 <input type="hidden" name="cal_m" value="<?php echo $m; ?>" />
46 <input type="hidden" name="cal_d" value="<?php echo $d; ?>" />
47 <input type="hidden" name="cal_y" value="<?php echo $y; ?>" />
48 <input type="hidden" name="course" value="<?php p($urlcourse); ?>" />
49 &nbsp;
50 </p>
51 </form>
52 </td>
53 </tr>
54 </table>