]> git.llucax.com Git - mecon/intranet.git/blob - sistema/local_lib/HTML_Servicio.php
ea8977faee19cd98c5418bf0a20c463f9d8c0ea5
[mecon/intranet.git] / sistema / local_lib / HTML_Servicio.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // |                      Ministerio de Economía                        |
5 // |                             Intranet                              |
6 // +--------------------------------------------------------------------+
7 // | This file is part of Intranet.                                    |
8 // |                                                                    |
9 // | Intranet is free software; you can redistribute it and/or modify  |
10 // | it under the terms of the GNU General Public License as published  |
11 // | by the Free Software Foundation; either version 2 of the License,  |
12 // | or (at your option) any later version.                             |
13 // |                                                                    |
14 // | Intranet is distributed in the hope that it will be useful, but   |
15 // | WITHOUT ANY WARRANTY; without even the implied warranty of         |
16 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
17 // | General Public License for more details.                           |
18 // |                                                                    |
19 // | You should have received a copy of the GNU General Public License  |
20 // | along with Hooks; if not, write to the Free Software Foundation,   |
21 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
22 // +--------------------------------------------------------------------+
23 // | Creado: Thu Jul 24 15:27:04 2003                                   |
24 // | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
25 // +--------------------------------------------------------------------+
26 //
27 // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
28 //
29
30
31 require_once 'HTML/Image.php';
32
33 // +X2C includes
34 require_once 'HTML/Table.php';
35 // ~X2C
36
37 // +X2C Class 165 :HTML_Servicio
38 /**
39  * @access public
40  */
41 class HTML_Servicio extends HTML_Table {
42     // ~X2C
43
44     // +X2C Operation 166
45     /**
46      * @param  int $seccion 
47      *
48      * @return void
49      * @access public
50      */
51     function HTML_Servicio($seccion) // ~X2C
52     {
53         parent::HTML_Table(array('width'       =>'360',
54                                  'border'      => '0',
55                                  'cellspacing' => '0',
56                                  'cellpadding' => '0',
57                                  'bgcolor'     => '#FFFFFF'));
58     }
59     // -X2C
60
61     // +X2C Operation 167
62     /**
63      * @return void
64      * @access public
65      */
66     function toHTML() // ~X2C
67     {
68         $this->addRow(array("Nombre(sin estilo)"),
69                           array('align' => 'center',
70                                 'class' => 'arboltitulo',
71                                 'background'=>'images/servicio_cabecera.gif',
72                                 'height'=>30));
73   $img = new HTML_Image('images/servicio_bullet.gif');
74   $int =& new HTML_Table(array('width'       =>'360',
75                                'border'      => '0',
76                                'cellspacing' => '0',
77                                'cellpadding' => '0',
78                                'bgcolor'     => '#FFFFFF'));
79   $int->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'),
80                           array('valign' => 'top'));
81   $int->updateColAttributes(0, array('width' => '10%',
82                     'background' => 'images/servicio_borde_sup_izq.gif'));
83   $int->updateColAttributes(1, array('width' => '40%',
84                     'background' => 'images/servicio_borde_sup_cen.gif'));
85   $int->updateColAttributes(2, array('width' => '10%',
86                     'background' => 'images/servicio_borde_sup_cen.gif'));
87   $int->updateColAttributes(3, array('width' => '40%',
88                     'background' => 'images/servicio_borde_sup_der.gif'));
89   $this->addRow(array($int));
90   $this->addRow(array($int));
91   $this->addRow(array($int));
92   $this->addRow(array(new HTML_Image('images/servicio_borde_inf.gif')));
93       return parent::toHTML();
94     }
95     // -X2C
96
97 } // -X2C Class :HTML_Servicio
98 ?>