<?php
// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
// +--------------------------------------------------------------------+
-// | Ministerio de Economía |
+// | Ministerio de Econom� |
// | Intranet |
// +--------------------------------------------------------------------+
// | This file is part of Intranet. |
// | Autor: Gonzalo Merayo <gmeray@mecon.gov.ar> |
// +--------------------------------------------------------------------+
//
-// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
+// $Id$
//
'cellSpacing' => 2,
'width' => '100%'));
$img = new MECON_HTML_Image('images/login_candados.gif');
+ $img2 = new MECON_HTML_Image('images/login_flechita.gif');
$int->addRow(array($img->toHTML().'Usuarios',
- $img->toHTML().'Usuario:',
+ $img2->toHTML().'Usuario:',
'<INPUT maxLength=50 name=usuario size=10>',
- $img->toHTML().'Contraseña:',
+ $img2->toHTML().'Contraseña:',
'<INPUT maxLength=50 name=password size=10 type=password>'.
- '<INPUT value="'.$_GET['redirect'].'" name=redirect type=hidden>',
+ '<INPUT value="'.@$_GET['redirect'].@$_POST['redirect'].'" name=redirect type=hidden>',
'<INPUT name = Submit type=submit value=Enviar>'));
$int->updateColAttributes(0, array('class' => 'titulo_tabla',
'bgColor' => '#003366'));
$int->updateColAttributes(1, array('class' => 'titulo'));
$int->updateColAttributes(3, array('class' => 'titulo'));
+ if(isset($this->login_incorrecto) && $this->login_incorrecto == true)
+ {
+ $login_incorrecto = new MECON_HTML_Image('images/login_incorrecto.gif');
+ $login_incorrecto = '<div align=left>'.$login_incorrecto->toHTML().'</div>';
+ }else $login_incorrecto='';
$this->addRow(array($int));
- return '<FORM ACTION = "login.php" METHOD = "POST">'.parent::toHTML().'</FORM>';
+ return $login_incorrecto.'<FORM ACTION = "login" METHOD = "POST">'.parent::toHTML().'</FORM>';
}
// -X2C