Changeset 2686 for trunk/phpgwapi


Ignore:
Timestamp:
05/03/10 10:43:25 (14 years ago)
Author:
rodsouza
Message:

Ticket #1058 - Removendo reload de alguns itens do 'admin'.

Location:
trunk/phpgwapi
Files:
3 edited

Legend:

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

    r2439 r2686  
    166166                        else 
    167167                        { 
    168                                 Header("Location: $url"); 
     168                                Header("Location: {$url}"); 
    169169                                print("\n\n"); 
    170170                                exit; 
  • trunk/phpgwapi/inc/class.sessions.inc.php

    r1464 r2686  
    11761176                        { 
    11771177                                $webserver_url_count = strlen($GLOBALS['phpgw_info']['server']['webserver_url'])-1; 
    1178                                 if(substr($GLOBALS['phpgw_info']['server']['webserver_url'] ,$webserver_url_count,1) != '/' && $url_firstchar != '/') 
    1179                                 { 
    1180                                         $url = $GLOBALS['phpgw_info']['server']['webserver_url'] .'/'. $url; 
    1181                                 } 
    1182                                 else 
    1183                                 { 
    1184                                         $url = $GLOBALS['phpgw_info']['server']['webserver_url'] . $url; 
    1185                                 } 
     1178                                if ( ! ( substr($GLOBALS['phpgw_info']['server']['webserver_url'] ,$webserver_url_count,1) != '/' && $url_firstchar != '/' ) ) 
     1179                                        $url = substr( $url, 1 ); 
     1180 
     1181                                $url = "{$GLOBALS['phpgw_info']['server']['webserver_url']}/{$url}"; 
    11861182                        } 
    11871183 
  • trunk/phpgwapi/js/tools/xlink.js

    r2679 r2686  
    1111        function _click( _action, _cache ) 
    1212        { 
    13  
    1413                if ( _action.indexOf( window.location.host ) < 0 ) 
    1514                        _action = window.location.protocol + '//' + window.location.host + _action; 
Note: See TracChangeset for help on using the changeset viewer.