Subversion Repositories Applications.papyrus

Rev

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

Rev 878 Rev 1016
Line 30... Line 30...
30
 
30
 
31
// Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
31
// Le fait que vous puissiez accéder à cet en-tête signifie que vous avez 
32
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
32
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
33
// termes.
33
// termes.
34
// ----
34
// ----
35
// CVS : $Id: admin_menu.php,v 1.24 2006-06-29 19:13:26 ddelon Exp $
35
// CVS : $Id: admin_menu.php,v 1.25 2006-10-06 10:40:51 florian Exp $
36
/**
36
/**
37
* Application gérant les menus de Papyrus
37
* Application gérant les menus de Papyrus
38
*
38
*
39
* Cette application permet de gérer les menus classiques, les menus communs 
39
* Cette application permet de gérer les menus classiques, les menus communs 
Line 44... Line 44...
44
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
44
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
45
//Autres auteurs :
45
//Autres auteurs :
46
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
46
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
47
*@author        Laurent COUDOUNEAU <lc@gsite.org>
47
*@author        Laurent COUDOUNEAU <lc@gsite.org>
48
*@copyright     Tela-Botanica 2000-2004
48
*@copyright     Tela-Botanica 2000-2004
49
*@version       $Revision: 1.24 $ $Date: 2006-06-29 19:13:26 $
49
*@version       $Revision: 1.25 $ $Date: 2006-10-06 10:40:51 $
50
// +------------------------------------------------------------------------------------------------------+
50
// +------------------------------------------------------------------------------------------------------+
51
*/
51
*/
Line 52... Line 52...
52
 
52
 
53
// +------------------------------------------------------------------------------------------------------+
53
// +------------------------------------------------------------------------------------------------------+
Line 450... Line 450...
450
        $sortie_xhtml .= ADME_afficherFormPrincipal($objet_pear_db, $objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_GET['adme_action']);
450
        $sortie_xhtml .= ADME_afficherFormPrincipal($objet_pear_db, $objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_GET['adme_action']);
451
        return $sortie_xhtml;
451
        return $sortie_xhtml;
452
        // Fin de l'authentification
452
        // Fin de l'authentification
453
    } else {
453
    } else {
454
        // Pas d'authentification nous affichons un message!
454
        // Pas d'authentification nous affichons un message!
-
 
455
        $res='';
-
 
456
    	$res .= '<p class="zone_alert">'.ADME_IDENTIFIEZ_VOUS.'</p>'."\n" ;
-
 
457
		$res .= '<form id="form_connexion" style="clear:both;" class="form_identification" action="' ;		
-
 
458
		$res .= $objet_pear_url->getURL();
-
 
459
		$res .= '" method="post">
-
 
460
                <fieldset>
455
        return GEN_afficherInfoIdentification($objet_pear_url);
461
                    <legend>Identifiez vous</legend>                    
-
 
462
                        <label for="username">Courriel : </label>
-
 
463
                        <input type="text"  id="username" name="username" maxlength="80" tabindex="1" value="courriel" />                    
-
 
464
                        <label for="password">Mot de passe : </label>
-
 
465
                        <input type="password" id="password" name="password" maxlength="80" tabindex="2" value="mot de passe" />                    
-
 
466
                        <input type="submit" id="connexion" name="connexion" tabindex="3" value="ok" />                    
-
 
467
                </fieldset>
-
 
468
                </form>';
-
 
469
        return $res ;    
456
    }
470
    }
457
}// Fin de la fonction afficherContenuCorps()
471
}// Fin de la fonction afficherContenuCorps()
Line 458... Line 472...
458
 
472
 
459
// +------------------------------------------------------------------------------------------------------+
473
// +------------------------------------------------------------------------------------------------------+
Line 463... Line 477...
463
 
477
 
464
 
478
 
465
/* +--Fin du code ----------------------------------------------------------------------------------------+
479
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
480
*
-
 
481
* $Log: not supported by cvs2svn $
-
 
482
* Revision 1.24  2006/06/29 19:13:26  ddelon
466
*
483
* Bug defaut traduction sur menu commun
467
* $Log: not supported by cvs2svn $
484
*
468
* Revision 1.23  2006/06/29 18:58:57  ddelon
485
* Revision 1.23  2006/06/29 18:58:57  ddelon
469
* Multilinguisme : menu par defaut pour les menu commun
486
* Multilinguisme : menu par defaut pour les menu commun
470
*
487
*