Changeset 2049


Ignore:
Timestamp:
02/23/10 10:16:40 (14 years ago)
Author:
rodsouza
Message:

Ticket #911 - Corrigindo problemas no emailadmin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2015 r2049  
    12181218                        include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] 
    12191219                                . '/navbar.inc.php'); 
     1220 
     1221                        if(!@is_object($GLOBALS['phpgw']->js)) 
     1222                        { 
     1223                                $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 
     1224                        } 
     1225                        $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax'); 
     1226                        echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>"; 
     1227 
    12201228                        if (!@$GLOBALS['phpgw_info']['flags']['nonavbar'] && !@$GLOBALS['phpgw_info']['flags']['navbar_target']) 
    12211229                        { 
    12221230                                echo parse_navbar(); 
    12231231                        }  
    1224  
    1225                         if(!@is_object($GLOBALS['phpgw']->js)) 
    1226                         { 
    1227                                 $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 
    1228                         } 
    1229                         $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax'); 
    1230                         echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>"; 
    1231                         echo $GLOBALS['phpgw']->js->get_script_links(); 
    12321232                } 
    12331233 
Note: See TracChangeset for help on using the changeset viewer.