Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Regard whitespace Rev 185 → Rev 186

/gestion/alcasar-1.9-installation.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/gestion/intercept.php
10,7 → 10,7
# notice and this permission notice is included in all copies or
# substantial portions of the software.
 
$organisme = "rexy";
$organisme = "etrs-ssic";
# Redirects from CoovaChilli (chilli daemon) :
# Response to login:
# success : if login successful
25,7 → 25,7
# Default : it was not a form request
 
# Shared secret used to encrypt challenge with radius.
$uamsecret = "sfk5D8Yn";
$uamsecret = "UoDkYv7b";
 
# URL loaded after success authenticates (let blank for browser defaults)
$adminurl = "";
34,13 → 34,13
$loginpath = $_SERVER['PHP_SELF'];
 
# Choice of language
$Language = 'fr';
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'es'){
$R_ChilliError = "La autenticación debe ser un éxito a través del servicio de portal cautivo.";
$R_login = "El éxito de la autenticación. <BR> La conexión de red está funcionando. <br> Haga clic en Sí para cerrar la conexión a cerrar la sesión!";
$R_login = "El éxito de la autenticación.<HR>Cierre esta ventana interrumpte la sesion.";
$R_logout = "Conexión de cierre";
$R_loginfailed = "Error de autenticación";
$R_loggingin = "Identificación en el portal cautivo";
67,14 → 67,16
$R_reply_3 = "You try to connect outside of your allowed timespan";
$R_reply_4 = "your account expired";
$R_reply_5 = "You have reached the maximum number of simultaneous logins";
$R_ca_1 = "How integrate the ALCASAR C.A";
$R_ca_1 = "How integrate the ALCASAR";
$R_ca_2 = "certificate";
$R_ca_3 = "in your web browser?";
$R_ca_4 = "<help>";
$R_ca_4 = "-help-";
$R_online_time = "Tiempo en linea";
$R_remaining_time = "Tiempo restante";
}
else if($Language == 'de'){
$R_ChilliError = "Die Authentifizierung ist erfolgreich durch die Nutzung des Portals erfolgt.";
$R_login = "Erfolgreiche Authentifizierung. <BR> Die Verbindung zum Netzwerk erfolgt. <br> Klicken Sie auf 'Beenden der Verbindung, um Ihre Tagung!";
$R_login = "Erfolgreiche Authentifizierung.<HR>Schlißen dieses fensters unterbricht die sitzung";
$R_logout = "Beenden der Verbindung";
$R_loginfailed = "Authentifizierungsfehler Eigenverbrauch";
$R_loggingin = "Kennzeichnung auf dem Eigenverbrauch";
101,14 → 103,17
$R_reply_3 = "You try to connect outside of your allowed timespan";
$R_reply_4 = "your account expired";
$R_reply_5 = "You have reached the maximum number of simultaneous logins";
$R_ca_1 = "How integrate the ALCASAR C.A";
$R_ca_1 = "How integrate the ALCASAR";
$R_ca_2 = "certificate";
$R_ca_3 = "in your web browser?";
$R_ca_4 = "<help>";
$R_ca_4 = "-help-";
$R_online_time = "Online-zeit";
$R_remaining_time = "Restzeit";
 
}
else if($Language == 'nl'){
$R_ChilliError = "De authenticatie moet een succes worden via de captive portal dienst.";
$R_login = "Succesvolle authenticatie. <BR> De netwerkverbinding werkt. <br> Klikt u op de afsluiting van de verbinding af te sluiten uw sessie!";
$R_login = "Succesvolle authenticatie.<HR>Dit venster te sluiten onderbreekt uw sessie.";
$R_logout = "Slotkoers verbinding";
$R_loginfailed = "Authenticatie mislukt";
$R_loggingin = "Identificatie van de captive-portaal";
135,14 → 140,52
$R_reply_3 = "You try to connect outside of your allowed timespan";
$R_reply_4 = "your account expired";
$R_reply_5 = "You have reached the maximum number of simultaneous logins";
$R_ca_1 = "How integrate the ALCASAR C.A";
$R_ca_1 = "How integrate the ALCASAR";
$R_ca_2 = "certificate";
$R_ca_3 = "in your web browser?";
$R_ca_4 = "<help>";
$R_ca_4 = "-help-";
$R_online_time = "Online tijd";
$R_remaining_time = "Reterende tijd";
}
else if($Language == 'en'){
else if($Language == 'fr'){
$R_ChilliError = "L'authentification doit &ecirc;tre r&eacute;ussie au travers du service du portail captif.";
$R_login = "Authentification r&eacute;ussie.<HR>La fermeture de cette fenêtre interrompt votre session.";
$R_logout = "Fermeture de la session";
$R_loginfailed = "Echec d'authentification";
$R_loggingin = "Identification sur le portail captif";
$R_loggedcont = "Contr&ocirc;le d'acc&egrave;s au r&eacute;seau";
$R_loggedout = "Votre session est fermée";
$R_user = "Identifiant";
$R_password = "Mot de passe";
$R_passwordchg = "Modifier son mot de passe";
$R_wait = "Patientez un instant ...";
$R_onlinetime = "Temps de connexion:";
$R_remainingtime = "Deconnexion dans :";
$R_encrypted = "La connexion avec le portail doit &ecirc;tre chiffr&eacute;e";
$R_boutonO = "Authentification";
$R_boutonF = "Fermer";
$R_loggedin_stringl0 = "S&eacute;curit&eacute; des Syst&egrave;mes d'information";
$R_loggedin_stringl1 = "Bienvenue sur le portail captif ALCASAR";
$R_loggedin_stringl2 = "Ce portail a &eacute;t&eacute; mis en place pour assurer r&eacute;glementairement la tra&ccedil;abilit&eacute;, l'imputabilit&eacute; et la non-r&eacute;pudiation des connexions.";
$R_loggedin_stringl3 = "Votre activit&eacute; sur le r&eacute;seau est enregistr&eacute;e conform&eacute;ment au respect de la vie priv&eacute;e.";
$R_loggedin_stringl4 = "Les donn&eacute;es enregistr&eacute;es ne pourront &ecirc;tre exploit&eacute;es que par une autorit&eacute judiciaire dans le cadre d'une enqu&ecirc;te.";
$R_loggedin_stringl5 = "Ces donn&eacute;es seront automatiquement supprim&eacute;es au bout d'un an.";
$R_loggedout_string = "D&eacute;connexion du portail captif effectu&eacute;e !";
$R_reply_1 = "Votre dur&eacute;e de connexion journali&egrave;re a &eacute;t&eacute; atteinte";
$R_reply_2 = "Votre dur&eacute;e de connexion mensuelle a &eacute;t&eacute; atteinte";
$R_reply_3 = "Vous tentez de vous connecter en dehors de votre p&eacute;riode autoris&eacute;e";
$R_reply_4 = "Votre compte a expir&eacute";
$R_reply_5 = "Vous avez atteint le nombre maximum de connexions simultanées";
$R_ca_1 = "Int&eacute;grer le ";
$R_ca_2 = "certificat";
$R_ca_3 = "d'ALCASAR dans votre navigateur WEB";
$R_ca_4 = "-aide-";
$R_online_time = "Temps de connexion";
$R_remaining_time = "Temps restant";
}
else{
$R_ChilliError = "The authentication must be successful through the captive portal service.";
$R_login = "Successful authentication. <BR> The network connection is working. <br> Remember to click Close the connection to close your session!";
$R_login = "Successful authentication.<HR>Closing this window interrupts your session";
$R_logout = "Closing connection";
$R_loginfailed = "Authentication Failed";
$R_loggingin = "Identification on the captive portal";
169,45 → 212,13
$R_reply_3 = "You try to connect outside of your allowed timespan";
$R_reply_4 = "your account expired";
$R_reply_5 = "You have reached the maximum number of simultaneous logins";
$R_ca_1 = "Integrate the ALCASAR C.A";
$R_ca_1 = "Integrate the ALCASAR";
$R_ca_2 = "certificate";
$R_ca_3 = "in your web browser";
$R_ca_4 = "-help-";
$R_online_time = "Online time";
$R_remaining_time = "Remaining time";
}
else{
$R_ChilliError = "L'authentification doit &ecirc;tre r&eacute;ussie au travers du service du portail captif.";
$R_login = "Authentification r&eacute;ussie.<BR>La connexion au r&eacute;seau est effective.<br>N'oubliez pas de cliquer sur Fermeture de la connexion pour fermer votre session !";
$R_logout = "Fermeture de la connexion";
$R_loginfailed = "Echec d'authentification";
$R_loggingin = "Identification sur le portail captif";
$R_loggedcont = "Contr&ocirc;le d'acc&egrave;s au r&eacute;seau";
$R_loggedout = "Votre session est fermée";
$R_user = "Identifiant";
$R_password = "Mot de passe";
$R_passwordchg = "Modifier son mot de passe";
$R_wait = "Patientez un instant ...";
$R_onlinetime = "Temps de connexion:";
$R_remainingtime = "Deconnexion dans :";
$R_encrypted = "La connexion avec le portail doit &ecirc;tre chiffr&eacute;e";
$R_boutonO = "Authentification";
$R_boutonF = "Fermer";
$R_loggedin_stringl0 = "S&eacute;curit&eacute; des Syst&egrave;mes d'information";
$R_loggedin_stringl1 = "Bienvenue sur le portail captif ALCASAR";
$R_loggedin_stringl2 = "Ce portail a &eacute;t&eacute; mis en place pour assurer r&eacute;glementairement la tra&ccedil;abilit&eacute;, l'imputabilit&eacute; et la non-r&eacute;pudiation des connexions.";
$R_loggedin_stringl3 = "Votre activit&eacute; sur le r&eacute;seau est enregistr&eacute;e conform&eacute;ment au respect de la vie priv&eacute;e.";
$R_loggedin_stringl4 = "Les donn&eacute;es enregistr&eacute;es ne pourront &ecirc;tre exploit&eacute;es que par une autorit&eacute judiciaire dans le cadre d'une enqu&ecirc;te.";
$R_loggedin_stringl5 = "Ces donn&eacute;es seront automatiquement supprim&eacute;es au bout d'un an.";
$R_loggedout_string = "D&eacute;connexion du portail captif effectu&eacute;e !";
$R_reply_1 = "Votre dur&eacute;e de connexion journali&egrave;re a &eacute;t&eacute; atteinte";
$R_reply_2 = "Votre dur&eacute;e de connexion mensuelle a &eacute;t&eacute; atteinte";
$R_reply_3 = "Vous tentez de vous connecter en dehors de votre p&eacute;riode autoris&eacute;e";
$R_reply_4 = "Votre compte a expir&eacute";
$R_reply_5 = "Vous avez atteint le nombre maximum de connexions simultanées";
$R_ca_1 = "Int&eacute;grer le ";
$R_ca_2 = "certificat";
$R_ca_3 = "de l'A.C d'ALCASAR dans votre navigateur web";
$R_ca_4 = "-aide-";
}
# Make sure that the form parameters are clean
#$OK_CHARS='-a-zA-Z0-9_.@&=%!';
365,9 → 376,9
if (hours < 10) hours = \"0\" + hours;
if (mins < 10) mins = \"0\" + mins;
if (secs < 10) secs = \"0\" + secs;
title = \"Online time: \" + hours + \":\" + mins + \":\" + secs;
title = \"$R_online_time : \" + hours + \":\" + mins + \":\" + secs;
if (mytimeleft) {
title = \"Remaining time: \" + hours + \":\" + mins + \":\" + secs;
title = \"$R_remaining_time : \" + hours + \":\" + mins + \":\" + secs;
}
if(document.all || document.getElementById){
document.title = title;
379,7 → 390,7
 
function popUp(URL) {
if (self.name != \"chillispot_popup\") {
chillispot_popup = window.open(URL, 'chillispot_popup', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=375');
chillispot_popup = window.open(URL, 'chillispot_popup', 'width=500,height=250,resizable,scrollbars=yes,location=yes,toolbar=no,statusbar=no,menubar=no');
}
}
 
389,15 → 400,16
}
if ((result == 1) && (self.name == \"chillispot_popup\")) {
doTime();
window.onbeforeunload = DecO($result);
}
if ((result == 1) && (self.name != \"chillispot_popup\")) {
chillispot_popup = window.open(URL, 'chillispot_popup', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=375');
popUp(URL);
}
if ((result == 2) || result == 5) {
document.form1.UserName.focus()
}
if ((result == 2) && (self.name != \"chillispot_popup\")) {
chillispot_popup = window.open('', 'chillispot_popup', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=200');
popUp();
chillispot_popup.close();
}
if ((result == 12) && (self.name == \"chillispot_popup\")) {
422,13 → 434,13
window.location = \"http://$uamip:$uamport/logoff \";
self.focus();
blur = 1;
alert ('$R_loggedout');
//alert ('$R_loggedout');
}
}
</script>
<link rel=\"stylesheet\" href=\"/css/style.css\" type=\"text/css\">
</head>
<body onLoad=\"javascript:doOnLoad($result,'$loginpath?res=popup2&uamip=$uamip&uamport=$uamport&userurl=$userurl&redirurl=$redirurl&timeleft=$timeleft','$userurl','$redirurl','$timeleft')\" onBeforeUnLoad=\"javascript:DecO($result)\" bgColor='white'>";
<body onLoad=\"javascript:doOnLoad($result,'$loginpath?res=popup2&uamip=$uamip&uamport=$uamport&userurl=$userurl&redirurl=$redirurl&timeleft=$timeleft','$userurl','$redirurl','$timeleft')\" OnbeforeUnload=\"javascript:DecO($result)\">";
 
# begin debugging
# print "<center>THE INPUT by GET method (for debugging):<br>";
/gestion/alcasar-1.9-presentation.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/gestion/alcasar-1.9-exploitation.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/gestion/manager/htdocs/import_user.php
207,9 → 207,8
echo "<tr bgcolor=\"#666666\"><td>";
echo "<TABLE width=\"100%\" border=0 cellspacing=0 cellpadding=2>";
echo "<tr><td valign=\"middle\" align=\"left\" colspan=\"2\">";
echo "<CENTER><H3>Importer &agrave; partir d'un fichier texte (format TXT)</H3></CENTER>";
echo "Cette fonctionalit&eacute; ne supporte actuellement qu'une liste simple de noms d'usagers (les uns sous les autres).<br>";
echo "Pour chaque importation, un fichier contenant les identifiants et les mots de passe des usagers est g&eacute;n&eacute;r&eacute; sous : /tmp/nomdufichier.pwd";
echo "<CENTER><H3>Importer &agrave; partir d'un fichier texte (format '.txt')</H3></CENTER>";
echo "Dans ce fichier, les nom d'usager doivent être enregistrés les uns sous les autres.<br>";
echo "</td></tr>";
echo "<tr><td valign=\"middle\" align=\"left\">";
echo "<br><FORM action='$_SERVER[PHP_SELF]' method=POST ENCTYPE=\"multipart/form-data\">";
/gestion/manager/htdocs/user_new.php
65,12 → 65,12
document.newuser.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).
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é
alert("Votre identifiant est invalide.");//non internationnalis�
return false;
}
}
158,6 → 158,7
include_once("../lib/$config[general_lib_type]/group_info.php");
if (isset($existing_groups)){
echo " <select name=\"Fgroup\">";
echo "<option value=\"\">";
foreach ($member_groups as $group)
echo "<option value=\"$group\" $selected[$group]>$group\n";
echo " </select>";