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:
plegall 2016-02-29 18:30:42 +01:00
parent 1928125edc
commit f1f206f1bd

View file

@ -50,7 +50,7 @@ else
$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_thumbnail_classic' => l10n('Classic display'),