Subversion Repositories Sites.gentiana.org

Rev

Rev 43 | Rev 83 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 43 Rev 48
Line 47... Line 47...
47
 
47
 
48
function AUTH_formulaire_login() {
48
function AUTH_formulaire_login() {
Line 49... Line 49...
49
    $res = '';
49
    $res = '';
-
 
50
    
-
 
51
    $url = preg_replace ('/&/', '&', $GLOBALS['ann_url']->getURL()) ;
Line 50... Line 52...
50
    
52
 
51
    $url = preg_replace ('/&/', '&', $GLOBALS['ann_url']->getURL()) ;
53
    $res .= '<p>'.ANN_IDENTIFICATION_PRESENTATION_XHTML.'</p>'."\n" ;
52
    
54
    
53
    $form = new HTML_QuickForm ('inscription', 'post', $url) ;
55
    $form = new HTML_QuickForm ('inscription', 'post', $url) ;
54
    $form->addElement ('text', 'username', ANN_EMAIL) ;
56
    $form->addElement ('text', 'username', ANN_EMAIL) ;
Line 55... Line -...
55
    $form->addElement ('password', 'password', ANN_MOT_DE_PASSE) ;
-
 
56
    $form->addElement('submit', 'valider', ANN_VALIDER);
57
    $form->addElement ('password', 'password', ANN_MOT_DE_PASSE) ;
57
    $res .= $form->toHTML() ;
58
    $form->addElement('submit', 'valider', ANN_VALIDER);
Line 58... Line 59...
58
 
59
    $res .= $form->toHTML() ;
59
    $res .= '<p>'.ANN_TEXTE_PERDU.'</p>'."\n" ;
60