]> git.llucax.com Git - personal/website.old.git/blob - includes/default-hooks/default-cabecera.php
No se baja más el sitio del LUGFI del svn, ahora está en el gforge.
[personal/website.old.git] / includes / default-hooks / default-cabecera.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // |                       Luca's Website (L'SWS)                       |
5 // +--------------------------------------------------------------------+
6 // | This file is part of L'SWS.                                        |
7 // |                                                                    |
8 // | L'SWS is free software; you can redistribute it and/or modify it   |
9 // | under the terms of the GNU General Public License as published by  |
10 // | the Free Software Foundation; either version 2 of the License, or  |
11 // | (at your option) any later version.                                |
12 // |                                                                    |
13 // | L'SWS is distributed in the hope that it will be useful, but       |
14 // | WITHOUT ANY WARRANTY; without even the implied warranty of         |
15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
16 // | General Public License for more details.                           |
17 // |                                                                    |
18 // | You should have received a copy of the GNU General Public License  |
19 // | along with Hooks; if not, write to the Free Software Foundation,   |
20 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
21 // +--------------------------------------------------------------------+
22 // | Created: vie ene 31 01:16:41 ART 2003                              |
23 // | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
24 // +--------------------------------------------------------------------+
25 //
26 // $Id$
27 //
28
29 require_once 'Hook.php';
30 require_once 'Hook/Menu.php';
31
32 /**
33  * Draws the HTML header.
34  */
35
36 global $CONFIG;
37 $menu  = $CONFIG['menu'];
38 $title = $CONFIG['title'];
39 $root  = $CONFIG['root'];
40
41 ?>
42 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
43 <!-- INICIO $Id$ -->
44 <HTML lang="es">
45     <? Hook::hook('head') ?>
46     <BODY>
47         <TABLE class="structure">
48             <TBODY>
49                 <TR>
50                     <TD class="logocontainer">
51                         <H1>Húngara</H1>
52                         <DIV>el</DIV>
53                         <DIV class="home">
54                             <A href="<?= $root ?>/">
55                                 <IMG src="<?= $root ?>/images/home"
56                                     alt="Volver a la página inicial"/>
57                             </A>
58                         </DIV>
59                     </TD>
60                     <TD class="titlecontainer" colspan="2">
61                         <H2><?= $title ?></H2>
62                     </TD>
63                 </TR>
64                 <TR>
65                     <TD class="menucontainer">
66                         <? Hook_Menu::menu($menu['up'], $menu['root'], $menu['deep'], $menu['level']) ?>
67                     </TD>
68                     <TD class="bodycontainer" colspan="2">
69 <!-- FIN $Id$ -->