X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/7d6253665e1e39bbb176518d9f99c9fc174c9490..04fa3d055ad6d878257eda34c3347efccc5c9caa:/sistema/www/sel-sistema.php diff --git a/sistema/www/sel-sistema.php b/sistema/www/sel-sistema.php index b76280d..0aa27ef 100644 --- a/sistema/www/sel-sistema.php +++ b/sistema/www/sel-sistema.php @@ -21,12 +21,20 @@ // //REQUIRE ONCE {{{ + require_once 'HTML/Page.php'; require_once 'MECON/HTML/QuickForm.php'; require_once 'MECON/HTML/Tabla.php'; require_once 'SAMURAI/Sistema.php'; //}}} //CREO LOS OBJETOS NECESARIOS {{{ + $PAGE = new HTML_Page(array ('doctype'=>'HTML 4.01 Transitional', + 'charset' => 'iso-8859-1', + 'lineend' => 'unix', + 'language' => 'es', + 'cache' => 'false', + 'simple' => 'true')); + $PAGE->addStyleSheet('/MECON/css/marco.css'); $FORM = new MECON_HTML_QuickForm ('sel_sistema','post','sel-sistema'); $TABLAFORM =& new MECON_HTML_Tabla ('width="400"', 'comun'); $FORM->renderer->setTable($TABLAFORM); @@ -62,8 +70,12 @@ } // }}} // DIBUJO LA PAGINA {{{ - $MARCO->habilitarLinks(false); //MODIFICAR ESTO CUANDO SE HAGA LA FUNCION DESHABILITAR LINKS - $MARCO->addBody($FORM); - $MARCO->display(); + require_once 'MECON/HTML/Image.php'; + $im =& new MECON_HTML_Image('images/copete.jpg'); + $PAGE->addBodyContent($im); + $PAGE->addBodyContent($FORM); + $PAGE->addStyleSheet($FORM->getCSS()); + $PAGE->setTitle('Seleccionar Sistema'); + $PAGE->display(); // }}} ?>