Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 307 → Rev 308

/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.9 2005-03-15 14:17:46 jpm Exp $
// CVS : $Id: identification.php,v 1.10 2005-03-15 14:47:14 jpm Exp $
/**
* Applette : identification
*
38,7 → 38,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.9 $ $Date: 2005-03-15 14:17:46 $
*@version $Revision: 1.10 $ $Date: 2005-03-15 14:47:14 $
// +------------------------------------------------------------------------------------------------------+
*/
 
155,14 → 155,10
$retour .= str_repeat(' ', 16).'</fieldset>'."\n";
$retour .= str_repeat(' ', 16).'</form>';
} else {
// L'utilisateur est identifié. Nous affichons ses informations.
$retour = str_repeat(' ', 16).'<form id="form_deconnexion" class="form_identification" action="'.$url.'&amp;logout=1" method="post">'."\n";
$retour .= str_repeat(' ', 16).'<fieldset>'."\n";
$retour .= str_repeat(' ', 20).'<legend>'.'Identification'.'</legend>'."\n";
// L'utilisateur est identifié. Nous affichons ses informations.
// Affichage du prénom et nom d'une personne ou du nom de la structure en fonction des paramêtres
// de l'annuaire utilisé
$retour .= str_repeat(' ', 20).'<p><span id="identification_message">'.IDEN_LANG_MESSAGE.'</span> ';
$retour = str_repeat(' ', 16).'<p id="identification_info"><span id="identification_message">'.IDEN_LANG_MESSAGE.'</span> ';
if (isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom) && isset($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom)) {
$retour .= '<span id="identification_prenom">'.
$objet_pear_auth->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom).
178,11 → 174,9
$retour .= '</p>'."\n";
// Affichage du bouton de déconnexion
$retour .= str_repeat(' ', 20).'<p>'."\n";
$retour .= str_repeat(' ', 24).'<input type="submit" id="deconnexion" name="deconnexion" tabindex="1" value="'.'d&eacute;connexion'.'" />'."\n";
$retour .= str_repeat(' ', 20).'</p>'."\n";
$retour .= str_repeat(' ', 16).'</fieldset>'."\n";
$retour .= str_repeat(' ', 16).'</form>';
$retour .= str_repeat(' ', 16).'<p id="deconnexion">'."\n";
$retour .= str_repeat(' ', 20).'<a href="'.$url.'&amp;logout=1" />'.'Déconnexion'.'</a>'."\n";
$retour .= str_repeat(' ', 16).'</p>'."\n";
}
return $retour;
}
196,6 → 190,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.9 2005/03/15 14:17:46 jpm
* Ajout d'un fichier de config et de traduction.
* Début gestion des constantes de langue.
*
* Revision 1.8 2005/03/10 12:50:44 alex
* remplacement de & par &amp;
*