]> git.llucax.com Git - mecon/intranet.git/commitdiff
Agrego a Copete y DietMarco
authorGonzalo Merayo <merayo@gmail.com>
Thu, 10 Jul 2003 18:23:28 +0000 (18:23 +0000)
committerGonzalo Merayo <merayo@gmail.com>
Thu, 10 Jul 2003 18:23:28 +0000 (18:23 +0000)
doc/intranet.xmi [new file with mode: 0644]
doc/xmi2code.config
sistema/local_lib/HTML_Copete.php [new file with mode: 0644]
sistema/local_lib/HTML_DietMarco.php [new file with mode: 0644]

diff --git a/doc/intranet.xmi b/doc/intranet.xmi
new file mode 100644 (file)
index 0000000..a6b4281
--- /dev/null
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
+ <XMI.header>
+  <XMI.documentation>
+   <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
+   <XMI.exporterVersion>1.1</XMI.exporterVersion>
+  </XMI.documentation>
+  <XMI.model xmi.name="intranet" href="/home/gmeray/747/public_html/intranet/doc/intranet.xmi" />
+  <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
+ </XMI.header>
+ <XMI.content>
+  <docsettings viewid="152" documentation="" uniqueid="164" />
+  <umlobjects>
+   <UML:Class stereotype="" package="" xmi.id="153" abstract="0" documentation="x2c:extern
+x2c:include:HTML/Page.php
+" name="HTML_Page" static="0" scope="200" />
+   <UML:Class stereotype="" package="sistema/local_lib" xmi.id="154" abstract="0" documentation="" name="HTML_DietMarco" static="0" scope="200" >
+    <UML:Operation stereotype="" package="" xmi.id="155" type="void" abstract="0" documentation="" name="toHTML" static="0" scope="200" />
+    <UML:Operation stereotype="" package="" xmi.id="156" type="void" abstract="0" documentation="" name="addBody" static="0" scope="200" >
+     <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="" name="body" static="0" scope="200" />
+    </UML:Operation>
+    <UML:Operation stereotype="" package="" xmi.id="157" type="void" abstract="0" documentation="" name="addTitle" static="0" scope="200" >
+     <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="" name="title" static="0" scope="200" />
+    </UML:Operation>
+    <UML:Operation stereotype="" package="" xmi.id="158" type="void" abstract="0" documentation="" name="HTML_DietMarco" static="0" scope="200" >
+     <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="string" abstract="0" documentation="" name="seccion" static="0" scope="200" />
+    </UML:Operation>
+    <UML:Attribute stereotype="" package="" xmi.id="159" value="" type="int" abstract="0" documentation="" name="body" static="0" scope="200" />
+    <UML:Attribute stereotype="" package="" xmi.id="160" value="" type="int" abstract="0" documentation="" name="title" static="0" scope="200" />
+    <UML:Attribute stereotype="" package="" xmi.id="161" value="" type="int" abstract="0" documentation="" name="copete" static="0" scope="200" />
+   </UML:Class>
+   <UML:Class stereotype="" package="sistema/local_lib" xmi.id="162" abstract="0" documentation="" name="HTML_Copete" static="0" scope="200" >
+    <UML:Operation stereotype="" package="" xmi.id="163" type="void" abstract="0" documentation="" name="HTML_Copete" static="0" scope="200" >
+     <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="" name="seccion" static="0" scope="200" />
+    </UML:Operation>
+   </UML:Class>
+   <UML:Class stereotype="" package="" xmi.id="164" abstract="0" documentation="x2c:extern
+x2c:include:HTML/Table.php
+" name="HTML_Table" static="0" scope="200" />
+  </umlobjects>
+  <diagrams>
+   <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="152" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="30000" showstereotype="0" showscope="1" font="Helvetica,8,-1,5,50,0,0,0,0,0" linecolor="#ff0000" >
+    <widgets>
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="77" showattsigs="601" usesdiagramusefillcolour="0" x="199" linecolour="#ff0000" y="99" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="32" usefillcolor="1" showattributes="1" xmi.id="153" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="236" showattsigs="601" usesdiagramusefillcolour="0" x="85" linecolour="#ff0000" y="240" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="128" usefillcolor="1" showattributes="1" xmi.id="154" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="204" showattsigs="601" usesdiagramusefillcolour="0" x="390" linecolour="#ff0000" y="213" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="40" usefillcolor="1" showattributes="1" xmi.id="162" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="1" width="80" showattsigs="601" usesdiagramusefillcolour="1" x="410" linecolour="none" y="86" showopsigs="601" usesdiagramlinecolour="1" fillcolour="none" height="32" usefillcolor="1" showattributes="1" xmi.id="164" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+    </widgets>
+    <messages/>
+    <associations>
+     <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="153" widgetaid="154" documentation="" type="500" >
+      <linepath>
+       <startpoint startx="203" starty="240" />
+       <endpoint endx="237" endy="131" />
+      </linepath>
+     </UML:AssocWidget>
+     <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="164" widgetaid="162" documentation="" type="500" >
+      <linepath>
+       <startpoint startx="492" starty="213" />
+       <endpoint endx="450" endy="118" />
+      </linepath>
+     </UML:AssocWidget>
+    </associations>
+   </diagram>
+  </diagrams>
+  <listview>
+   <listitem open="1" type="800" id="-1" label="Views" >
+    <listitem open="1" type="801" id="-1" label="Logical View" >
+     <listitem open="1" type="813" id="162" label="HTML_Copete" >
+      <listitem open="0" type="815" id="163" label="HTML_Copete" />
+     </listitem>
+     <listitem open="1" type="813" id="154" label="HTML_DietMarco" >
+      <listitem open="0" type="815" id="158" label="HTML_DietMarco" />
+      <listitem open="0" type="815" id="156" label="addBody" />
+      <listitem open="0" type="815" id="157" label="addTitle" />
+      <listitem open="0" type="814" id="159" label="body" />
+      <listitem open="0" type="814" id="161" label="copete" />
+      <listitem open="0" type="814" id="160" label="title" />
+      <listitem open="0" type="815" id="155" label="toHTML" />
+     </listitem>
+     <listitem open="1" type="813" id="153" label="HTML_Page" />
+     <listitem open="1" type="813" id="164" label="HTML_Table" />
+     <listitem open="0" type="807" id="152" label="class diagram" />
+    </listitem>
+    <listitem open="1" type="802" id="-1" label="Use Case View" />
+   </listitem>
+  </listview>
+ </XMI.content>
+</XMI>
index ce50d4d4c6f82ba5ca8082ab05bcb65b462c1066..487b4cb2bb190f3c8f86d488c5860a97ec1afd89 100644 (file)
@@ -32,6 +32,7 @@
 <xmi2code>
   <option key="target" value="*"/>
   <option key="xmi-input" value="noticias.xmi"/>
 <xmi2code>
   <option key="target" value="*"/>
   <option key="xmi-input" value="noticias.xmi"/>
