From f1f206f1bdf456e4fae92cbab7f96fc65520f7ec Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 29 Feb 2016 18:30:42 +0100 Subject: dynamic list of image_types from history ... because a plugin can add types in history.image_type code by @ddtddt --- admin/history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') diff --git a/admin/history.php b/admin/history.php index c2d3ecb9a..40648e4f6 100644 --- a/admin/history.php +++ b/admin/history.php @@ -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'), -- cgit v1.2.3