MDL-10550 Reverted some of Petr's changes, and added styling to the table.
[moodle-pu.git] / calendar / event_delete.html
blob0ba12324e26c6f15f305ee37bd5794d5050db1d0
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>