2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4 foldmethod=marker:
3 // +----------------------------------------------------------------------+
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997-2003 The PHP Group |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.02 of the PHP license, |
9 // | that is bundled with this package in the file LICENSE, and is |
10 // | available at through the world-wide-web at |
11 // | http://www.php.net/license/2_02.txt. |
12 // | If you did not receive a copy of the PHP license and are unable to |
13 // | obtain it through the world-wide-web, please send a note to |
14 // | license@php.net so we can mail you a copy immediately. |
15 // +----------------------------------------------------------------------+
16 // | Created: jue sep 18 13:29:34 ART 2003
17 // | Author: Martin Marrese <mmarre@mecon.gov.ar>
18 // +----------------------------------------------------------------------+
23 //VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{
24 $SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER);
27 require_once 'MECON/HTML/Tabla.php';
28 require_once 'MECON/HTML/Link.php';
29 require_once 'MECON/HTML/Image.php';
31 //CREO LOS OBJETOS NECESARIOS {{{
32 $TABLA =& new MECON_HTML_Tabla ('width="500"', 'claro');
33 $LINK_PHP_CONSTANTES =& new MECON_HTML_Link ('php-constantes',
34 'Bajar la definicion de constantes de un sistema.');
35 $LINK_INFO_SISTEMAS =& new MECON_HTML_Link('sistemas', 'Ver informacion
36 de los sistemas.', array('accion'=>'info_listado'));
37 $LINK_ACTIVAR_SISTEMAS =& new MECON_HTML_Link('sistemas', 'Activar
38 Sistemas.', array('accion'=>'activar_sistema'));
39 $LINK_INFO_USUARIOS =& new MECON_HTML_Link('usuarios', 'Ver informacion
40 de los usuarios.', array('accion'=>'filtrar'));
42 //AGREGO LA INFO A LAS TABLAS {{{
43 $TABLA->addRow(array($LINK_PHP_CONSTANTES->toHtml()), 'align="center"');
44 $TABLA->addRow(array($LINK_INFO_SISTEMAS->toHtml()) , 'align="center"');
45 $TABLA->addRow(array($LINK_ACTIVAR_SISTEMAS->toHtml()) , 'align="center"');
46 $TABLA->addRow(array($LINK_INFO_USUARIOS->toHtml()) , 'align="center"');
48 //DIBUJO LA PAGINA {{{
49 $MARCO->addBodyContent($TABLA);