aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-22 22:11:23 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-22 22:11:23 +0200
commita928ebf1d010433d81d3afe5a6981f7ca391b9c7 (patch)
tree94cbb70710abf65c1e993b272bade0958e5b4e01 /app/views/configure
parent0426541acbeb44d240e6dbf7a93f3a104bea61b4 (diff)
ajout des touches de raccourcis et de tout le javascript
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/display.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 228957b6a..5b25a51fc 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -22,11 +22,11 @@
<label>Afficher les articles dépliés par défaut</label>
<div class="radio_group">
- <input type="radio" name="display_posts" id="radio_yes" value="yes"<?php echo $this->conf->displayPosts () ? ' checked="checked"' : ''; ?> />
+ <input type="radio" name="display_posts" id="radio_yes" value="yes"<?php echo $this->conf->displayPosts () == 'yes' ? ' checked="checked"' : ''; ?> />
<label for="radio_yes">Oui</label>
<br />
- <input type="radio" name="display_posts" id="radio_no" value="no"<?php echo !$this->conf->displayPosts () ? ' checked="checked"' : ''; ?> />
- <label for="radio_no">Non</label>
+ <input type="radio" name="display_posts" id="radio_no" value="no"<?php echo $this->conf->displayPosts () == 'no' ? ' checked="checked"' : ''; ?> />
+ <label for="radio_no">Non<noscript> - <strong>nécessite que javascript soit activé</strong></noscript></label>
</div>
<input type="submit" value="Valider" />