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 | |
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')
-rw-r--r-- | admin/WebConsole/estilos.css | 12 | ||||
-rw-r--r-- | admin/WebConsole/index.php | 12 |
2 files changed, 13 insertions, 11 deletions
diff --git a/admin/WebConsole/estilos.css b/admin/WebConsole/estilos.css index 09cefe43..61706245 100644 --- a/admin/WebConsole/estilos.css +++ b/admin/WebConsole/estilos.css @@ -2,9 +2,7 @@ font: normal normal 12px sans-serif; } .acceso h1 { - margin-top: 90px; - margin-left: 250px; - margin-bottom: 0px; + margin: 50px auto 0px auto; padding-left: 20px; width: 580px; background: #bfb39b; @@ -12,9 +10,7 @@ color: #ddd6c6; } .acceso h2 { - margin-top: 0px; - margin-left: 250px; - margin-bottom: 0px; + margin: 0px auto; padding-left: 20px; width: 580px; background: #bfb39b; @@ -22,8 +18,7 @@ color: white; } .acceso form { - margin-top: 0px; - margin-left: 250px; + margin: 0px auto; width: 600px; height: 327px; background-image: url('./images/login.jpg'); @@ -48,6 +43,7 @@ .acceso button { margin-left: 100px; } + .textos{
COLOR: #A53B2D;
FONT-FAMILY:MS Sans Serif;
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 |