summaryrefslogtreecommitdiff
path: root/app/views/configure/feed.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-12 23:24:52 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-12 23:24:52 +0100
commitc62ec2a14428b528e20896d4e62fa08891e1399c (patch)
treecdf6cbbd2d1b9182d385db36ec0c86b08bcf442e /app/views/configure/feed.phtml
parent8c562972062fbf3d750bd62893de248022850c23 (diff)
Grosse mise à jour du design, pas mal de trucs cassés au niveau du panneau de configuration
Diffstat (limited to 'app/views/configure/feed.phtml')
-rw-r--r--app/views/configure/feed.phtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml
index 0acec1872..1b8d77595 100644
--- a/app/views/configure/feed.phtml
+++ b/app/views/configure/feed.phtml
@@ -1,9 +1,15 @@
<div class="table">
- <?php $this->partial ('configure_aside'); ?>
+ <?php /* $this->partial ('configure_aside'); */ ?>
<div class="aside">
<ul>
<li><h2>Vox flux RSS</h2></li>
+ <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?>
+ <li><form id="add_rss" method="post" action="<?php echo Url::display (array ('c' => 'feed', 'a' => 'add')); ?>">
+ <input type="url" name="url_rss" placeholder="Ajouter un flux RSS" />
+ <input type="submit" value="+" />
+ </form></li>
+ <?php } ?>
<?php if (!empty ($this->feeds)) { ?>
<?php foreach ($this->feeds as $feed) { ?>
<li <?php echo ($this->flux && $this->flux->id () == $feed->id ()) ? 'class="active"' : ''; ?>>