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.common.inc.php

    r169 r266  
    313313                                } 
    314314 
    315                                 printf("<b>Error: Can't bind to LDAP server: %s!</b><br>",$dn); 
     315                                echo '<center><b>'.lang("ExpressoLivre is unavailable at this moment. Code %1<br>Please, try later.","002").'</b></center>'; 
     316                                //printf("<b>Error: Can't bind to LDAP server: %s!</b><br>",$dn); 
    316317                                return False; 
    317318                        } 
     
    324325                                        $GLOBALS['phpgw']->log->commit(); 
    325326                                } 
    326                                 printf("<b>Error: Can't bind to LDAP server (anonymous bind): %s!</b><br>",$dn); 
     327                                echo '<center><b>'.lang("ExpressoLivre is unavailable at this moment. Code %1<br>Please, try later.","002").'</b></center>'; 
     328                                //printf("<b>Error: Can't bind to LDAP server (anonymous bind): %s!</b><br>",$dn); 
    327329                                return False; 
    328330                        }                                                
Note: See TracChangeset for help on using the changeset viewer.