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-378ad31fedc9remotes/github/debian-pkg
parent
4de181d219
commit
d5fd84311e
|
@ -0,0 +1,12 @@
|
|||
<?
|
||||
//________________________________________________________________________________________________________
|
||||
//
|
||||
// Fichero de idiomas php: menuscliente_esp.php
|
||||
// Idioma: Español
|
||||
//________________________________________________________________________________________________________
|
||||
$TbMsg=array();
|
||||
$TbMsg[0]='"***ATENCIÓ.- No està accedint des d'un ordinador permès"';
|
||||
$TbMsg[1]='"Direcció IP"';
|
||||
$TbMsg[2]='"NO S'HA DETECTAT CAP MENÚ PER AQUEST CLIENT"';
|
||||
$TbMsg[3]='"Apagar l'equip"';
|
||||
?>
|
|
@ -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"';
|
||||
?>
|
|
@ -0,0 +1,12 @@
|
|||
<?
|
||||
//________________________________________________________________________________________________________
|
||||
//
|
||||
// Fichero de idiomas php: menuscliente_esp.php
|
||||
// Idioma: Español
|
||||
//________________________________________________________________________________________________________
|
||||
$TbMsg=array();
|
||||
$TbMsg[0]='"***ATENCIÓN.- Usted no está accediendo desde un ordenador permitido"';
|
||||
$TbMsg[1]='"Dirección IP"';
|
||||
$TbMsg[2]='"NO SE HA DETECTADO NINGÚN MENÚ PARA ESTE CLIENTE"';
|
||||
$TbMsg[3]='"Apagar el equipo"';
|
||||
?>
|
|
@ -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ÚN MENÚ 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>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue