/trunk/papyrus/applettes/identification/squelettes/identification.tpl.html |
---|
25,13 → 25,13 |
<fieldset> |
<legend><?=IDEN_LG_FORM_LEGEND;?></legend> |
<label for="username"><?=IDEN_LG_FORM_LABEL_COURRIEL;?></label> |
<input type="text" id="username<?=$id_xhtml;?>" name="username" maxlength="80" tabindex="1" value="<?=IDEN_LG_FORM_VALUE_COURRIEL;?>" /> |
<input type="text" id="username<?=$id_xhtml;?>" name="username" maxlength="80" tabindex="<?= (4*$compteur+1); ?>" value="<?=IDEN_LG_FORM_VALUE_COURRIEL;?>" /> |
<label for="password"><?=IDEN_LG_FORM_LABEL_MDP;?></label> |
<input type="password" id="password<?=$id_xhtml;?>" name="password" maxlength="80" tabindex="2" value="<?=IDEN_LG_FORM_VALUE_MDP;?>" /> |
<input type="password" id="password<?=$id_xhtml;?>" name="password" maxlength="80" tabindex="<?= (4*$compteur+2); ?>" value="<?=IDEN_LG_FORM_VALUE_MDP;?>" /> |
<input type="submit" id="connexion<?=$id_xhtml;?>" name="connexion" tabindex="4" value="<?=IDEN_LG_FORM_VALUE_SUBMIT;?>" /> |
<input type="submit" id="connexion<?=$id_xhtml;?>" name="connexion" tabindex="<?= (4*$compteur+4); ?>" value="<?=IDEN_LG_FORM_VALUE_SUBMIT;?>" /> |
<?php if (IDEN_AUTH_SESSION_DUREE != 0) : ?> |
<input type="checkbox" id="persistant<?=$id_xhtml;?>" name="persistant" tabindex="3" value="o" /> |
<input type="checkbox" id="persistant<?=$id_xhtml;?>" name="persistant" tabindex="<?= (4*$compteur+3); ?>" value="o" /> |
<label id="persistant_label<?=$id_xhtml;?>" for="persistant">Mémoriser mon compte</label> |
<?php endif ;?> |
<?php if ($url_page_inscription || $url_inscription_aide) : ?> |
/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.37 2008-04-18 14:19:09 jp_milcent Exp $ |
// CVS : $Id: identification.php,v 1.38 2008-05-22 15:05:54 alexandre_tb Exp $ |
/** |
* Applette : identification |
* |
38,7 → 38,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.37 $ $Date: 2008-04-18 14:19:09 $ |
*@version $Revision: 1.38 $ $Date: 2008-05-22 15:05:54 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
202,6 → 202,11 |
} |
if ($objet_pear_auth->getAuth()) { $loggue = true; } else { $loggue = false; } |
/** Compteur sert a compter le nombre de fois qu est appele l applet |
* et ce afin que les tabindex du formulaire soient correct |
*/ |
static $compteur = 0; |
ob_start(); |
include $options['template']; |
$retour = ob_get_contents(); |
208,6 → 213,8 |
// Arrete et detruit le buffer |
ob_end_clean(); |
$compteur++; |
return $retour; |
} |
220,6 → 227,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.37 2008-04-18 14:19:09 jp_milcent |
* Fusion avec la livraison AHA : 18 avril 2008 |
* |
* Revision 1.35.2.2 2008-04-18 14:14:55 jp_milcent |
* Gestion de plusieurs applettes identifications sur la même page html. |
* Correction de bogues. |