'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.php" METHOD = "POST">'.parent::toHTML().'</FORM>';
}
// -X2C