Ignore:
Timestamp:
05/21/08 16:40:23 (16 years ago)
Author:
wmerlotto
Message:

Internacionalizacao do ExpressoAdmin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.user.inc.php

    r208 r283  
    480480                                elseif ($_FILES['photo']['name'] != '') 
    481481                                { 
     482                                         
     483                                        if ($_FILES['photo']['size'] > 10000) 
     484                                        { 
     485                                                $return['status'] = false; 
     486                                                $return['msg'] .= 'Foto do usuário não foi salva, pois excede o tamanho máximo de 10 kb.'; 
     487                                        } 
     488                                        else 
     489                                        { 
    482490                                        if ($new_values['photo_exist']) 
    483491                                        { 
     
    492500                                        $this->ldap_functions->ldap_save_photo($dn, $_FILES['photo']['tmp_name'], $new_values['photo_exist'], $photo_exist); 
    493501                                }        
     502                        } 
    494503                        } 
    495504                         
Note: See TracChangeset for help on using the changeset viewer.