]> git.llucax.com Git - mecon/intranet.git/blob - sistema/local_lib/HTML_DietMarco.php
b18d2e87b9c5a51aa4f990e5b978be37c572bd2f
[mecon/intranet.git] / sistema / local_lib / HTML_DietMarco.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // |                      Ministerio de Econom�                        |
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 10 15:03:36 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 define('PATH_RAIZ','/sistemas/intranet/');
31
32 require_once 'HTML_Copete.php';
33
34 // +X2C includes
35 require_once 'HTML/Page.php';
36 // ~X2C
37
38 // +X2C Class 154 :HTML_DietMarco
39 /**
40  * @access public
41  */
42 class HTML_DietMarco extends HTML_Page {
43     // ~X2C
44
45
46
47     // +X2C Operation 157
48     /**
49      * @param  int $title 
50      *
51      * @return void
52      * @access public
53      */
54     function addTitle($title) // ~X2C
55     {
56         $this->_title .= ' - '.$title;
57     }
58     // -X2C
59
60     // +X2C Operation 158
61     /**
62      * @param  string $seccion 
63      * @param  string $titulo 
64      *
65      * @return void
66      * @access public
67      */
68     function HTML_DietMarco($seccion, $titulo) // ~X2C
69     {
70         parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional',
71                                  'charset'  => 'iso-8859-1',
72                                  'lineend'  => 'unix',
73                                  'language' => 'es',
74                                  'cache'    => 'false',
75                                  'simple'   => 'true'));
76         $this->_title = 'Intranet';
77             $copete =& new HTML_Copete($seccion);
78         $copete->setTitulo($titulo);
79         $this->addStyleSheet(PATH_RAIZ.'css/dietmarco.css');
80             $this->addBodyContent($copete);
81         
82     }
83     // -X2C
84
85     // +X2C Operation 168
86     /**
87      * @param  int $content 
88      *
89      * @return void
90      * @access public
91      */
92     function addBodyContent($content) // ~X2C
93     {
94         if(method_exists($content, 'getcss'))
95             $this->addStyleSheet($content->getCSS());
96         parent::addBodyContent($content);
97     }
98     // -X2C
99
100     // +X2C Operation 179
101     /**
102      * @param  int $titulo 
103      *
104      * @return void
105      * @access public
106      */
107     function setTituloCopete($titulo) // ~X2C
108     {
109     }
110     // -X2C
111
112 } // -X2C Class :HTML_DietMarco
113 ?>