Changeset 16352 in spip-zone


Ignore:
Timestamp:
Oct 26, 2007, 10:30:55 AM (13 years ago)
Author:
cedric@…
Message:

"cosmetique des erreurs"

Location:
_plugins_/_test_/recommander
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/recommander/action/fragment_recommander.php

    r16351 r16352  
    1212function verifier_email_ou_erreur($email) {
    1313        if (!$email = trim($email))
    14                 return _T('form_prop_indiquer_email');
     14                return _T('form_prop_indiquer_email').'<br />';
    1515        if (!email_valide($email))
    1616                return _T('pass_erreur_non_valide',
     
    1818                                'email_oubli' => htmlspecialchars($email)
    1919                                )
    20                         );
     20                        ).'<br />';
    2121}
    2222
  • _plugins_/_test_/recommander/recommander/formulaire.html

    r16351 r16352  
    1 [<div class='erreur'>(#ENV{erreur,''})</div>]
     1[<div class='erreur'>(#ENV*{erreur,''})</div>]
    22<form method='post' action='#ENV{self}'>
    33[(#ENV{url}|form_hidden)]
Note: See TracChangeset for help on using the changeset viewer.