]> git.llucax.com Git - mecon/intranet.git/blobdiff - sistema/www/sistemas.php
Se hace que los sistemas se abran en ventana nueva sin decoraciones.
[mecon/intranet.git] / sistema / www / sistemas.php
index 46e6310aad0b0f2954febdfe12c65ee579ba2ffe..4c81300dc37e34e38c8cd1ac9b8d6a94005820ae 100644 (file)
@@ -72,7 +72,7 @@ while ($sistema) {
         if ($sistema) {
             $url = $sistema->link;
             if ($sistema->tipo == 'embperl') {
-                $url .= '?soy_embperl=1';
+                $url = '/Php2Embperl_Session?redirect=' . urlencode($url);
             }
             $img = new MECON_HTML_Image(
                     "/sistemas/intranet/images/$sistema->icono",
@@ -88,6 +88,9 @@ while ($sistema) {
                 $img,
                                array(),
                        array(
+                    'OnClick' =>
+                        "javascript:window.open('$url','s{$sistema->sistema}',"
+                        . "'width=800,height=600,scrollbars=yes');return false;",
                                    'target' => '_blank',
                                )
                    );
@@ -97,6 +100,9 @@ while ($sistema) {
                 $sistema->nombre,
                                array(),
                        array(
+                    'OnClick' =>
+                        "javascript:window.open('$url','s{$sistema->sistema}',"
+                        . "'width=800,height=600,scrollbars=yes');return false;",
                                    'target' => '_blank',
                     'class' => 'intranet_sistemas_txt',
                                )
@@ -113,6 +119,10 @@ while ($sistema) {
                                        $img,
                                        array(),
                                        array(
+                        'OnClick' =>
+                            "javascript:window.open('{$sistema->link_ayuda}',"
+                            . "'sa{$sistema->sistema}',"
+                            . "'width=800,height=600,scrollbars=yes');return false;",
                         'target' => '_blank',
                     )
                                );