]> git.llucax.com Git - mecon/intranet.git/blob - sistema/local_lib/HTML_DietMarco.php
Arreglo del login
[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 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  * @package sistema_local_lib
43  * @access public
44  */
45 class HTML_DietMarco extends HTML_Page {
46     // ~X2C
47
48
49
50     // +X2C Operation 157
51     /**
52      * @param  int $title 
53      *
54      * @return void
55      * @access public
56      */
57     function addTitle($title) // ~X2C
58     {
59         $this->_title .= ' - '.$title;
60     }
61     // -X2C
62
63     // +X2C Operation 158
64     /**
65      * @param  string $seccion 
66      * @param  string $titulo 
67      *
68      * @return void
69      * @access public
70      */
71     function HTML_DietMarco($seccion, $titulo) // ~X2C
72     {
73         parent::HTML_Page(array ('doctype'=>'HTML 4.01 Transitional',
74                                  'charset'  => 'iso-8859-1',
75                                  'lineend'  => 'unix',
76                                  'language' => 'es',
77                                  'cache'    => 'false',
78                                  'simple'   => 'true'));
79         $this->_title = 'Intranet XP';
80         $copete =& new HTML_Copete($seccion);
81         $copete->setTitulo($titulo);
82         $this->addBodyContent($copete);
83     }
84     // -X2C
85
86     // +X2C Operation 168
87     /**
88      * @param  int $content 
89      *
90      * @return void
91      * @access public
92      */
93     function addBodyContent($content) // ~X2C
94     {
95         if(method_exists($content, 'getcss'))
96             $this->addStyleSheet($content->getCSS());
97         parent::addBodyContent($content);
98     }
99     // -X2C
100
101     // +X2C Operation 179
102     /**
103      * @param  int $titulo 
104      *
105      * @return void
106      * @access public
107      */
108     function setTituloCopete($titulo) // ~X2C
109     {
110     }
111     // -X2C
112
113 } // -X2C Class :HTML_DietMarco
114 ?>