aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-07-17 13:13:26 +0200
committerArthurHoaro <arthur@hoa.ro>2018-07-17 13:16:50 +0200
commit7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397 (patch)
treea9c5071ed1f6830adcbf10668a2f21e044276842 /application
parentb302b3c584b84f22f0e6f187b072180ecbacdfab (diff)
downloadShaarli-7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397.tar.gz
Shaarli-7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397.tar.zst
Shaarli-7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397.zip
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
Diffstat (limited to 'application')
-rw-r--r--application/Updater.php2
-rw-r--r--application/config/ConfigManager.php3
2 files changed, 4 insertions, 1 deletions
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
511 511
512 if ($thumbnailsEnabled) { 512 if ($thumbnailsEnabled) {
513 $this->session['warnings'][] = t( 513 $this->session['warnings'][] = t(
514 'You have enabled thumbnails. <a href="?do=thumbs_update">Please synchonize them</a>.' 514 'You have enabled or changed thumbnails mode. <a href="?do=thumbs_update">Please synchronize them</a>.'
515 ); 515 );
516 } 516 }
517 517
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
384 $this->setEmpty('redirector.url', ''); 384 $this->setEmpty('redirector.url', '');
385 $this->setEmpty('redirector.encode_url', true); 385 $this->setEmpty('redirector.encode_url', true);
386 386
387 $this->setEmpty('thumbnails.width', '125');
388 $this->setEmpty('thumbnails.height', '90');
389
387 $this->setEmpty('translation.language', 'auto'); 390 $this->setEmpty('translation.language', 'auto');
388 $this->setEmpty('translation.mode', 'php'); 391 $this->setEmpty('translation.mode', 'php');
389 $this->setEmpty('translation.extensions', []); 392 $this->setEmpty('translation.extensions', []);