/conf/sql.attrmap |
---|
File deleted |
/conf/user_edit.attrs |
---|
48,11 → 48,3 |
# extra.ldap-attrmap |
# |
#Regular-Profile User Regular Profile DN |
# |
# Ajout pour Alcasar |
ChilliSpot-Max-Input-Octets <a href="help/chillispot_max_input_octets_help.html" target=st_help onclick=window.open("help/chillispot_max_input_octets_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Max Input Octets Help Page"><font color="blue">Nombre d'octets max. en émission</font></a><BR>(en octets) |
ChilliSpot-Max-Output-Octets <a href="help/chillispot_max_output_octets_help.html" target=st_help onclick=window.open("help/chillispot_max_output_octets_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Max Output Octets Help Page"><font color="blue">Nombre d'octets max. en réception</font></a><BR>(en octets) |
ChilliSpot-Max-Total-Octets <a href="help/chillispot_max_total_octets_help.html" target=st_help onclick=window.open("help/chillispot_max_total_octets_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Max Total Octets Help Page"><font color="blue">Nombre d'octets max. total transmit</font></a><BR>(en octets) |
ChilliSpot-Bandwidth-Max-Up <a href="help/chillispot_bandwidth_max_up_help.html" target=st_help onclick=window.open("help/chillispot_bandwidth_max_up_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Bandwidth Max Up Help Page"><font color="blue">Bande passante montante max.</font></a><BR>(en kbits/seconde) |
ChilliSpot-Bandwidth-Max-Down <a href="help/chillispot_bandwidth_max_down_help.html" target=st_help onclick=window.open("help/chillispot_bandwidth_max_down_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Bandwidth Max Down Help Page"><font color="blue">Bande passante descendante max.</font></a><BR>(en kbits/seconde) |
WISPr-Redirection-URL <a href="help/wispr_redirection_url_help.html" target=st_help onclick=window.open("help/wispr_redirection_url_help.html","st_help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="ChilliSpot Bandwidth Max Down Help Page"><font color="blue">URL de redirection</font></a><BR> |
/gestion/manager/htdocs/help/chilliSpot_max_input_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/wispr_redirection_url_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_max_output_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_bandwidth_max_down_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_bandwidth_max_up_help.html |
---|
File deleted |
/gestion/manager/htdocs/help/chilliSpot_max_total_octets_help.html |
---|
File deleted |
/gestion/manager/htdocs/group_new.php |
---|
54,18 → 54,6 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<script language="javascript" type="text/javascript"> |
function formControl(){ |
var myregex = /[\S]+/gi; //un ou plusieurs caractères non blanc" (tous les caractères sauf espace, retour chariot, tabulation, saut de ligne, saut de page). |
if (myregex.test(document.newgroup.login.value)){ |
document.newgroup.create.value=1; |
return true; |
} else { |
alert("Nom du groupe invalide.");//non internationnalisé |
return false; |
} |
} |
</script> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
109,7 → 97,7 |
} |
} |
?> |
<form name="newgroup" method=post> |
<form method=post> |
<input type=hidden name=create value="0"> |
<input type=hidden name=show value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
184,24 → 172,6 |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
default : |
print <<<EOM |
<td> |
236,7 → 206,7 |
if ($create == 1) |
echo "<input type=submit class=button value=\"Afficher le groupe\" OnClick=\"this.form.show.value=1\">"; |
else |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"return formControl();\">"; |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"this.form.create.value=1\">"; |
?> |
<br><br> |
</form> |
/gestion/manager/htdocs/user_edit.php |
---|
222,44 → 222,26 |
switch ($key) |
{ |
case 'Simultaneous-Use' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Login-Time' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Expiration' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Session-Timeout' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'Max-Daily-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Weekly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
default : |
print <<<EOM |
<td> |
279,12 → 261,14 |
<option $selected[$op_nexst] value="!*">!* |
</select> |
</td> |
<td><input type=text name="$name1" value="$val" size=40></td> |
EOM; |
break; |
} |
} |
print <<<EOM |
<td> |
<input type=text name="$name1" value="$val" size=40> |
</td> |
</tr> |
EOM; |
} |
/gestion/manager/htdocs/user_new.php |
---|
61,19 → 61,9 |
{ |
pass+=chars.charAt(Math.round(Math.random() * (chars.length))) |
} |
document.newuser.passwd.value=pass |
document.newuser.pwdgene.value=pass |
document.form1.passwd.value=pass |
document.form1.pwdgene.value=pass |
} |
function formControl(){ |
var myregex = /[\S]+/gi; //un ou plusieurs caractères non blanc" (tous les caractères sauf espace, retour chariot, tabulation, saut de ligne, saut de page). |
if (myregex.test(document.newuser.login.value)){ |
document.newuser.create.value=1; |
return true; |
} else { |
alert("Votre identifiant est invalide.");//non internationnalisé |
return false; |
} |
} |
</script> |
</head> |
<body> |
123,7 → 113,7 |
} |
} |
?> |
<form name="newuser" method=post> |
<form name="form1" method=post> |
<input type=hidden name=create value="0"> |
<input type=hidden name=show value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
249,24 → 239,6 |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
default : |
print <<<EOM |
<td> |
301,8 → 273,7 |
if ($create == 1) |
echo "<input type=submit class=button value=\"Afficher le profil de l'utilisateur\" OnClick=\"this.form.show.value=1\">"; |
else{ |
//echo "<input type=submit class=button value=\"Créer\" OnClick=\"this.form.create.value=1\">";} |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"return formControl();\">";} |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"this.form.create.value=1\">";} |
?> |
</form> |
</td></tr> |
/CHANGELOG |
---|
1,8 → 1,5 |
# $Id$ |
************ CHANGELOG *********** |
12/05/10 - Ajout de la gestion des quotas sur les usagers et groupe d'usagers. |
- Interdiction de créer des usagers ou groupes avec un nom vide |
ou contenant des espaces |
10/05/10 - création RPM 32b et 64b d'havp. Adaptation des scripts. |
15/04/10 - intégration havp + clamav |
14/04/10 - remplacement de valeur DNS1 et DNS2 quand valeur= vide ; testé |