]> git.llucax.com Git - personal/website.old.git/blob - includes/default-hooks/default-menu-item.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-menu-item.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: sáb feb  1 01:29:50 ART 2003                              |
23 // | Authors: Leandro Lucarella <luca@lugmen.org.ar>                    |
24 // +--------------------------------------------------------------------+
25 //
26 // $Id$
27 //
28
29 /**
30  * Draws the menu item.
31  *
32  * @param string $link Link where to point to.
33  * @param string $name Name of the link.
34  */
35 $link = @$args[1];
36 $name = @$args[2];
37 $root = $GLOBALS['CONFIG']['root'];
38
39 ?>
40 <!-- INICIO $Id$ -->
41 <TR>
42     <TD class="menuitem">
43         <IMG src="<?= $root ?>/images/menu_item"
44             class="menuitem" alt="Flecha item"/>
45         <A href="<?= $link ?>">
46             <?= $name ?>
47         </A>
48     </TD>
49 </TR>
50 <!-- FIN $Id$ -->