X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/44fcb3a7b8938f963abbb0579d7b9283fcf739df..f05f1b7fbe5df248ba7f3b9506dfa313fad063bb:/sistema/www/sistemas.php?ds=sidebyside diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index 46e6310..4c81300 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -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', ) );