diff --git a/config/config.inc.php b/config/config.inc.php
index e89d27b10..29c5dbebd 100644
--- a/config/config.inc.php
+++ b/config/config.inc.php
@@ -31,6 +31,7 @@
$config['use_filter'] = true;
$config['default_imagefilter'] = 'plain';
$config['disabled_filters'] = array();
+$config['allow_delete'] = true;
$config['polaroid_effect'] = false;
$config['polaroid_rotation'] = '0';
$config['take_frame'] = false;
diff --git a/index.php b/index.php
index 502d51634..17a1c3243 100644
--- a/index.php
+++ b/index.php
@@ -171,7 +171,9 @@
+
+
diff --git a/lib/configsetup.inc.php b/lib/configsetup.inc.php
index cc06d13f6..6d1d7f2dc 100644
--- a/lib/configsetup.inc.php
+++ b/lib/configsetup.inc.php
@@ -200,6 +200,11 @@
'environment' => 'Back facing camera'
],
'value' => $config['camera_mode']
+ ],
+ 'allow_delete' => [
+ 'type' => 'checkbox',
+ 'name' => 'allow_delete',
+ 'value' => $config['allow_delete']
]
],
'jpeg_quality' => [
diff --git a/resources/lang/de.js b/resources/lang/de.js
index c504c456c..0ad536abd 100644
--- a/resources/lang/de.js
+++ b/resources/lang/de.js
@@ -12,6 +12,7 @@ const L10N = {
'general_default_imagefilter': 'Standardbildfilter',
'default_imagefilter': 'Bildfilter auswählen',
'general_disabled_filters': 'Deaktivierte Bildfilter',
+ 'allow_delete': 'Löschen des Bildes erlauben',
'general_collage_cntdwn_time': 'Collage-Countdown Timer in Sekunden',
'continuous_collage': 'Collage ohne Unterbrechung aufnehmen',
'delete': 'Löschen',
diff --git a/resources/lang/en.js b/resources/lang/en.js
index a582a559b..f400580e2 100644
--- a/resources/lang/en.js
+++ b/resources/lang/en.js
@@ -12,6 +12,7 @@ const L10N = {
'general_default_imagefilter': 'Default image filter',
'default_imagefilter': 'Choose image filter',
'general_disabled_filters': 'Disabled image filters',
+ 'allow_delete': 'Allow deletion of the image',
'general_collage_cntdwn_time': 'Collage-countdown timer in seconds',
'continuous_collage': 'Take collage without interruption',
'delete': 'Delete',
diff --git a/resources/lang/es.js b/resources/lang/es.js
index e435691d5..8a869521a 100644
--- a/resources/lang/es.js
+++ b/resources/lang/es.js
@@ -12,6 +12,7 @@ const L10N = {
'general_default_imagefilter': 'Filtro de imagen predeterminado',
'default_imagefilter': 'Elegir filtro de imagen',
'general_disabled_filters': 'Filtros deshabilitados',
+ 'allow_delete': 'Permitir la eliminación de la imagen',
'general_collage_cntdwn_time': 'Cuenta regresiva del collage en segundos',
'continuous_collage': 'Toma collage sin interrupción',
'delete': 'Eliminar',
diff --git a/resources/lang/fr.js b/resources/lang/fr.js
index ed308bbf1..116f8bb31 100644
--- a/resources/lang/fr.js
+++ b/resources/lang/fr.js
@@ -12,6 +12,7 @@ const L10N = {
'general_default_imagefilter': 'Filtre d\'image par défaut',
'default_imagefilter': 'Choisissez le filtre d\'image',
'general_disabled_filters': 'Filtres désactivés',
+ 'allow_delete': 'Autoriser la suppression de l\'image',
'general_collage_cntdwn_time': 'Montage photo compte à rebours en secondes',
'continuous_collage': 'Prendre un photo montage sans interruption',
'delete': 'Effacer',
diff --git a/resources/lang/gr.js b/resources/lang/gr.js
index 5a7858342..04d0adfa0 100644
--- a/resources/lang/gr.js
+++ b/resources/lang/gr.js
@@ -12,6 +12,7 @@ const L10N = {
'general_default_imagefilter': 'Προεπιλεγμένο φίλτρο εικόνας',
'default_imagefilter': 'Επιλέξτε φίλτρο εικόνας',
'general_disabled_filters': 'Απενεργοποιημένα φίλτρα',
+ 'allow_delete': 'Επιτρέψτε τη διαγραφή της εικόνας',
'general_collage_cntdwn_time': 'Χρονοδιακόπτης αντίστροφης μέτρησης φωτογραφιών σε δευτερόλεπτα',
'continuous_collage': 'Εγγραφή κολάζ χωρίς διακοπή',
'delete': 'διαγραφή',