From cac159e154bfa1f4810394a3d1a12b0f2f7f1ad3 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 16 May 2022 17:02:22 +0200 Subject: [PATCH] related to #1657 svg support in batch manager unit --- admin/themes/default/template/batch_manager_unit.tpl | 2 +- include/config_default.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/themes/default/template/batch_manager_unit.tpl b/admin/themes/default/template/batch_manager_unit.tpl index d57128442..015dce751 100644 --- a/admin/themes/default/template/batch_manager_unit.tpl +++ b/admin/themes/default/template/batch_manager_unit.tpl @@ -58,7 +58,7 @@ jQuery("a.preview-box").colorbox( { {$element.LEGEND} - + {'Edit'|@translate} diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 5cf09524c..e8ce95f09 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -40,6 +40,7 @@ // picture_ext : file extensions for picture file, must be a subset of // file_ext +// Add 'svg' to this array to support svg images. $conf['picture_ext'] = array('jpg','jpeg','png','gif'); // file_ext : file extensions (case sensitive) authorized