Changeset 14549 for trunk


Ignore:
Timestamp:
Apr 30, 2012, 2:17:20 AM (13 years ago)
Author:
plg
Message:

feature 2626: explicit error message for PNG files + info message when settings saved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/configuration_watermark_process.inc.php

    r14546 r14549  
    3636  if (IMAGETYPE_PNG != $type)
    3737  {
    38     $errors['watermarkImage'] = 'PNG';
     38    $errors['watermarkImage'] = sprintf(
     39      l10n('Allowed file types: %s.'),
     40      'PNG'
     41      );
    3942  }
    4043  else
     
    188191    clear_derivative_cache($changed_types);
    189192  }
     193
     194  array_push(
     195    $page['infos'],
     196    l10n('Your configuration settings are saved')
     197    );
    190198}
    191199else
Note: See TracChangeset for help on using the changeset viewer.