Subversion Repositories ALCASAR

Rev

Rev 832 | Rev 922 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 832 Rev 912
Line 92... Line 92...
92
	  }
92
	  }
93
	}
93
	}
94
  $l_password_change = "<a href=\"https://$hostname/pass\">Changer votre mot de passe</a>";
94
  $l_password_change = "<a href=\"https://$hostname/pass\">Changer votre mot de passe</a>";
95
  $l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'acc&egrave;s &agrave; internet.<br><br>Vous devez avoir un compte internet valide.";
95
  $l_password_change_explain = "Vous redirige sur la page de changement du mot de passe de votre compte d'acc&egrave;s &agrave; internet.<br><br>Vous devez avoir un compte internet valide.";
96
  $l_back_page = "<a href=\"javascript:history.back()\">Page pr&eacute;c&eacute;dente</a>";
96
  $l_back_page = "<a href=\"javascript:history.back()\">Page pr&eacute;c&eacute;dente</a>";
-
 
97
}
-
 
98
else if($Language == 'pt'){
-
 
99
  $l_access_denied = "Acesso negado";
-
 
100
  $l_access_welcome = "Bem-vindo ao Alcasar";
-
 
101
  $l_access_unavailable = "ACESSO INDISPONÍVEL";
-
 
102
  $l_required_domain = "Site WEB Obrigatório";
-
 
103
  $l_explain_acc_access = "Este é o centro de controle do portal para acessar você deve ter uma conta administrativa.";
-
 
104
  $l_explain_access_deny = "Você tenta se conectar a um recurso cujo conteúdo é considerado inadequado no conteúdo de informações.";
-
 
105
  $l_explain_net_pb = "O portal detectou que o acesso à Internet é de risco";
-
 
106
  $l_contact_access_deny = "Entre em contato com o administrador do sistema de segurança se acha que essa filtragem é abusiva.";
-
 
107
  $l_contact_net_pb = "Entre em contato com a empresa fornecedora de Internet para mais informações";
-
 
108
  $l_welcome = "Essa é a página do portal captive principal";
-
 
109
  $l_acc_access = "<a href=\"https://$hostname/acc\">ALCASAR Control Center</a>";
-
 
110
  $l_install_certif = "<a href=\"$cert_add/certificat_alcasar_ca.crt\">Instalar Certificado Alcasar AC</a>";
-
 
111
  $l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Instalar Certificado Alcasar AC</a>";
-
 
112
  $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>";
-
 
113
  $l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
-
 
114
if ((isset ($user[4])) && ($user[4] == "0")) {
-
 
115
	  $l_logout_explain = "No Internet consultation session is actualy open on your system";
-
 
116
	  $l_logout = "<a href=\"http://www.google.pt\">Open an Internet session</a>";}
-
 
117
  else {
-
 
118
	  if ($user[5] != $user[0]) // authentication exception or not
-
 
119
	  {
-
 
120
		  $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";
-
 
121
		  $l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";
-
 
122
	  }
-
 
123
	  else
-
 
124
	  {
-
 
125
		  $l_logout_explain = "Your system ($user[5]) is in exception of authentication.<br><br>$nb_connection_history last connections :$connection_history";
-
 
126
		  $l_logout = "Connections information";
-
 
127
	  }
-
 
128
  	}
-
 
129
  $l_password_change = "<a href=\"https://$hostname/pass\">Change your password</a>";
-
 
130
  $l_password_change_explain = "Redirect you on password change page.<br><br> You should already have an Internet access account.";
-
 
131
  $l_back_page = "<a href=\"javascript:history.back()\">Previous page</a>";
97
}
132
}
98
else {
133
else {
99
  $l_access_denied = "ACCESS DENIED";
134
  $l_access_denied = "ACCESS DENIED";
100
  $l_access_welcome = "Welcome on ALCASAR";
135
  $l_access_welcome = "Welcome on ALCASAR";
101
  $l_access_unavailable = "ACCESS UNAVAILABLE";
136
  $l_access_unavailable = "ACCESS UNAVAILABLE";
Line 111... Line 146...
111
  $l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Install ALCASAR AC Certificate</a>";
146
  $l_install_certif_more = "<a href=\"$cert_add/certificat_alcasar_ca.cert\">Install ALCASAR AC Certificate</a>";
112
  $l_certif_explain = "Allow secure data exchange between your computer and ALCASAR portal.<BR>If this certificate isn't incorporated in your computer, some security alerts should appear in your browser.<br><br>";
147
  $l_certif_explain = "Allow secure data exchange between your computer and ALCASAR portal.<BR>If this certificate isn't incorporated in your computer, some security alerts should appear in your browser.<br><br>";
113
  $l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
148
  $l_certif_explain_help = "<a href=\"alcasar-certificat.pdf\" target=\"_blank\">Complementary help</a>";
114
if ((isset ($user[4])) && ($user[4] == "0")) {
149
if ((isset ($user[4])) && ($user[4] == "0")) {
115
	  $l_logout_explain = "No Internet consultation session is actualy open on your system";
150
	  $l_logout_explain = "No Internet consultation session is actualy open on your system";
116
	  $l_logout = "<a href=\"http://www.google.fr\">Open an Internet session</a>";}
151
	  $l_logout = "<a href=\"http://www.google.com\">Open an Internet session</a>";}
117
  else {
152
  else {
118
	  if ($user[5] != $user[0]) // authentication exception or not
153
	  if ($user[5] != $user[0]) // authentication exception or not
119
	  {
154
	  {
120
		  $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";
155
		  $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";
121
		  $l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";
156
		  $l_logout = "<a href=\"http://$hostname:3990/logoff\">Logoff from internet</a>";