X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/fc32613380df9845ff3916e36771f361d0469345..96d0c72ea363cd0557db957cb280f56f87917396:/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 + ?>