Ignore:
Timestamp:
04/18/08 11:39:51 (16 years ago)
Author:
niltonneto
Message:

Internacionalização das mensagens de erros.

File:
1 edited

Legend:

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

    r199 r266  
    126126                                $this->userlang = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang']; 
    127127                        } 
     128                        elseif($GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']) 
     129                                $this->userlang = $GLOBALS['_SERVER']['HTTP_ACCEPT_LANGUAGE']; 
    128130                        $this->add_app('common'); 
    129131                        if (!count($GLOBALS['lang'])) 
Note: See TracChangeset for help on using the changeset viewer.