Change navigation for feeds sub-menus

This commit is contained in:
Frederic Guillot 2015-01-14 20:18:24 -05:00
parent 360fc9076e
commit 215cf3f881
3 changed files with 25 additions and 16 deletions

View File

@ -1,10 +1,13 @@
<div class="page-header">
<h2><?= t('New subscription') ?></h2>
<nav>
<ul>
<li class="active"><a href="?action=add"><?= t('add') ?></a></li>
<li><a href="?action=feeds"><?= t('feeds') ?></a></li>
<li><a href="?action=import"><?= t('import') ?></a></li>
<li><a href="?action=export"><?= t('export') ?></a></li>
</ul>
</nav>
</div>
<form method="post" action="?action=subscribe" autocomplete="off">

View File

@ -1,11 +1,14 @@
<div class="page-header">
<h2><?= t('Subscriptions') ?></h2>
<nav>
<ul>
<li><a href="?action=add"><?= t('add') ?></a></li>
<li class="active"><a href="?action=feeds"><?= t('feeds') ?></a></li>
<li><a href="?action=import"><?= t('import') ?></a></li>
<li><a href="?action=export"><?= t('export') ?></a></li>
<li><a href="?action=refresh-all" data-action="refresh-all"><?= t('refresh all') ?></a></li>
</ul>
</nav>
</div>
<?php if (empty($feeds)): ?>

View File

@ -1,10 +1,13 @@
<div class="page-header">
<h2><?= t('OPML Import') ?></h2>
<nav>
<ul>
<li><a href="?action=feeds"><?= t('feeds') ?></a></li>
<li><a href="?action=add"><?= t('add') ?></a></li>
<li><a href="?action=feeds"><?= t('feeds') ?></a></li>
<li class="active"><a href="?action=import"><?= t('import') ?></a></li>
<li><a href="?action=export"><?= t('export') ?></a></li>
</ul>
</nav>
</div>
<form method="post" action="?action=import" enctype="multipart/form-data">