summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/index.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-02-08 19:35:44 +0000
committerramon <ramongomez@us.es>2012-02-08 19:35:44 +0000
commitbdf699142687163eb5bc5bf2617123ee25da7f34 (patch)
treedf674679da71e7bf823dc2e7a4113e39ee9895e5 /admin/WebConsole/index.php
parentea4319c7d2fde53d6d35aa5627dff46398ca832c (diff)
Versión 1.0.3, #483 #492: Pie de la pantalla de acceso con selector de idioma y versión con URL al proyecto.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2541 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/index.php')
-rw-r--r--admin/WebConsole/index.php19
1 files changed, 16 insertions, 3 deletions
diff --git a/admin/WebConsole/index.php b/admin/WebConsole/index.php
index b124595b..f1b27e32 100644
--- a/admin/WebConsole/index.php
+++ b/admin/WebConsole/index.php
@@ -33,8 +33,7 @@ $idcentro="";
if (isset($_GET["herror"])) $herror=$_GET["herror"];
if (isset($_POST["herror"])) $herror=$_POST["herror"];
// Idioma.
-if (isset($_GET["idi"])) $parmidi=$_GET["idi"];
-if (isset($_POST["idi"])) $parmidi=$_POST["idi"];
+if (isset($_POST["nemonico"])) $parmidi=$_POST["nemonico"];
if (!empty ($parmidi) and file_exists ("idiomas/php/$parmidi/acceso_$parmidi.php")) {
$idi=$parmidi;
}
@@ -110,7 +109,21 @@ function PulsaEnter(oEvento){
</fieldset>
</form>
</div>
-<?
+<div class="pie">
+<?php
+// Añadir versión y URL al proyecto.
+$versionfile="../doc/VERSION.txt";
+if (file_exists ($versionfile) {
+ echo '<span><a href="http://opengnsys.es/">';
+ include ($versionfile);
+ echo '</a></span>';
+?>
+<form action="#" name="lang" method="post">
+ <?php echo HTMLSELECT($cmd,0,'idiomas',$idi,'nemonico','descripcion',80); ?>
+ <button type="submit"><?php echo $TbMsg["ACCESS_CHOOSE"]; ?></button>
+</form>
+</div>
+<?php
//______________________________________________________________________________
// Posiciona cursor en campo usuario y muestra mensaje de error si lo hubiera
echo '<script language="javascript">';