Changeset 5021 for trunk/admin/thumbnail.php
- Timestamp:
- Mar 2, 2010, 3:54:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/thumbnail.php
r4325 r5021 116 116 if (!is_writable($tndir)) 117 117 { 118 array_push($page['errors'], '['.$tndir.'] : '.l10n('no _write_access'));118 array_push($page['errors'], '['.$tndir.'] : '.l10n('no write access')); 119 119 return false; 120 120 } … … 137 137 else 138 138 { 139 echo l10n(' tn_no_support')." ";139 echo l10n('Picture unreachable or no support')." "; 140 140 if ( isset( $extenstion ) ) 141 141 { 142 echo l10n(' tn_format').' '.$extension;142 echo l10n('for the file format').' '.$extension; 143 143 } 144 144 else 145 145 { 146 echo l10n(' tn_thisformat');146 echo l10n('for this file format'); 147 147 } 148 148 exit(); … … 234 234 if (!preg_match('/^[0-9]{2,3}$/', $_POST['width']) or $_POST['width'] < 10) 235 235 { 236 array_push($page['errors'], l10n(' tn_err_width').' 10');236 array_push($page['errors'], l10n('width must be a number superior to').' 10'); 237 237 } 238 238 if (!preg_match('/^[0-9]{2,3}$/', $_POST['height']) or $_POST['height'] < 10) 239 239 { 240 array_push($page['errors'], l10n(' tn_err_height').' 10');240 array_push($page['errors'], l10n('height must be a number superior to').' 10'); 241 241 } 242 242
Note: See TracChangeset
for help on using the changeset viewer.