summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.php b/index.php
index f7bf169..203aa59 100644
--- a/index.php
+++ b/index.php
@@ -105,6 +105,12 @@
<li><a href="offline.html">Local</a></li>
</ul>
+ <?php if ($mode == "favorites") { ?>
+ <form onsubmit="return false;" class="navbar-form navbar-right">
+ <button type="submit" onclick="offline_get_all()" class="btn btn-primary">Get all</button>
+ </form>
+ <?php } ?>
+
<form class="navbar-form navbar-right">
<input type="text" name="query" class="form-control"
value="<?php echo htmlspecialchars($query) ?>">
@@ -116,6 +122,7 @@
<li><a href="logout.php">Logout</a></li>
</li>
+
</div>
</div>