X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/89bf19b89812163353d94256d7adb0f3a9cda453..719cb615797f991af9dadc17eb90c91d172d6379:/sistema/local_lib/HTML_Login.php diff --git a/sistema/local_lib/HTML_Login.php b/sistema/local_lib/HTML_Login.php index d92a5e5..ae427f3 100644 --- a/sistema/local_lib/HTML_Login.php +++ b/sistema/local_lib/HTML_Login.php @@ -28,7 +28,7 @@ // -require_once 'HTML/Image.php'; +require_once 'MECON/HTML/Image.php'; // +X2C includes require_once 'HTML/Table.php'; @@ -79,20 +79,26 @@ class HTML_Login extends HTML_Table { 'cellPadding' => 0, 'cellSpacing' => 2, 'width' => '100%')); - $img = new HTML_Image('images/login_candados.gif'); + $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:', '', - $img->toHTML().'ContraseƱa:', + $img2->toHTML().'ContraseƱa:', ''. - '', + '', '')); $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 = '
'.$login_incorrecto->toHTML().'
'; + }else $login_incorrecto=''; $this->addRow(array($int)); - return '
'.parent::toHTML().'
'; + return $login_incorrecto.'
'.parent::toHTML().'
'; } // -X2C