+  <option key="xmi-input" value="intranet.xmi"/>
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
   <option key="config-file" value="xmi2code.config"/>
   <option key="config-file-set" value="false"/>
   <option key="handler" value="umbrello"/>
diff --git a/sistema/local_lib/HTML_Copete.php b/sistema/local_lib/HTML_Copete.php
new file mode 100644 (file)
index 0000000..da4cc5b
--- /dev/null
@@ -0,0 +1,97 @@
+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// |                      Ministerio de Economía                        |
+// |                             Intranet                              |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet.                                    |
+// |                                                                    |
+// | Intranet is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published  |
+// | by the Free Software Foundation; either version 2 of the License,  |
+// | or (at your option) any later version.                             |
+// |                                                                    |
+// | Intranet is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of         |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
+// | General Public License for more details.                           |
+// |                                                                    |
+// | You should have received a copy of the GNU General Public License  |
+// | along with Hooks; if not, write to the Free Software Foundation,   |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
+// +--------------------------------------------------------------------+
+// | Creado: Thu Jul 10 15:14:06 2003                                   |
+// | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
+// +--------------------------------------------------------------------+
+//
+// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
+//
+
+
+
+// +X2C includes
+require_once 'HTML/Table.php';
+// ~X2C
+
+// +X2C Class 162 :HTML_Copete
+/**
+ * @access public
+ */
+class HTML_Copete extends HTML_Table {
+    // ~X2C
+
+    // +X2C Operation 163
+    /**
+     * @param  int $seccion 
+     *
+     * @return void
+     * @access public
+     */
+    function HTML_Copete($seccion) // ~X2C
+    {
+    echo '<link rel="stylesheet" href="css/copete.css">';
+    echo '<map name="intranet">
+            <area shape="rect" coords="14,0,209,54" href="#" alt="Intranet" title="Intranet" > 
+            <area shape="rect" coords="605,17,629,41" href="#" alt="Mapa de Intranet" title="Mapa de Intranet" > 
+            <area shape="rect" coords="645,17,669,41" href="#" alt="Cambio de Clave" title="Cambio de Clave" > 
+            <area shape="rect" coords="685,17,709,41" href="#" alt="Ayuda" title="Ayuda" > 
+            <area shape="rect" coords="726,17,750,41" href="#" alt="E-mail" title="E-mail" > 
+            <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="sistemas.php" alt="Sistemas" title="Sistemas" > 
+            <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="servicios.php" alt="Servicios" title="Servicios" > 
+            <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="noticias.php" alt="Noticias" title="Noticias" > 
+         </map>';
+
+
+parent::HTML_Table(array('width'  => '760',
+                             'border' => '0',
+                            'cellspacing' => '0',
+                            'cellpadding' => '0'));
+    $anchos = array('12', '25', '712', '11');
+    $fila = array();
+    foreach($anchos as $a)
+      $fila[] = '<img src="images/blanco.gif" width="'.$a.'" height="1">';
+    $this->addRow($fila);
+    $seccion = 'images/copete_'.$s.'.jpg';
+    $this->addRow(array('<img src="'.$seccion.'" width="760" height="66" border="0" usemap="#intranet">'), array('colspan' => '4'));
+    $fila = array();
+    $fila[] = '<img src="images/copete_inicio.gif" height="30" border="0">';
+    $fila[] = '<img src="images/copete_flecha_azul.gif" height="30" border="0">';
+    switch($s)
+    {
+      case 'noticias': $fila[] = 'Enlaces &uacute;tiles: <a href="http://www.mecon.gov.ar/" target="_blank"><span class="TextBlue">Ministerio 
+      de Economía y Producción</span></a><span class="TextBlue"> - <a href="http://boletinoficial.mecon.ar/" target="_blank">Bolet&iacute;n 
+      Oficial</a> - <a href="http://infoleg.mecon.gov.ar/" target="_blank">INFOLEG</a> 
+      - <a href="http://cdi.mecon.gov.ar/" target="_blank">CDI</a></span>';
+             break;
+     case 'servicios': $fila[] = '<span class="titulo_uno">Servicios</span>';
+             break;
+     case 'sistemas': $fila[] = '<span class="titulo_uno">Sistemas</span>';
+             break;
+    }
+    $fila[] = '<img src="images/copete_fin.gif" height="30" border="0">';
+    $this->addRow($fila, array('class' => 'titulo_vinculos'));        
+    }
+    // -X2C
+
+} // -X2C Class :HTML_Copete
+?>
\ No newline at end of file
diff --git a/sistema/local_lib/HTML_DietMarco.php b/sistema/local_lib/HTML_DietMarco.php
new file mode 100644 (file)
index 0000000..a0ec461
--- /dev/null
@@ -0,0 +1,115 @@
+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// |                      Ministerio de Economía                        |
+// |                             Intranet                              |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet.                                    |
+// |                                                                    |
+// | Intranet is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published  |
+// | by the Free Software Foundation; either version 2 of the License,  |
+// | or (at your option) any later version.                             |
+// |                                                                    |
+// | Intranet is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of         |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
+// | General Public License for more details.                           |
+// |                                                                    |
+// | You should have received a copy of the GNU General Public License  |
+// | along with Hooks; if not, write to the Free Software Foundation,   |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
+// +--------------------------------------------------------------------+
+// | Creado: Thu Jul 10 15:03:36 2003                                   |
+// | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
+// +--------------------------------------------------------------------+
+//
+// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
+//
+
+require_once 'HTML_Copete.php';
+
+// +X2C includes
+require_once 'HTML/Page.php';
+// ~X2C
+
+// +X2C Class 154 :HTML_DietMarco
+/**
+ * @access public
+ */
+class HTML_DietMarco extends HTML_Page {
+    /**
+     * @var    int $body
+     * @access public
+     */
+    var $body;
+
+    /**
+     * @var    int $title
+     * @access public
+     */
+    var $title;
+
+    /**
+     * @var    int $copete
+     * @access public
+     */
+    var $copete;
+
+    // ~X2C
+
+    // +X2C Operation 155
+    /**
+     * @return void
+     * @access public
+     */
+    function toHTML() // ~X2C
+    {
+        $html =& $this->copete->toHTML();
+       return $html;
+    }
+    // -X2C
+
+    // +X2C Operation 156
+    /**
+     * @param  int $body 
+     *
+     * @return void
+     * @access public
+     */
+    function addBody($body) // ~X2C
+    {
+        $this->body[] = $body
+    }
+    // -X2C
+
+    // +X2C Operation 157
+    /**
+     * @param  int $title 
+     *
+     * @return void
+     * @access public
+     */
+    function addTitle($title) // ~X2C
+    {
+        trigger_error('Not implemented!', E_USER_WARNING);
+    }
+    // -X2C
+
+    // +X2C Operation 158
+    /**
+     * @param  string $seccion 
+     *
+     * @return void
+     * @access public
+     */
+    function HTML_DietMarco($seccion) // ~X2C
+    {
+        $this->title = 'Intranet bla bla..';
+       $this->copete = new HTML_Copete($seccion);
+        $this->body = array();
+    }
+    // -X2C
+
+} // -X2C Class :HTML_DietMarco
+?>
\ No newline at end of file