Ignore:
Timestamp:
05/04/10 18:58:04 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Corrigindo problemas no expressoAdmin1_2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uimanagers.inc.php

    r2459 r2707  
    3535                                $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 
    3636                        } 
    37                         $GLOBALS['phpgw']->js->validate_file('jscode','connector','expressoAdmin1_2');#diretorio, arquivo.js, aplicacao 
     37                        $GLOBALS['phpgw']->js->validate_file('jscode','globals','expressoAdmin1_2'); 
     38                        $GLOBALS['phpgw']->js->validate_file('jscode','connector','expressoAdmin1_2'); 
    3839                        $GLOBALS['phpgw']->js->validate_file('jscode','expressoadmin','expressoAdmin1_2'); 
    3940                        $GLOBALS['phpgw']->js->validate_file('jscode','managers','expressoAdmin1_2'); 
     
    124125 
    125126                        $p->set_var($var); 
    126                         echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/controller.php' )}?action=';</script>" . $GLOBALS['phpgw']->js->get_script_links( ); 
     127                        $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script_thirst' ] .= "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>"; 
     128                        //echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/controller.php' )}?action=';</script>" . $GLOBALS['phpgw']->js->get_script_links( ); 
    127129                        $p->pfp('out','body'); 
    128130                } 
     
    170172                        // Seta variaveis que estao no TPL 
    171173                        $var = Array( 
    172                                 'scripts_java'                  =>      $scripts_java,   
     174                                'scripts_java'                  =>      '',//$scripts_java,      
    173175                                //'action'                              => $GLOBALS['phpgw']->link('/index.php','menuaction=expressoAdmin1_2.uimanagers.validate'), 
    174176                                //'action'                              => $GLOBALS['phpgw']->link('/index.php','menuaction=expressoAdmin1_2.bomanagers.add_managers'), 
     
    302304 
    303305                        $var = Array( 
    304                                 'scripts_java'                          => $scripts_java, 
     306                                'scripts_java'                          => '',//$scripts_java, 
    305307                                'action'                                        => $GLOBALS['phpgw']->link('/index.php','menuaction=expressoAdmin1_2.uimanagers.validate'), 
    306308                                'display_samba_suport'          => $this->config['expressoAdmin_samba_support'] == 'true' ? '' : 'display:none', 
     
    344346                                } 
    345347                        } 
    346                          
    347                         echo "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>" . $GLOBALS['phpgw']->js->get_script_links( ); 
     348 
     349                        $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script_thirst' ] .= "<script>var expressoAdmin_controller = '{$GLOBALS[ 'phpgw' ] -> link( '/expressoAdmin1_2/controller.php' )}?action=';</script>"; 
    348350                        echo $p->fp('out','form'); 
    349351                } 
Note: See TracChangeset for help on using the changeset viewer.