Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 921 → Rev 922

/web/index.php
112,23 → 112,23
$l_certif_explain = "O certificado Permiti a troca de dados seguro entre seu computador e o portal Alcasar.<BR>Se este certificado não estiver incorporado no seu computador, alguns alertas de segurança deverá aparecer no navegador.<br><br>";
$l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
if ((isset ($user[4])) && ($user[4] == "0")) {
$l_logout_explain = "No Internet consultation session is actualy open on your system";
$l_logout = "<a href=\"http://www.google.pt\">Open an Internet session</a>";}
$l_logout_explain = "Nenhuma consulta de conexão à Internet pode abrir em seu computador";
$l_logout = "<a href=\"http://www.google.pt\">Abrir uma conexão de Internet</a>";}
else {
if ($user[5] != $user[0]) // authentication exception or not
{
$l_logout_explain = "Close the session of the user actualy connecterd.<br> User logged-on : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history";
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";
$l_logout_explain = "Feche a conexão do usuário atual conectado.<br> Usuário conectado : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history";
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Sair da Internet</a>";
}
else
{
$l_logout_explain = "Your system ($user[5]) is in exception of authentication.<br><br>$nb_connection_history last connections :$connection_history";
$l_logout = "Connections information";
$l_logout_explain = "O sistema ($user[5]) está em exceção de autenticação.<br><br>$nb_connection_history logins últimos :$connection_history";
$l_logout = "Informações de conexões";
}
}
$l_password_change = "<a href=\"https://$hostname/pass\">Change your password</a>";
$l_password_change_explain = "Redirect you on password change page.<br><br> You should already have an Internet access account.";
$l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
$l_password_change = "<a href=\"https://$hostname/pass\">Mudar sua senha</a>";
$l_password_change_explain = "Você será redirecionado à página de alteração de senha.<br><br> Você deverá ter uma conta de usuário valido para acessar à Internet.";
$l_back_page = "<a href=\"javascript:history.back()\">Página anterior</a>";
}
else {
$l_access_denied = "ACCESS DENIED";
152,12 → 152,12
else {
if ($user[5] != $user[0]) // authentication exception or not
{
$l_logout_explain = "Close the session of the user actualy connecterd.<br> User logged-on : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history";
$l_logout_explain = "Close the session of the user currently connected.<br> User logged-on : <a href=\"http://$hostname:3990/logoff\" title=\"Disconnect user $user[5]\"><b>$user[5]</b></a><br><br>$nb_connection_history last connections :$connection_history";
$l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";
}
else
{
$l_logout_explain = "Your system ($user[5]) is in exception of authentication.<br><br>$nb_connection_history last connections :$connection_history";
$l_logout_explain = "Your system ($user[5]) is in exception of authentication.<br><br>$nb_connection_history Last logins :$connection_history";
$l_logout = "Connections information";
}
}
/web/intercept.php
126,7 → 126,7
$l_logout = "Fechando a conexão";
$l_loginfailed = "Falha na autenticação";
$l_loggingin = "Identificação do portal cativo";
$l_loggedcont = "Access Control";
$l_loggedcont = "Controle de acesso";
$l_loggedout = "Sua conexão foi fechada";
$l_user = "Usuário";
$l_password = "Senha";
461,11 → 461,11
<tr>
<td width=\"20%\" rowspan=\"3\"><img id=\"logo-organ\" src=\"/images/organisme.png\"></td>
<td width=\"30%\" align=\"right\">$l_user</td>
<td width=\"50%\" align=\"left\"><INPUT type=\"text\" maxLength=\"32\" name=\"UserName\"></td>
<td width=\"50%\" align=\"left\"><INPUT type=\"text\" maxLength=\"32\" name=\"UserName\" autocomplete=\"off\"></td>
</tr>
<tr>
<td align=\"right\">$l_password</td>
<td align=\"left\"><INPUT maxLength=\"32\" type=\"password\" name=\"Password\"></td>
<td align=\"left\"><INPUT maxLength=\"32\" type=\"password\" name=\"Password\" autocomplete=\"off\"></td>
</tr>
<tr>
<td height=\"23\" colSpan=\"2\" align=\"center\"><INPUT value=\"$l_boutonO\" type=\"submit\" name=\"button\" onclick=\"javascript:popUp('$statuspath')\"></td>
/web/acc/manager/htdocs/ticket_user.php
23,8 → 23,8
$l_max_daily_session_imp="Durée journalière :";
$l_max_monthly_session_imp ="Durée mensuelle :";
$l_expiration_imp="Date d'expiration :";
$v_illimit="Illimitée";
$v_without="Aucune";
$l_unlimited="Illimitée";
$l_without="Aucune";
break;
case 'de':
$l_title_imp = "INTERNETZUGANG TICKET";
37,12 → 37,13
$l_max_daily_session_imp="Stunden t&auml;glich :";
$l_max_monthly_session_imp ="monatlich Dauer :";
$l_expiration_imp="Verfallsdatum :";
$v_illimit="Unbegrentz";
$v_without="Ohne";
$l_unlimited="Unbegrentz";
$l_without="Ohne";
break;
case 'nl':
$l_title_imp = "ONTVANGST INTERNET";
$l_footer_imp = "Powered by ALCASAR";
$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
$l_login_imp = "Gebruikers :";
$l_password_imp = "Wachtwoord :";
$l_max_all_session_imp="Totaal toegestane tijd :";
50,12 → 51,13
$l_max_daily_session_imp="Dagelijkse uren :";
$l_max_monthly_session_imp ="Maandelijkse duur :";
$l_expiration_imp="Vervaldatum :";
$v_illimit="Onbeperkte";
$v_without="Ohne";
$l_unlimited="Onbeperkte";
$l_without="Ohne";
break;
case 'es':
$l_title_imp = "BONO INTERNET";
$l_footer_imp = "Desarrollado por ALCASAR";
$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
$l_login_imp = "Usuario :";
$l_password_imp = "Contraseña :";
$l_max_all_session_imp="Tiempo total permitido :";
63,12 → 65,13
$l_max_daily_session_imp="Horas diarias :";
$l_max_monthly_session_imp ="Duraciôn mensual :";
$l_expiration_imp="Fecha de caducidad :";
$v_illimit="Ilimitado";
$v_without="Sin";
$l_unlimited="Ilimitado";
$l_without="Sin";
break;
case 'it':
$l_title_imp = "RICEVIMENTO INTERNET";
$l_footer_imp = "Powered by ALCASAR";
$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
$l_login_imp = "Utenti :";
$l_password_imp = "Password :";
$l_max_all_session_imp="Tempo totale consentito:";
76,12 → 79,13
$l_max_daily_session_imp="Ore giornaliere :";
$l_max_monthly_session_imp ="Durata mensile :";
$l_expiration_imp="Data di scadenza :";
$v_illimit="Illimitato";
$v_without="Senza";
$l_unlimited="Illimitato";
$l_without="Senza";
break;
case 'pt':
$l_title_imp = "BILHETE DE ACESSO À INTERNET";
$l_footer_imp = "Desenvolvido por ALCASAR";
$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
$l_login_imp = "Usuário :";
$l_password_imp = "Senha :";
$l_max_all_session_imp="Tempo máximo de toda conexão :";
89,11 → 93,13
$l_max_daily_session_imp="Conexão máxima diária :";
$l_max_monthly_session_imp ="MConexão máxima mensal :";
$l_expiration_imp="Data de vencimento :";
$v_illimit="Ilimitado";
$v_without="Sem";
$l_unlimited="Ilimitado";
$l_without="Sem";
break;
default:
$l_title_imp = "INTERNET ACCESS TICKET";
$l_footer_imp = "Powered by ALCASAR";
$l_explain1_imp = "Enter 'alcasar' in your browser to manage your account (password, logout, etc.).";
$l_login_imp = "Login :";
$l_password_imp = "Password :";
$l_max_all_session_imp="Total time allowed :";
101,14 → 107,12
$l_max_daily_session_imp="Max daily session :";
$l_max_monthly_session_imp ="Max monthly session :";
$l_expiration_imp="Expiration date :";
$v_illimit="Unlimited";
$v_without="Without";
$l_unlimited="Unlimited";
$l_without="Without";
break;
}
//echo "$langue_imp - $l_login_imp - $exp_imp - $l_title_imp";
//exit;
//création de la classe PDF pour faire l'entête et pieds de page
require('../../lib/fpdf17/fpdf.php');
require('../lib/fpdf/fpdf.php');
class PDF extends FPDF
{
//Entête
212,16 → 216,19
$pdf->SetFont('Arial','',12);
$pdf->Cell(45,10,utf8_decode($l_max_all_session_imp),0,0,'R');
$pdf->SetFont('Arial','B',12);
if ($mas_imp == "Unlimited") $mas_imp=utf8_decode($l_unlimited);
$pdf->Cell(45,10,$mas_imp,0,1,'L');
$pdf->cell(50);
$pdf->SetFont('Arial','',12);
$pdf->Cell(45,10,utf8_decode($l_session_timeout_imp),0,0,'R');
$pdf->SetFont('Arial','B',12);
if ($sto_imp == "Unlimited") $sto_imp=utf8_decode($l_unlimited);
$pdf->Cell(45,10,$sto_imp,0,1,'L');
$pdf->cell(50);
$pdf->SetFont('Arial','',12);
$pdf->Cell(45,10,utf8_decode($l_max_daily_session_imp),0,0,'R');
$pdf->SetFont('Arial','B',12);
if ($mds_imp == "Unlimited") $mds_imp=utf8_decode($l_unlimited);
$pdf->Cell(45,10,$mds_imp,0,1,'L');
//$pdf->SetFont('Arial','',12);
//$pdf->cell(50);
232,6 → 239,7
$pdf->SetFont('Arial','',12);
$pdf->Cell(45,10,utf8_decode($l_expiration_imp),0,0,'R');
$pdf->SetFont('Arial','B',12);
if ($exp_imp == "Without") $exp_imp=utf8_decode($l_without);
$pdf->Cell(45,10,$exp_imp,0,1,'L');
$pdf->Ln(7);
$pdf->cell(50);