diff options
author | ramon <ramongomez@us.es> | 2012-02-08 19:07:40 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-02-08 19:07:40 +0000 |
commit | ea4319c7d2fde53d6d35aa5627dff46398ca832c (patch) | |
tree | 688e9c383424527efeb9b16cf0480843c09422f2 /admin/WebConsole/index.php | |
parent | 39a8a996e144148cda68cc4585bcc489d263794c (diff) |
VersiĆ³n 1.0.3, #492: Contenido centrado en la pantalla de acceso.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2540 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/index.php')
-rw-r--r-- | admin/WebConsole/index.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/admin/WebConsole/index.php b/admin/WebConsole/index.php index fe5b6f10..b124595b 100644 --- a/admin/WebConsole/index.php +++ b/admin/WebConsole/index.php @@ -25,13 +25,19 @@ include_once("./includes/CreaComando.php"); include_once("./clases/AdoPhp.php"); include_once("./includes/HTMLSELECT.php"); -// Control de errores. +// Valores por defecto. $herror=0; +$idcentro=""; + +// Control de errores. if (isset($_GET["herror"])) $herror=$_GET["herror"]; if (isset($_POST["herror"])) $herror=$_POST["herror"]; // Idioma. -if (isset($_GET["idi"])) $idi=$_GET["idi"]; -if (isset($_POST["idi"])) $idi=$_POST["idi"]; +if (isset($_GET["idi"])) $parmidi=$_GET["idi"]; +if (isset($_POST["idi"])) $parmidi=$_POST["idi"]; +if (!empty ($parmidi) and file_exists ("idiomas/php/$parmidi/acceso_$parmidi.php")) { + $idi=$parmidi; +} include ("idiomas/php/$idi/acceso_$idi.php"); $cmd=CreaComando($cnx); // Crea objeto comando |