aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php2
-rw-r--r--tpl/default/tag.list.html8
2 files changed, 6 insertions, 4 deletions
diff --git a/index.php b/index.php
index 82a92473..b4c4347a 100644
--- a/index.php
+++ b/index.php
@@ -1021,7 +1021,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
1021 1021
1022 // -------- User wants to see only untagged links (toggle) 1022 // -------- User wants to see only untagged links (toggle)
1023 if (isset($_GET['untaggedonly'])) { 1023 if (isset($_GET['untaggedonly'])) {
1024 $_SESSION['untaggedonly'] = !empty($_SESSION['untaggedonly']); 1024 $_SESSION['untaggedonly'] = empty($_SESSION['untaggedonly']);
1025 1025
1026 if (! empty($_SERVER['HTTP_REFERER'])) { 1026 if (! empty($_SERVER['HTTP_REFERER'])) {
1027 $location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly')); 1027 $location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly'));
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html
index 254397fb..a3e741d3 100644
--- a/tpl/default/tag.list.html
+++ b/tpl/default/tag.list.html
@@ -13,9 +13,11 @@
13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> 13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
14 {$countTags=count($tags)} 14 {$countTags=count($tags)}
15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> 15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
16 <p style="text-align: center"> 16 {if="!empty($search_tags)"}
17 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> 17 <p class="center">
18 </p> 18 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a>
19 </p>
20 {/if}
19 21
20 <div id="search-tagcloud" class="pure-g"> 22 <div id="search-tagcloud" class="pure-g">
21 <div class="pure-u-lg-1-4"></div> 23 <div class="pure-u-lg-1-4"></div>