]> git.llucax.com Git - mecon/intranet.git/commitdiff
arreglo copete....1 mas
authorGonzalo Merayo <merayo@gmail.com>
Tue, 2 Sep 2003 18:58:48 +0000 (18:58 +0000)
committerGonzalo Merayo <merayo@gmail.com>
Tue, 2 Sep 2003 18:58:48 +0000 (18:58 +0000)
sistema/local_lib/HTML_Copete.php

index 9e68b66ef5f7e1fcfe5f9f2d75dab239dd4c9c87..3b45beff2af17add25b51f26d52345beb549629c 100644 (file)
@@ -49,16 +49,29 @@ class HTML_Copete extends HTML_Table {
      */
     function HTML_Copete($seccion) // ~X2C
     {
      */
     function HTML_Copete($seccion) // ~X2C
     {
-    $mapa = '<map name="intranet">
-            <area shape="rect" coords="14,0,209,54" href="#" alt="Intranet" title="Intranet" > 
-            <area shape="rect" coords="605,17,629,41" alt="E-mail" title="E-mail" href="mailto:intranet2@mecon.gov.ar"> 
-            <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" > 
-            <area shape="rect" coords="685,17,709,41" href="#" alt="Ayuda" title="Ayuda"> 
-            <area shape="rect" coords="726,17,750,41" alt="Logout" title="Logout" href="'.PATH_RAIZ.'logout.php"> 
-            <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" > 
-            <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" > 
-            <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" > 
-         </map>';
+    $mapa = '<map name="intranet"
+               ><area shape="rect" coords="14,0,209,54"
+                     href="#" alt="Intranet" title="Intranet"
+              ><area shape="rect" coords="605,17,629,41"
+                     alt="E-mail" title="E-mail"
+                     href="mailto:intranet2@mecon.gov.ar"
+              ><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"
+              ><area shape="rect" coords="685,17,709,41" href="#"
+                     alt="Ayuda" title="Ayuda"
+              ><area shape="rect" coords="726,17,750,41" alt="Logout"
+                     title="Logout" href="'.PATH_RAIZ.'logout.php"
+              ><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" 
+              ><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"
+              ><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"
+            ></map>';
 
 
 parent::HTML_Table(array('width'  => '760',
 
 
 parent::HTML_Table(array('width'  => '760',
@@ -100,11 +113,11 @@ parent::HTML_Table(array('width'  => '760',
              break;
     }
     $fila[] = '<img src="'.PATH_RAIZ.'images/copete_fin.gif" height="30" border="0">';
              break;
     }
     $fila[] = '<img src="'.PATH_RAIZ.'images/copete_fin.gif" height="30" border="0">';
-    $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));        
-    $this->updateCellAttributes(2,0,array('width'=>'12'));
-    $this->updateCellAttributes(2,1,array('width'=>'25'));
-    $this->updateCellAttributes(2,2,array('width'=>'712'));
-    $this->updateCellAttributes(2,3,array('width'=>'11'));
+    $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
+    {
+      for($n = 0; $n < 4; $n++)
+        $this->updateCellAttributes(1, $n, array('width'=>$anchos[$n]));
+    }
     }
     // -X2C
 
     }
     // -X2C