Changeset 2366


Ignore:
Timestamp:
03/29/10 12:49:53 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Removendo redundância da exibição da barra de navegação

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/home.php

    r223 r2366  
    2727        $GLOBALS['phpgw_info']['flags'] = array( 
    2828                'noheader'                => True, 
    29                 'nonavbar'                => True, 
     29                'nonavbar'                => ( ( array_key_exists( 'HTTP_BACKGROUNDREQUEST', $_SERVER ) ) ? true : false ), 
    3030                'currentapp'              => 'home', 
    3131                'enable_network_class'    => True, 
     
    6565        { 
    6666                $GLOBALS['phpgw']->common->phpgw_header(); 
    67                 echo parse_navbar(); 
     67                //echo parse_navbar(); 
    6868        } 
    6969        // Default Applications (Home Page)  
  • trunk/phpgwapi/inc/class.common.inc.php

    r2315 r2366  
    12231223                                $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 
    12241224                        } 
     1225 
     1226                        $GLOBALS['phpgw']->js->validate_file( 'tools','event_config' ); 
     1227                        $GLOBALS['phpgw']->js->validate_file( 'tools','xconnector' ); 
     1228                        //$GLOBALS['phpgw']->js->validate_file( 'tools','xlink' ); 
     1229 
    12251230                        $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax'); 
     1231 
    12261232                        echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>"; 
    12271233                        echo $GLOBALS['phpgw']->js->get_script_links(); 
     1234 
    12281235                        $GLOBALS['phpgw']->js->unset_script_link('phpgwapi','expressoAjax'); 
    12291236 
  • trunk/phpgwapi/inc/functions.inc.php

    r2205 r2366  
    421421                        { 
    422422                                $GLOBALS['phpgw']->common->phpgw_header(); 
    423                                 if ($GLOBALS['phpgw_info']['flags']['noheader']) 
    424                                 { 
    425                                         echo parse_navbar(); 
    426                                 } 
    427423 
    428424                                $GLOBALS['phpgw']->log->write(array('text'=>'W-Permissions, Attempted to access %1','p1'=>$GLOBALS['phpgw_info']['flags']['currentapp'])); 
Note: See TracChangeset for help on using the changeset viewer.