]> git.llucax.com Git - mecon/intranet.git/blob - sistema/local_lib/HTML_DietMarco.php
Se termina de acomodar el look&feel de sistemas.
[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í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 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 session_start();//FIXME esto va en algun otro lado...
31
32 define('PATH_RAIZ','/sistemas/intranet/');
33
34 require_once 'HTML_Copete.php';
35
36 // +X2C includes
37 require_once 'HTML/Page.php';
38 // ~X2C
39
40 // +X2C Class 154 :HTML_DietMarco
41 /**
42  * @access public
43  */
44 class HTML_DietMarco extends HTML_Page {
45     // ~X2C
46
47
48
49     // +X2C Operation 157
50     /**
51      * @param  int $title 
52      *
53      * @return void
54      * @access public
55      */
56     function addTitle($title) // ~X2C
57     {
58         $this->_title .= ' - '.$title;
59     }
60     // -X2C
61
62     // +X2C Operation 158
63     /**
64      * @param  string $seccion 
65      *
66      * @return void
67      * @access public
68      */
69     function HTML_DietMarco($seccion) // ~X2C
70     {
71         parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional',
72                                  'charset'  => 'iso-8859-1',
73                                  'lineend'  => 'unix',
74                                  'language' => 'es',
75                                  'cache'    => 'false',
76                                  'simple'   => 'true'));
77         $this->_title = 'Intranet bla bla..';
78         $this->addBodyContent(new HTML_Copete($seccion));
79     }
80     // -X2C
81
82     // +X2C Operation 168
83     /**
84      * @param  int $content 
85      *
86      * @return void
87      * @access public
88      */
89     function addBodyContent($content) // ~X2C
90     {
91         if(method_exists($content, 'getcss'))
92             $this->addStyleSheet($content->getCSS());
93         parent::addBodyContent($content);
94     }
95     // -X2C
96
97 } // -X2C Class :HTML_DietMarco
98 ?>