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 HTML_Table('width="500" align="right"');
33 $LINK0 =& new MECON_HTML_Link('sistemas', 'Ver informacion
34 de los sistemas.', array('accion'=>'info_listado'));
35 $LINK1 =& new MECON_HTML_Link('sistemas', 'Activar
36 Sistemas.', array('accion'=>'activar_sistema'));
37 $LINK2 =& new MECON_HTML_Link('usuarios', 'Ver informacion
38 de los usuarios.', array('accion'=>'filtrar'));
39 $LINK3 =& new MECON_HTML_Link ('php-constantes',
40 'Bajar la definicion de constantes de un sistema.');
42 $IMG0 =& new MECON_HTML_Image('../images/verinfodesist.gif');
43 $IMG1 =& new MECON_HTML_Image('../images/activar.gif');
44 $IMG2 =& new MECON_HTML_Image('../images/verusuario.gif');
45 $IMG3 =& new MECON_HTML_Image('../images/bajar.gif');
47 $IMG4 =& new MECON_HTML_Image('/MECON/images/blanco.gif');
49 $LINK00 =& new MECON_HTML_Link('sistemas', $IMG0,
50 array('accion'=>'info_listado'));
51 $LINK11 =& new MECON_HTML_Link('sistemas', $IMG1,
52 array('accion'=>'info_listado'));
53 $LINK22 =& new MECON_HTML_Link('sistemas', $IMG2,
54 array('accion'=>'info_listado'));
55 $LINK33 =& new MECON_HTML_Link('sistemas', $IMG3,
56 array('accion'=>'info_listado'));
58 //AGREGO LA INFO A LAS TABLAS {{{
59 $TABLA->addRow(array($LINK00->toHtml(),$LINK0->toHtml()), 'align="left"');
60 $TABLA->addRow(array($IMG4->toHtml()), 'colspan="2"');
61 $TABLA->addRow(array($LINK11->toHtml(),$LINK1->toHtml()), 'align="left"');
62 $TABLA->addRow(array($IMG4->toHtml()), 'colspan="2"');
63 $TABLA->addRow(array($LINK22->toHtml(),$LINK2->toHtml()), 'align="left"');
64 $TABLA->addRow(array($IMG4->toHtml()), 'colspan="2"');
65 $TABLA->addRow(array($LINK33->toHtml(),$LINK3->toHtml()), 'align="left"');
67 //DIBUJO LA PAGINA {{{
68 $MARCO->addBodyContent($TABLA);