X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/19284c51bfd93be9cb66ff7c7246958e95956fa5..89bf19b89812163353d94256d7adb0f3a9cda453:/sistema/local_lib/HTML_Servicio.php?ds=sidebyside diff --git a/sistema/local_lib/HTML_Servicio.php b/sistema/local_lib/HTML_Servicio.php index 51a2cce..28b8fbd 100644 --- a/sistema/local_lib/HTML_Servicio.php +++ b/sistema/local_lib/HTML_Servicio.php @@ -74,9 +74,10 @@ class HTML_Servicio extends HTML_Table { */ function toHTML() // ~X2C { - echo ''; if($this->servicio->link == '') $this->servicio->link = 'servicios.php?servicios='.$this->servicio->servicio; + elseif($this->servicio->necesita_logueo) + $this->servicio->link = 'login.php?redirect='.$this->servicio->servicio; $l = new HTML_Link($this->servicio->link, $this->servicio->nombre, array(), array('class' => 'servicio_titulo_tabla')); $this->addRow(array('   '.$l->toHTML()), @@ -108,6 +109,8 @@ class HTML_Servicio extends HTML_Table { { if($s->link == '') $s->link = 'servicios.php?servicios='.$s->servicio; + elseif($s->necesita_logueo) + $s->link = 'login.php?redirect='.$s->servicio; if($par) { $int->setCellContents(0, 3, new HTML_Link($s->link, $s->nombre, @@ -139,5 +142,16 @@ class HTML_Servicio extends HTML_Table { } // -X2C + // +X2C Operation 170 + /** + * @return void + * @access public + */ + function getCSS() // ~X2C + { + return "css/servicio.css"; + } + // -X2C + } // -X2C Class :HTML_Servicio ?>