| // +--------------------------------------------------------------------+ // // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $ // require_once 'MECON/HTML/Image.php'; // +X2C includes require_once 'HTML/Table.php'; // ~X2C // +X2C Class 171 :HTML_Login /** * @package sistema_local_lib * @access public */ class HTML_Login extends HTML_Table { // ~X2C // +X2C Operation 172 /** * @return void * @access public */ function HTML_Login() // ~X2C { parent::HTML_Table(array('bgColor' => '#FFFFFF', 'border' => 1, 'borderColor' => '#003060', 'cellPadding' => 0, 'cellSpacing' => 0, 'width' => 600)); } // -X2C // +X2C Operation 173 /** * @return void * @access public */ function getCSS() // ~X2C { return "css/login.css"; } // -X2C // +X2C Operation 174 /** * @return void * @access public */ function toHTML() // ~X2C { $int = new HTML_Table(array('border' => 0, 'cellPadding' => 0, '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', $img2->toHTML().'Usuario:', '', $img2->toHTML().'Contrasea:', ''. '', '')); $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 = '