Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 911 → Rev 925

/web/acc/manager/htdocs/user_new.php
47,10 → 47,10
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
<tr><td valign="middle" align="left">
<center>
<table border=0 width=550 cellpadding=1 cellspacing=1>
<table border=0 width=620 cellpadding=1 cellspacing=1>
<tr valign=top>
<td width=340></td>
<td bgcolor="black" width=200>
<td width=400></td>
<td bgcolor="black">
<table border=0 width=100% cellpadding=2 cellspacing=0>
<tr bgcolor="#907030" align=right valign=top><th>
<font color="white"><? echo "$l_user_create"; ?></font>
107,16 → 107,9
/*Formatage de la date afin d'être lisible dans toute les langues 'jj mm yyyy'*/
if ($Expiration!=''){ $Expiration=date("d - m - Y",strtotime($Expiration));}
else { $Expiration=$v_without;}
//Appel du ticket d'impression , passage en paramètres des étiquettes et des valeurs à afficher
//Appel du ticket d'impression , passage en paramètres des valeurs à afficher
echo' <form name="impression" method="post" action="ticket_user.php" target=_blank>
<input type="hidden" name="l_title_imp" value="'.$l_title_imp.'">
<input type="hidden" name="l_login_imp" value="'.$l_login_imp.'">
<input type="hidden" name="l_password_imp" value="'.$l_password_imp.'">
<input type="hidden" name="l_max_all_session_imp" value="'.$l_max_all_session_imp.'">
<input type="hidden" name="l_session_timeout_imp" value="'.$l_session_timeout_imp.'">
<input type="hidden" name="l_max_daily_session_imp" value="'.$l_max_daily_session_imp.'">
<input type="hidden" name="l_max_monthly_session_imp" value="'.$l_max_monthly_session_imp.'">
<input type="hidden" name="l_expiration_imp" value="'.$l_expiration_imp.'">
<input type="hidden" name="langue_imp" value="'.$langue_imp.'">
<input type="hidden" name="log_imp" value="'.$login.'">
<input type="hidden" name="passwd_imp" value="'.$passwd_imp.'">
<input type="hidden" name="sto_imp" value="'.$sto_imp.'">
144,7 → 137,7
<td class="etiquette" colspan=$colspan>
$l_login
</td><td>
<input type=text name="login" value="$login" size=35>
<input type=text name="login" value="$login" size=20>
</td>
</tr>
<tr>
151,9 → 144,9
<td class="etiquette" colspan=$colspan>
$l_password
</td><td>
<input type=password name="passwd" size=35>
<br /><input type="button" value="$l_passwd_gen" onclick="password(8,'newuser')">
<input type="text" value="" name="pwdgene" size=20 readonly>
<input type=password name="passwd" size=20>
<br><input type="button" value="$l_passwd_gen" onclick="password(8,'newuser')">
<input type="text" value="" name="pwdgene" size=10 readonly>
</td>
</tr>
EOM;
184,7 → 177,7
<td class="etiquette" colspan=$colspan>
$l_name
</td><td>
<input type=text name="Fcn" value="$cn" size=35>
<input type=text name="Fcn" value="$cn" size=20>
</td>
</tr>
<tr>
191,7 → 184,7
<td class="etiquette" colspan=$colspan>
$l_email
</td><td>
<input type=text name="Fmail" value="$mail" size=35>
<input type=text name="Fmail" value="$mail" size=20>
</td>
</tr>
EOM;
340,7 → 333,7
case 'Max-Monthly-Session' :
case 'Max-All-Session' :
/*valeur d'origine de durée limite */
echo"<input type=text name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=28>";
echo"<input type=text name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=10>";
/* Choix d'unité*/
echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newuser')\">
<option value=\"s\" selected>s</option>
352,15 → 345,15
/*Pré-remplissage avec la date du lendemain*/
//$val=date("d F Y",strtotime("+1 day"));// utilisée pour le voucher uniquement
/*Ajout du calendrier pour choisir la date*/
echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=35>";
echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=20>";
break;
default :
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
break;
}
}else{
/*Pas de gestion de remplissage lors de la visualisation*/
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
/*fin Ajout*/
}
371,7 → 364,7
<td class="etiquette" colspan=$colspan>
$l_lang_ticket
</td>
<td width=35>
<td width=20>
EOM;
/*Choix de la langue du ticket d'impression*/
echo" <select name=\"$langue_imp\" onchange=\"lang_imp(this,'newuser')\">
381,6 → 374,7
<option value=\"de\" >Deutsch</option>
<option value=\"es\" >Espa&ntilde;ol</option>
<option value=\"it\" >Italiano</option>
<option value=\"pt\" >Portugês</option>
</select></td></tr>";
}
echo "</table><BR>";