2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // | Ministerio de Economía |
6 // +--------------------------------------------------------------------+
7 // | This file is part of Intranet. |
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. |
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. |
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:14:06 2003 |
24 // | Autor: Gonzalo Merayo <gmeray@mecon.gov.ar> |
25 // +--------------------------------------------------------------------+
27 // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
33 require_once 'HTML/Table.php';
36 // +X2C Class 162 :HTML_Copete
40 class HTML_Copete extends HTML_Table {
50 function HTML_Copete($seccion) // ~X2C
52 $mapa = '<map name="intranet">
53 <area shape="rect" coords="14,0,209,54" href="#" alt="Intranet" title="Intranet" >
54 <area shape="rect" coords="605,17,629,41" alt="E-mail" title="E-mail" href="mailto:intranet2@mecon.gov.ar">
55 <area shape="rect" coords="645,17,669,41" href="https://ldapmaster.mecon.ar/bbng/servlet/ServletDispatcher?hans=gui.FormPassUsr" alt="Cambio de Clave" title="Cambio de Clave" >
56 <area shape="rect" coords="685,17,709,41" href="#" alt="Ayuda" title="Ayuda">
57 <area shape="rect" coords="726,17,750,41" alt="Logout" title="Logout" href="'.PATH_RAIZ.'logout.php">
58 <area shape="poly" coords="473,19,473,43,475,45,561,45,563,43,563,19,561,17,475,17,473,19,473,19" href="'.PATH_RAIZ.'sistemas.php" alt="Sistemas" title="Sistemas" >
59 <area shape="poly" coords="366,19,366,43,368,45,454,45,456,43,456,19,454,17,368,17,366,19,366,19" href="'.PATH_RAIZ.'servicios.php" alt="Servicios" title="Servicios" >
60 <area shape="poly" coords="258,20,258,44,260,46,346,46,348,44,348,20,346,18,260,18,258,20,258,20" href="'.PATH_RAIZ.'noticias.php" alt="Noticias" title="Noticias" >
64 parent::HTML_Table(array('width' => '760',
67 'cellpadding' => '0'));
68 $anchos = array('12', '25', '712', '11');
70 foreach($anchos as $a)
71 $fila[] = '<img src="'.PATH_RAIZ.'"images/blanco.gif" width="'.$a.'" height="1">';
73 $img_seccion = 'images/copete_'.$seccion.'.jpg';
74 $this->addRow(array('<img src="'.PATH_RAIZ.$img_seccion.'" width="760" height="66" border="0" usemap="#intranet">'.$mapa), array('colspan' => '4'));
76 $fila[] = '<img src="'.PATH_RAIZ.'images/copete_inicio.gif" height="30" border="0">';
77 $fila[] = '<img src="'.PATH_RAIZ.'images/copete_flecha_azul.gif" height="30" border="0">';
80 case 'noticias': $fila[] = 'Enlaces útiles:
81 <a href="http://www.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
82 Ministerio de Economía y Producción
85 <a href="http://boletinoficial.mecon.ar/" target="_blank" class="copete_TextBlue">
86 Boletín Oficial
89 <a href="http://infoleg.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
93 <a href="http://cdi.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
97 case 'servicios': $fila[] = '<span class="copete_titulo_uno">Servicios</span>';
99 case 'sistemas': $fila[] = '<span class="copete_titulo_uno">Sistemas</span>';
102 $fila[] = '<img src="'.PATH_RAIZ.'images/copete_fin.gif" height="30" border="0">';
103 $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
104 $this->updateCellAttributes(2,0,array('width'=>'12'));
105 $this->updateCellAttributes(2,1,array('width'=>'25'));
106 $this->updateCellAttributes(2,2,array('width'=>'712'));
107 $this->updateCellAttributes(2,3,array('width'=>'11'));
111 // +X2C Operation 169
116 function getCSS() // ~X2C
118 return PATH_RAIZ."css/copete.css";
122 } // -X2C Class :HTML_Copete