dynamic list of image_types from history
... because a plugin can add types in history.image_type code by @ddtddt
This commit is contained in:
parent
1928125edc
commit
f1f206f1bd
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ else
|
||||||
$page['start'] = 0;
|
$page['start'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$types = array('none', 'picture', 'high', 'other');
|
$types = array_merge(array('none'), get_enums(HISTORY_TABLE, 'image_type'));
|
||||||
|
|
||||||
$display_thumbnails = array('no_display_thumbnail' => l10n('No display'),
|
$display_thumbnails = array('no_display_thumbnail' => l10n('No display'),
|
||||||
'display_thumbnail_classic' => l10n('Classic display'),
|
'display_thumbnail_classic' => l10n('Classic display'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue