aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-21 18:47:57 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-21 18:47:57 +0200
commitfb57be5a5af3a2fb46b2dbf2b503ffe78eb5cf49 (patch)
tree9440fc7846d8a56a7005b9ef029669c96ad959aa /app/views/configure
First commit
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/categorize.phtml3
-rw-r--r--app/views/configure/display.phtml28
-rw-r--r--app/views/configure/flux.phtml3
3 files changed, 34 insertions, 0 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml
new file mode 100644
index 000000000..126f6b48a
--- /dev/null
+++ b/app/views/configure/categorize.phtml
@@ -0,0 +1,3 @@
+<div class="post">
+ Fonctionnalité non implémentée (pour le moment)
+</div>
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
new file mode 100644
index 000000000..23c41712b
--- /dev/null
+++ b/app/views/configure/display.phtml
@@ -0,0 +1,28 @@
+<div class="post">
+ <form method="post" action="">
+ <h1>Configuration de l'affichage</h1>
+
+ <label for="posts_per_page">Nombre d'articles par page</label>
+ <input type="number" id="posts_per_page" name="posts_per_page" value="<?php echo $this->conf->postsPerPage (); ?>" />
+
+ <label>Vue par défaut</label>
+ <div class="radio_group">
+ <input type="radio" name="default_view" id="radio_all" value="all"<?php echo $this->conf->defaultView () == 'all' ? ' checked="checked"' : ''; ?> />
+ <label for="radio_all">Tout afficher</label>
+ <br />
+ <input type="radio" name="default_view" id="radio_not_read" value="not_read"<?php echo $this->conf->defaultView () == 'not_read' ? ' checked="checked"' : ''; ?> />
+ <label for="radio_not_read">Afficher les non lus</label>
+ </div>
+
+ <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"' : ''; ?> />
+ <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>
+ </div>
+
+ <input type="submit" value="Valider" />
+ </form>
+</div>
diff --git a/app/views/configure/flux.phtml b/app/views/configure/flux.phtml
new file mode 100644
index 000000000..126f6b48a
--- /dev/null
+++ b/app/views/configure/flux.phtml
@@ -0,0 +1,3 @@
+<div class="post">
+ Fonctionnalité non implémentée (pour le moment)
+</div>