X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/ac29a138e10e12fa3f0567323b7ab99ac900ab9d..22697d7dcb9c700a75c795c618d8a2fe3e51a9bd:/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 233f349..6b298ec 100644 --- a/sistema/local_lib/HTML_Servicio.php +++ b/sistema/local_lib/HTML_Servicio.php @@ -72,7 +72,7 @@ class HTML_Servicio extends HTML_Table { function toHTML() // ~X2C { if($this->servicio->link == '') - $this->servicio->link = '?servicios='.$this->servicio->servicio; + $this->servicio->link = $_SERVER['PHP_SELF'].'?servicios='.$this->servicio->servicio; elseif($this->servicio->necesita_logueo) $this->servicio->link = 'login?redirect='.$this->servicio->servicio; $l = new MECON_HTML_Link($this->servicio->link, $this->servicio->nombre, array(), @@ -108,7 +108,7 @@ class HTML_Servicio extends HTML_Table { foreach($this->servicio->getHijos() as $s) { if($s->link == '') - $s->link = '?servicios='.$s->servicio; + $s->link = $_SERVER['PHP_SELF'].'?servicios='.$s->servicio; elseif($s->necesita_logueo) $s->link = 'login?redirect='.$s->servicio; $link = new MECON_HTML_Link($s->link, $s->nombre, @@ -159,4 +159,5 @@ class HTML_Servicio extends HTML_Table { // -X2C } // -X2C Class :HTML_Servicio + ?>