You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
838 B
20 lines
838 B
<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"' : ''; ?>> |
|
<a href="<?php echo Url::display (array ('c' => 'configure', 'a' => 'feed', 'params' => array ('id' => $feed->id ()))); ?>"><?php echo $feed->name (); ?></a> |
|
</li> |
|
<?php } ?> |
|
<?php } else { ?> |
|
<li class="disable"><span>Aucun flux</span></li> |
|
<?php } ?> |
|
</ul> |
|
</div>
|
|
|