Changeset 1521 for trunk/expressoAdmin1_2
- Timestamp:
- 10/20/09 15:57:09 (15 years ago)
- Location:
- trunk/expressoAdmin1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.user.inc.php
r1516 r1521 532 532 { 533 533 534 if ($_FILES['photo']['size'] > 10000) 534 $size_conf = $this->current_config['expressoAdmin_photo_length'] == '' ? 10000:$this->current_config['expressoAdmin_photo_length'] ; 535 if ($_FILES['photo']['size'] > $size_conf) 535 536 { 536 537 $return['status'] = false; 537 $return['msg'] .= $this->functions->lang('User photo could not be save because is bigger the 10 kb') . '.';538 $return['msg'] .= $this->functions->lang('User photo could not be save because is bigger the').' '.($size_conf/1024).' kb.'; 538 539 } 539 540 else -
trunk/expressoAdmin1_2/templates/default/config.tpl
r1516 r1521 134 134 </td> 135 135 </tr> 136 137 <tr class="row_th"> 138 <td>{lang_maximum_length_of_photo_archive__(default_10240_=_10_kb)}:</td> 139 <td><input name="newsettings[expressoAdmin_photo_length]" value="{value_expressoAdmin_photo_length}" size="15" /></td> 140 </tr> 136 141 137 142 <tr class="th">
Note: See TracChangeset
for help on using the changeset viewer.