From 7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 17 Jul 2018 13:13:26 +0200 Subject: Bunch of improvement for thumbnails integration: - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config --- application/Updater.php | 2 +- application/config/ConfigManager.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'application') diff --git a/application/Updater.php b/application/Updater.php index 2a4c807c..c2aa1568 100644 --- a/application/Updater.php +++ b/application/Updater.php @@ -511,7 +511,7 @@ class Updater if ($thumbnailsEnabled) { $this->session['warnings'][] = t( - 'You have enabled thumbnails. Please synchonize them.' + 'You have enabled or changed thumbnails mode. Please synchronize them.' ); } diff --git a/application/config/ConfigManager.php b/application/config/ConfigManager.php index 96e2e912..32aaea48 100644 --- a/application/config/ConfigManager.php +++ b/application/config/ConfigManager.php @@ -384,6 +384,9 @@ class ConfigManager $this->setEmpty('redirector.url', ''); $this->setEmpty('redirector.encode_url', true); + $this->setEmpty('thumbnails.width', '125'); + $this->setEmpty('thumbnails.height', '90'); + $this->setEmpty('translation.language', 'auto'); $this->setEmpty('translation.mode', 'php'); $this->setEmpty('translation.extensions', []); -- cgit v1.2.3