source: cpc/trunk/project/apps/frontend/modules/alerte/templates/formSuccess.php @ 1436

Last change on this file since 1436 was 1436, checked in by teymour, 11 years ago

Des alertes sur les parlementaires et sur les commentaires

File size: 724 bytes
Line 
1<h1>Création d'une alerte email</h2>
2<form method="POST">
3<table><?php
4if ($form->getObject()->citoyen_id) {
5echo "<tr><th>Email</th><td>".$form->getObject()->Citoyen->email."</td></tr>";
6}
7if ($form->getObject()->no_human_query) {
8echo "<tr><th>Alerte portant sur</th><td>".$form->getObject()->titre."</td></tr>";
9}
10if ($f = $form->getObject()->filter) {
11echo "<tr><th>Filtré sur</th><td>".preg_replace('/[\&,] ?/', ', ', preg_replace('/[^=\&\,]+=/i', '', strtolower(urldecode($f))))."</td></tr>";
12}
13echo $form;
14?>
15<tr><th></th><td><input type="submit" value="<?php echo $submit; ?>"> <?php if ($submit != 'Créer') echo link_to('Supprimer', 'alerte/delete?verif='.$form->getObject()->verif);?></td></tr>
16</table>
17</form>
Note: See TracBrowser for help on using the repository browser.