Subversion Repositories Applications.papyrus

Compare Revisions

Regard whitespace Rev 1089 → Rev 1090

/trunk/papyrus/applettes/identification/identification.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: identification.php,v 1.25 2006-11-20 18:40:33 jp_milcent Exp $
// CVS : $Id: identification.php,v 1.26 2006-12-01 16:33:40 florian Exp $
/**
* Applette : identification
*
38,7 → 38,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.25 $ $Date: 2006-11-20 18:40:33 $
*@version $Revision: 1.26 $ $Date: 2006-12-01 16:33:40 $
// +------------------------------------------------------------------------------------------------------+
*/
 
45,16 → 45,16
// +------------------------------------------------------------------------------------------------------+
// | ENTÊTE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
$_GEN_commun['info_applette_nom_fonction'] = 'afficherFormIdentification';
$_GEN_commun['info_applette_balise'] = 'IDENTIFICATION';
$GLOBALS['_GEN_commun']['info_applette_nom_fonction'] = 'afficherFormIdentification';
$GLOBALS['_GEN_commun']['info_applette_balise'] = '<!-- '.$GLOBALS['_GEN_commun']['balise_prefixe'].'(IDENTIFICATION) -->';
 
/** Inclusion du fichier de configuration de cette applette.*/
require_once GEN_CHEMIN_APPLETTE.'identification/configuration/iden_config.inc.php';
require_once GEN_CHEMIN_APPLETTE.'identification'.GEN_SEP.'configuration'.GEN_SEP.'iden_config.inc.php';
 
// Inclusion des fichiers de traduction de l'applette.
if (file_exists(IDEN_CHEMIN_LANGUE.'iden_langue_'.$_GEN_commun['i18n'].'.inc.php')) {
if (file_exists(IDEN_CHEMIN_LANGUE.'iden_langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php')) {
/** Inclusion du fichier de traduction suite à la transaction avec le navigateur.*/
require_once IDEN_CHEMIN_LANGUE.'iden_langue_'.$_GEN_commun['i18n'].'.inc.php';
require_once IDEN_CHEMIN_LANGUE.'iden_langue_'.$GLOBALS['_GEN_commun']['i18n'].'.inc.php';
} else {
/** Inclusion du fichier de traduction par défaut.*/
require_once IDEN_CHEMIN_LANGUE.'iden_langue_'.IDEN_I18N_DEFAUT.'.inc.php';
99,14 → 99,14
* @param array tableau global de Papyrus.
* @return string formulaire de connexion ou de déconnexion.
*/
function afficherFormIdentification($tab_arguments, &$_GEN_commun)
function afficherFormIdentification($tab_arguments, $_GEN_commun)
{
// Initialisation de variable.
$retour = '';
$objet_pear_auth =& $GLOBALS['_GEN_commun']['pear_auth'];
$objet_pear_db =& $GLOBALS['_GEN_commun']['pear_db'];
$InfoAuthBdd =& $GLOBALS['_GEN_commun']['info_auth_bdd'];
$objet_url =& $GLOBALS['_GEN_commun']['url'];
$objet_pear_auth =& $_GEN_commun['pear_auth'];
$objet_pear_db =& $_GEN_commun['pear_db'];
$InfoAuthBdd =& $_GEN_commun['info_auth_bdd'];
$objet_url =& $_GEN_commun['url'];
$url = $objet_url->getURL();
// Récupération des valeurs pour le login et le mot de passe
216,6 → 216,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.25 2006/11/20 18:40:33 jp_milcent
* Amélioration de la gestion des infos sur l'inscription.
* Ajout du paramêtre url_inscription_aide permettant d'indiquer l'url vers une page d'aide sur l'inscription.
*
* Revision 1.24 2006/11/20 17:42:40 jp_milcent
* Ajout d'un test activant ou pas la mémorisation de l'identification.
*