Changeset 2201 for trunk/admin/thumbnail.php
- Timestamp:
- Jan 30, 2008, 11:07:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/thumbnail.php
r1900 r2201 120 120 if (!is_writable($tndir)) 121 121 { 122 array_push($page['errors'], '['.$tndir.'] : '. $lang['no_write_access']);122 array_push($page['errors'], '['.$tndir.'] : '.l10n('no_write_access')); 123 123 return false; 124 124 } … … 141 141 else 142 142 { 143 echo $lang['tn_no_support']." ";143 echo l10n('tn_no_support')." "; 144 144 if ( isset( $extenstion ) ) 145 145 { 146 echo $lang['tn_format'].' '.$extension;146 echo l10n('tn_format').' '.$extension; 147 147 } 148 148 else 149 149 { 150 echo $lang['tn_thisformat'];150 echo l10n('tn_thisformat'); 151 151 } 152 152 exit(); … … 162 162 163 163 $template->assign_vars(array( 164 'L_THUMBNAIL_TITLE'=> $lang['tn_dirs_title'],165 'L_UNLINK'=> $lang['tn_no_missing'],166 'L_MISSING_THUMBNAILS'=> $lang['tn_dirs_alone'],167 'L_RESULTS'=> $lang['tn_results_title'],168 'L_PATH'=> $lang['path'],169 'L_FILESIZE'=> $lang['filesize'],170 'L_GENERATED'=> $lang['tn_results_gen_time'],171 'L_THUMBNAIL'=> $lang['thumbnail'],172 'L_PARAMS'=> $lang['tn_params_title'],173 'L_GD'=> $lang['tn_params_GD'],174 'L_CREATE'=> $lang['tn_params_create'],175 'L_SUBMIT'=> $lang['submit'],176 'L_REMAINING'=> $lang['tn_alone_title'],177 'L_TN_STATS'=> $lang['tn_stats'],178 'L_TN_NB_STATS'=> $lang['tn_stats_nb'],179 'L_TN_TOTAL'=> $lang['tn_stats_total'],180 'L_TN_MAX'=> $lang['tn_stats_max'],181 'L_TN_MIN'=> $lang['tn_stats_min'],182 'L_TN_AVERAGE'=> $lang['tn_stats_mean'],183 'L_ALL'=> $lang['tn_all'],164 'L_THUMBNAIL_TITLE'=>l10n('tn_dirs_title'), 165 'L_UNLINK'=>l10n('tn_no_missing'), 166 'L_MISSING_THUMBNAILS'=>l10n('tn_dirs_alone'), 167 'L_RESULTS'=>l10n('tn_results_title'), 168 'L_PATH'=>l10n('path'), 169 'L_FILESIZE'=>l10n('filesize'), 170 'L_GENERATED'=>l10n('tn_results_gen_time'), 171 'L_THUMBNAIL'=>l10n('thumbnail'), 172 'L_PARAMS'=>l10n('tn_params_title'), 173 'L_GD'=>l10n('tn_params_GD'), 174 'L_CREATE'=>l10n('tn_params_create'), 175 'L_SUBMIT'=>l10n('submit'), 176 'L_REMAINING'=>l10n('tn_alone_title'), 177 'L_TN_STATS'=>l10n('tn_stats'), 178 'L_TN_NB_STATS'=>l10n('tn_stats_nb'), 179 'L_TN_TOTAL'=>l10n('tn_stats_total'), 180 'L_TN_MAX'=>l10n('tn_stats_max'), 181 'L_TN_MIN'=>l10n('tn_stats_min'), 182 'L_TN_AVERAGE'=>l10n('tn_stats_mean'), 183 'L_ALL'=>l10n('tn_all'), 184 184 185 185 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=thumbnail', … … 255 255 if (!ereg('^[0-9]{2,3}$', $_POST['width']) or $_POST['width'] < 10) 256 256 { 257 array_push($page['errors'], $lang['tn_err_width'].' 10');257 array_push($page['errors'], l10n('tn_err_width').' 10'); 258 258 } 259 259 if (!ereg('^[0-9]{2,3}$', $_POST['height']) or $_POST['height'] < 10) 260 260 { 261 array_push($page['errors'], $lang['tn_err_height'].' 10');261 array_push($page['errors'], l10n('tn_err_height').' 10'); 262 262 } 263 263
Note: See TracChangeset
for help on using the changeset viewer.