+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// | Ministerio de Economía |
+// | Intranet |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet. |
+// | |
+// | Intranet is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published |
+// | by the Free Software Foundation; either version 2 of the License, |
+// | or (at your option) any later version. |
+// | |
+// | Intranet is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with Hooks; if not, write to the Free Software Foundation, |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
+// +--------------------------------------------------------------------+
+// | Creado: Mon Aug 4 17:33:07 2003 |
+// | Autor: Gonzalo Merayo <gmeray@mecon.gov.ar> |
+// +--------------------------------------------------------------------+
+//
+// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
+//
+
+
+require_once 'HTML/Image.php';
+
+// +X2C includes
+require_once 'HTML/Table.php';
+// ~X2C
+
+// +X2C Class 171 :HTML_Login
+/**
+ * @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 HTML_Image('images/login_candados.gif');
+ $int->addRow(array($img->toHTML().'Usuarios',
+ $img->toHTML().'Usuario:',
+ '<INPUT maxLength=50 name=usuario size=10>',
+ $img->toHTML().'Contraseña:',
+ '<INPUT maxLength=50 name=password size=10 type=password>'.
+ '<INPUT value="'.$_GET['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'));
+ $this->addRow(array($int));
+ return '<FORM ACTION = "login.php" METHOD = "POST">'.parent::toHTML().'</FORM>';
+ }
+ // -X2C
+
+} // -X2C Class :HTML_Login
+?>