mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-06 21:42:44 +02:00
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user