Changeset 1738
- Timestamp:
- Nov 1, 2010, 7:33:24 PM (10 years ago)
- Location:
- cpc/trunk/project
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/alerte/templates/formSuccess.php
r1437 r1738 1 <?php if ($submit == 'Créer') : ?> 2 <h1>Création d'une alerte email</h2> 3 <?php $sf_response->setTitle('Création d\'une alerte email'); 4 else :?> 5 <h1>Modification d'une alerte email</h2> 6 <?php $sf_response->setTitle('Modification d\'une alerte email'); 7 endif; 8 ?> 9 <form method="POST"> 10 <table><?php 11 if ($form->getObject()->citoyen_id) { 12 echo "<tr><th>Email</th><td>".$form->getObject()->Citoyen->email."</td></tr>"; 13 } 14 if ($form->getObject()->no_human_query) { 15 echo "<tr><th>Alerte portant sur</th><td>".$form->getObject()->titre."</td></tr>"; 16 } 17 if ($f = $form->getObject()->filter) { 18 echo "<tr><th>Filtré sur</th><td>".preg_replace('/[\&,] ?/', ', ', preg_replace('/[^=\&\,]+=/i', '', strtolower(urldecode($f))))."</td></tr>"; 19 } 20 echo $form; 21 ?> 22 <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> 23 </table> 24 </form> 1 <?php if ($submit == 'Créer') 2 $titre = "Création d'une alerte email"; 3 else $titre = "Modification d'une alerte email"; 4 $sf_response->setTitle($titre); ?> 5 <div class="boite_form large_boite_form"> 6 <div class="b_f_h"><div class="b_f_hg"></div><div class="b_f_hd"></div></div> 7 <div class="b_f_cont"> 8 <div class="b_f_text"> 9 <form method="POST"> 10 <table> 11 <tr> 12 <th colspan="2"> 13 <h1><?php echo $titre; ?></h1> 14 </th> 15 </tr> 16 <?php if ($form->getObject()->citoyen_id) { ?> 17 <tr> 18 <th style="text-align:left;">Email</th> 19 <td> 20 <?php echo $form->getObject()->Citoyen->email; ?> 21 </td> 22 </tr> 23 <?php } 24 if ($form->getObject()->no_human_query) { ?> 25 <tr> 26 <th>Alerte portant sur</th> 27 <td> 28 <?php echo $form->getObject()->titre; ?> 29 </td> 30 </tr> 31 <?php } 32 if ($f = $form->getObject()->filter) { ?> 33 <tr> 34 <th>Filtré sur</th> 35 <td> 36 <?php if ($submit != 'Créer') echo link_to('Supprimer', 'alerte/delete?verif='.$form->getObject()->verif);?> 37 <?php echo preg_replace('/[\&,] ?/', ', ', preg_replace('/[^=\&\,]+=/i', '', strtolower(urldecode($f)))); ?> 38 </td> 39 </tr> 40 <?php } 41 echo $form; ?> 42 <tr> 43 <th></th> 44 <td><input type="submit" value="<?php echo $submit; ?>" tabindex="40" style="float:right;" /></td> 45 </tr> 46 </table> 47 </form> 48 <br/> 49 </div> 50 </div> 51 <div class="b_f_b"><div class="b_f_bg"></div><div class="b_f_bd"></div></div> 52 </div> -
cpc/trunk/project/apps/frontend/modules/citoyen/templates/newSuccess.php
r962 r1738 1 <div class="boite_form"> 1 <?php $sf_response->setTitle('Inscription sur NosDéputés.fr'); ?> 2 <div class="boite_form"> 2 3 <div class="b_f_h"><div class="b_f_hg"></div><div class="b_f_hd"></div></div> 3 4 <div class="b_f_cont"> -
cpc/trunk/project/apps/frontend/modules/citoyen/templates/resetmotdepasseSuccess.php
r962 r1738 1 <?php $sf_response->setTitle('Changement de mot de passe - NosDéputés.fr'); ?> 1 2 <?php 2 3 if (!isset($first)) … … 63 64 </tr> 64 65 <tr> 65 <th colspan="2" style="text-align:center; ">66 <th colspan="2" style="text-align:center;padding-left:40px;"> 66 67 <?php echo $form['code']->renderError(); ?> 67 68 <div class="captcha"> … … 76 77 <div class="entrer_code"> 77 78 Code de sécurité<br /> 78 <?php echo $form['code']->render(array('size' => 14, 'title' => 'Recopiez les caractères', 'tabindex' => '20')); ?>79 <?php echo $form['code']->render(array('size' => 8, 'title' => 'Recopiez les caractères', 'tabindex' => '20')); ?> 79 80 </div> 80 81 </div> … … 84 85 </tr> 85 86 <tr class="cel2"> 86 <td colspan="2" ><a href="<?php echo url_for('@homepage') ?>" tabindex="40" >Annuler</a> <input type="submit" value="Valider" tabindex="30" /></td>87 <td colspan="2" style="text-align:center;"><a href="<?php echo url_for('@homepage') ?>" tabindex="40" >Annuler</a> <input type="submit" value="Valider" tabindex="30" /></td> 87 88 </tr> 88 89 </table> -
cpc/trunk/project/apps/frontend/modules/citoyen/templates/signinSuccess.php
r962 r1738 1 <?php $sf_response->setTitle('Connexion sur NosDéputés.fr'); ?> 1 2 <div class="boite_form"> 2 3 <div class="b_f_h"><div class="b_f_hg"></div><div class="b_f_hd"></div></div> … … 33 34 <tr> 34 35 <th></th> 35 <td><input type="submit" value=" ok" tabindex="40" style="float:right;" /></td>36 <td><input type="submit" value="Valider" tabindex="40" style="float:right;" /></td> 36 37 </tr> 37 38 <tr> -
cpc/trunk/project/web/css/xneth/style.css
r1711 r1738 413 413 /* Formulaires inscription et connexion */ 414 414 .boite_form { 415 width: 550px;416 min-width: 550px;415 width: 600px; 416 min-width: 600px; 417 417 margin: auto; 418 418 margin-top: 35px; 419 419 margin-bottom: 35px; 420 420 background: #fff url('images/minilogo_nosdeputes_fond.png') no-repeat 95% 60px; 421 } 422 .large_boite_form { 423 width: 750px; 424 min-width: 750px; 421 425 } 422 426 .b_f_h {
Note: See TracChangeset
for help on using the changeset viewer.