Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2171 → Rev 2172

/CHANGELOG
8,6 → 8,7
- Migratation of FPDF to wkhtmltopdf (user/vouncher tickets & user file import). (FPDF is removed)
- Update wkhtmltopdf (0.12.4)
- geoip updating (surfmap)
- Add warning message on user status page (page closed => disconnection).
BUGS
- The users can change their password
SECU
/web/css/status.css
1,8 → 1,7
/*
/*
Feuille de style pour les pages d'interceptions coté utilisateurs d'ALCASAR
Auteur : Stéphane ERARD
Licence : GNU GPL
 
*/
 
 
12,13 → 11,13
:link, :visited, :hover:link, :hover:visited {
color: #000000;
}
BODY {
body {
color: #666666;
}
 
/* Style de police */
 
BODY, :link, :visited, :hover:link, :hover:visited {
body, :link, :visited, :hover:link, :hover:visited {
font-family: "DejaVu Sans";
}
 
25,7 → 24,7
 
/*Couleurs de fond */
 
BODY {
body {
background-color: #666666;
}
 
32,11 → 31,11
 
/* Règles des balises HTML */
 
P {
p {
text-align: justify;
}
 
BODY {
body {
background-image: url(/images/fond.png);
background-repeat: repeat-x;
text-align: center;
44,10 → 43,10
margin: 0px;
}
 
TABLE {
table {
font-size: 90%;
}
IMG {
img {
height: 150px;
}
 
98,7 → 97,7
Ajout stephane weber
*/
#errorTable, #statusTable, #waitTable, #disconnectTable {
BACKGROUND-COLOR: #ffffff;
background-color: #ffffff;
margin: 1px;
border: 1px #efefef solid;
 
143,3 → 142,8
margin: 0px;
font-size: 9px;
}
 
#close-warning {
padding: 5px;
text-align: center;
}
/web/status.php
64,8 → 64,9
//reste quelques traductions à faire
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$Language = strtolower(substr(chop($Langue[0]),0,2));
}
if($Language == 'es'){
$l_login1 = "El éxito de la autenticación";
$l_logout = "Conexión de cierre";
89,6 → 90,7
$l_connected = "logged"; // to translate
$l_a_connection = "You have"; // to translate
$l_a_connection_time = "active connections on the network"; // to translate
$l_close_warning = "Advertencia: se desconectará si cierra esta ventana";
}
else if ($Language == 'zh'){
$l_login1 = "验证通过";
109,10 → 111,11
$l_not_available = "不可用";
$l_error = "出错";
$l_welcome = "欢迎";
$l_conn_history = "您最近的$nb_connection_history次连接";
$l_conn_history = "您最近的{$nb_connection_history}次连接";
$l_connected = "已登录";
$l_a_connection = "您已经有";
$l_a_connection_time = "在线时间";
$l_close_warning = "警告: 您将会断开连接如果您在关闭此窗口";
}
else if ($Language == 'ar'){
$l_login1 = "نجاح المصادقة";
138,6 → 141,7
$l_connected = "دورة ناشطة";
$l_a_connection = "لديك";
$l_a_connection_time = "اتصالات ناشطة على الشبكة";
$l_close_warning = "تحذير: سيتم قطع الاتصال إذا قمت بإغلاق هذه النافذة";
}
else if ($Language == 'pt'){
$l_login1 = "Autenticação bem sucedida.";
162,6 → 166,7
$l_connected = "Conectado";
$l_a_connection = "Conexão ativa já detectada para essa LAN";
$l_a_connection_time = "Tempo (s)";
$l_close_warning = "Aviso: você será desconectado se fechar esta janela";
}
else if ($Language == 'de'){
$l_login1 = "Erfolgreiche Authentifizierung";
186,6 → 191,7
$l_connected = "logged"; // to translate
$l_a_connection = "You have"; // to translate
$l_a_connection_time = "active connections on the network"; // to translate
$l_close_warning = "Warnung: Sie werden getrennt, wenn Sie dieses Fenster schließen";
}
else if ($Language == 'nl'){
$l_login1 = "Succesvolle authenticatie";
210,6 → 216,7
$l_connected = "logged"; // to translate
$l_a_connection = "You have"; // to translate
$l_a_connection_time = "active connections on the network"; // to translate
$l_close_warning = "Waarschuwing: u zal worden afgebroken als u dit venster sluiten";
}
else if ($Language == 'fr'){
$l_login1 = "Authentification réussie";
234,6 → 241,7
$l_connected = "session active";
$l_a_connection = "Vous avez";
$l_a_connection_time = "connexions actives sur le réseau";
$l_close_warning = "Attention : vous serez déconnecté si vous fermez cette fenêtre";
}
else {
$l_login1 = "Successful authentication.";
258,6 → 266,7
$l_connected = "logged";
$l_a_connection = "You have";
$l_a_connection_time = "active connections on the network";
$l_close_warning = "Warning: you will be disconnected if you close this window";
}
 
if (isset($user[5])){
434,6 → 443,9
<tr id="conHistoryRow">
<td colspan=2 id="conHistory" class="chilliValue"><?php echo $connection_history; ?></td>
</tr>
<tr>
<td colspan=2 id="close-warning">(<?php echo $l_close_warning; ?>)</td>
</tr>
</table>
</div>
<div id="waitPage">
459,6 → 471,4
</div-->
</div>
</body>
 
 
</html>