implement icons for Character groups Quests and improve media handilng for Character groups

This commit is contained in:
coderkun 2014-05-07 00:44:45 +02:00
commit 072333c88b
12 changed files with 334 additions and 96 deletions

View file

@ -18,6 +18,17 @@
<?php foreach($settings as $setting => $value) : ?>
<li>
<?php switch($field) {
case 'icon':
switch($setting) {
case 'error': printf(_('Error during icon upload: %s'), $value);
break;
case 'mimetype': printf(_('Icon has wrong type “%s”'), $value);
break;
case 'size': echo _('Icon exceeds size maximum');
break;
default: echo _('Icon invalid');
}
break;
case 'charactergroupname':
switch($setting) {
case 'minlength': printf(_('Name is too short (min. %d chars)'), $value);