aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-07-07 19:21:57 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-07-07 19:34:47 -0400
commit21d8c03ac969d93b9a0d29ee5cb8cd2f5630bdb8 (patch)
tree3722c027e5d108a880e811d882c0afcf488aec1d /app/layout
parent92f1d6d6581061fe81bdd44f5c82086ea03dd2fb (diff)
Add a configuration parameter
Add a parameter to choose wether or not the user want to display a confirmation dialog when clicking on "mark all as read" actions.
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/nav_menu.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index b7eee664a..29ea9032c 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -181,7 +181,7 @@
?>
<div class="stick" id="nav_menu_read_all">
- <a class="read_all btn confirm" href="<?php echo $markReadUrl; ?>"><?php echo Minz_Translate::t ('mark_read'); ?></a>
+ <a class="read_all btn<?php if ($this->conf->reading_confirm) {echo ' confirm';} ?>" href="<?php echo $markReadUrl; ?>"><?php echo Minz_Translate::t ('mark_read'); ?></a>
<div class="dropdown">
<div id="dropdown-read" class="dropdown-target"></div>