versión 1.0.1: internacionalización del menú automático para clientes (modificar #411).

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2042 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2011-05-27 12:13:38 +00:00
parent 4de181d219
commit d5fd84311e
4 changed files with 39 additions and 5 deletions

View File

@ -0,0 +1,12 @@
<?
//________________________________________________________________________________________________________
//
// Fichero de idiomas php: menuscliente_esp.php
// Idioma: Español
//________________________________________________________________________________________________________
$TbMsg=array();
$TbMsg[0]='"***ATENCI&Oacute;.- No està accedint des d'un ordinador permès"';
$TbMsg[1]='"Direcci&oacute; IP"';
$TbMsg[2]='"NO S'HA DETECTAT CAP MEN&Uacute; PER AQUEST CLIENT"';
$TbMsg[3]='"Apagar l'equip"';
?>

View File

@ -0,0 +1,12 @@
<?
//________________________________________________________________________________________________________
//
// Fichero de idiomas php: menuscliente_esp.php
// Idioma: Español
//________________________________________________________________________________________________________
$TbMsg=array();
$TbMsg[0]='"***WARNING.- You are accessing from a computer not allowed"';
$TbMsg[1]='"IP Address"';
$TbMsg[2]='"NOT DETECTED ANY MENU FOR THIS CLIENT"';
$TbMsg[3]='"Shut down the computer"';
?>

View File

@ -0,0 +1,12 @@
<?
//________________________________________________________________________________________________________
//
// Fichero de idiomas php: menuscliente_esp.php
// Idioma: Español
//________________________________________________________________________________________________________
$TbMsg=array();
$TbMsg[0]='"***ATENCI&Oacute;N.- Usted no est&aacute; accediendo desde un ordenador permitido"';
$TbMsg[1]='"Direcci&oacute;n IP"';
$TbMsg[2]='"NO SE HA DETECTADO NING&Uacute;N MEN&Uacute; PARA ESTE CLIENTE"';
$TbMsg[3]='"Apagar el equipo"';
?>

View File

@ -25,7 +25,7 @@ if (isset($_GET["tip"])) $tip=$_GET["tip"];
$iph=tomaIP();
if(empty($iph))
die("***ATENCION.- Usted no esta accediendo desde un ordenador permitido: Dirección IP=".$iph);
die($TbMsg[0].": ".$TbMsg[1]."=".$iph);
$UrlPagina=$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; // Url página
$UrlPagina=dirname($UrlPagina);
@ -62,11 +62,9 @@ if(!empty($rsmenu)){
}
else{
$codeHtml='<div align="center" style="font-family: Arial, Helvetica, sans-serif;">';
$codeHtml.='<p style="color:#999999; font-size: 16px; margin: 2em;">';
$codeHtml.=' NO SE HA DETECTADO NING&Uacute;N MEN&Uacute; PARA ESTE CLIENTE';
$codeHtml.='</p>';
$codeHtml.='<p style="color:#999999; font-size: 16px; margin: 2em;">'.$TbMsg[2].'</p>';
$codeHtml.='<p style="font-size: 14px; margin: 2em;">';
$codeHtml.=' <a href="command:poweroff">Apagar el equipo</a>';
$codeHtml.=' <a href="command:poweroff">'.$TbMsg[3].'</a>';
$codeHtml.='</p>';
$codeHtml.='</div>';
}