summaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-08 12:30:18 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-08 12:30:18 +0200
commit436f9a432b5636c6425c689065090eb7c33e37b5 (patch)
tree3722c027e5d108a880e811d882c0afcf488aec1d /app/Models
parentcdc8262c93cf66f66044a8486ca1cc5775446fff (diff)
parent21d8c03ac969d93b9a0d29ee5cb8cd2f5630bdb8 (diff)
Merge pull request #531 from aledeg/issue519
Add a confirmation dialog when clicking on the big tick
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Configuration.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php
index f2084b833..7596c54cd 100644
--- a/app/Models/Configuration.php
+++ b/app/Models/Configuration.php
@@ -20,6 +20,7 @@ class FreshRSS_Configuration {
'onread_jump_next' => true,
'lazyload' => true,
'sticky_post' => true,
+ 'reading_confirm' => false,
'sort_order' => 'DESC',
'anon_access' => false,
'mark_when' => array(
@@ -149,6 +150,9 @@ class FreshRSS_Configuration {
public function _sticky_post($value) {
$this->data['sticky_post'] = ((bool)$value) && $value !== 'no';
}
+ public function _reading_confirm($value) {
+ $this->data['reading_confirm'] = ((bool)$value) && $value !== 'no';
+ }
public function _sort_order ($value) {
$this->data['sort_order'] = $value === 'ASC' ? 'ASC' : 'DESC';
}