X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/89bf19b89812163353d94256d7adb0f3a9cda453..41fa2d5d5cb300d97ea9e6760f7584780ba1b513:/sistema/local_lib/HTML_Login.php?ds=sidebyside diff --git a/sistema/local_lib/HTML_Login.php b/sistema/local_lib/HTML_Login.php index d92a5e5..03c5cb9 100644 --- a/sistema/local_lib/HTML_Login.php +++ b/sistema/local_lib/HTML_Login.php @@ -1,7 +1,7 @@ | // +--------------------------------------------------------------------+ // -// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $ +// $Id$ // -require_once 'HTML/Image.php'; +require_once 'MECON/HTML/Image.php'; // +X2C includes require_once 'HTML/Table.php'; @@ -64,7 +64,7 @@ class HTML_Login extends HTML_Table { */ function getCSS() // ~X2C { - return "css/login.css"; + return "/sistemas/intranet/css/login.css"; } // -X2C @@ -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('/sistemas/intranet/images/login_candados.gif'); + $img2 = new MECON_HTML_Image('/sistemas/intranet/images/login_flechita.gif'); $int->addRow(array($img->toHTML().'Usuarios', - $img->toHTML().'Usuario:', + $img2->toHTML().'Usuario@organismo:', '', - $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('/sistemas/intranet/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