X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/a62240244930f98eb0b360c7bace17f5fbdb428e..bad58c7c15130ccbe74c9fd0f0222f9a38d01dcd:/sistema/www/servicios/agenda/agenda1.php diff --git a/sistema/www/servicios/agenda/agenda1.php b/sistema/www/servicios/agenda/agenda1.php index 252b984..f5e30af 100644 --- a/sistema/www/servicios/agenda/agenda1.php +++ b/sistema/www/servicios/agenda/agenda1.php @@ -23,9 +23,14 @@ Autor: Martin Marrese ------------------------------------------------------------------------------- $Id$ -----------------------------------------------------------------------------*/ + +require_once 'MECON/general.php'; +prepend_include_path('/home/mmarrese/public_html/meconlib/lib/'); + //REQUIRE ONCE {{{ require_once '../../../local_lib/Servicios/Agenda.php'; require_once 'HTML/Table.php'; +require_once 'MECON/HTML/Tabla.php'; require_once '../../../local_lib/HTML_DietMarco.php'; require_once 'MECON/HTML/QuickForm.php'; require_once 'HTML/Image.php'; @@ -39,8 +44,10 @@ if (DB::isError($DB)) { } //}}} //CREO LOS OBJETOS NECESARIOS {{{ +$TABLAFORM = new Tabla ('width="500"', 'servicio'); $MARCO = new HTML_DietMarco('servicios'); $FORM = new MECON_HTML_QuickForm('agenda', 'post', 'agenda2', '', array ('onSubmit' => "return validar(this)", 'action' => '')); +$FORM->renderer->setTable($TABLAFORM); $TABLA = new HTML_Table('width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"'); $IMG1 = new HTML_Image('../../images/servicios_agenda_lupa.gif'); $IMG2 = new HTML_Image('../../images/servicios_agenda_mail.gif'); @@ -81,8 +88,6 @@ $FORM->addRule('interno','El interno debe ser numerico','numeric'); //}}} //ACOMODO EL FORM {{{ $MARCO->addStyleSheet(PATH_RAIZ.'css/servicios_agenda.css'); //EL PROBLEMA QUE ESTO LO NECESITO PARA QUE FUNCIONE EL RENDERER NUEVO -$FORM->setRenderer('MECON_HTML_QuickForm_Renderer_Tabla_Servicios'); -$FORM->setRendererOpts('width="500"'); //}}} //ARMO LA TABLA {{{ $TABLA->addRow(array($LINK_1->toHtml(), $LINK_2->toHtml(), $TELECO->toHtml()));