diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-20 14:38:31 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 893f5159c64e5bcff505c8367e6dc22cc2a7b14d (patch) | |
tree | ba07dc71bb17ef143fb2038fcb68f4bc4a62a090 /tpl | |
parent | dd09ec52b20b4a548ecf5c847627575e506e3a50 (diff) | |
download | Shaarli-893f5159c64e5bcff505c8367e6dc22cc2a7b14d.tar.gz Shaarli-893f5159c64e5bcff505c8367e6dc22cc2a7b14d.tar.zst Shaarli-893f5159c64e5bcff505c8367e6dc22cc2a7b14d.zip |
Process remove tag endpoint through Slim controller
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/linklist.html | 4 | ||||
-rw-r--r-- | tpl/vintage/linklist.html | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index d8a15823..e574a109 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -94,7 +94,9 @@ | |||
94 | {'tagged'|t} | 94 | {'tagged'|t} |
95 | {loop="$exploded_tags"} | 95 | {loop="$exploded_tags"} |
96 | <span class="label label-tag" title="{'Remove tag'|t}"> | 96 | <span class="label label-tag" title="{'Remove tag'|t}"> |
97 | <a href="?removetag={function="urlencode($value)"}" aria-label="{'Remove tag'|t}">{$value}<span class="remove"><i class="fa fa-times" aria-hidden="true"></i></span></a> | 97 | <a href="./remove-tag/{function="urlencode($value)"}" aria-label="{'Remove tag'|t}"> |
98 | {$value}<span class="remove"><i class="fa fa-times" aria-hidden="true"></i></span> | ||
99 | </a> | ||
98 | </span> | 100 | </span> |
99 | {/loop} | 101 | {/loop} |
100 | {/if} | 102 | {/if} |
diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index 8f1ded95..502abcf9 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html | |||
@@ -66,7 +66,7 @@ | |||
66 | tagged | 66 | tagged |
67 | {loop="$exploded_tags"} | 67 | {loop="$exploded_tags"} |
68 | <span class="linktag" title="Remove tag"> | 68 | <span class="linktag" title="Remove tag"> |
69 | <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> | 69 | <a href="./remove-tag/{function="urlencode($value)"}">{$value} <span class="remove">x</span></a> |
70 | </span> | 70 | </span> |
71 | {/loop} | 71 | {/loop} |
72 | {elseif="$search_tags === false"} | 72 | {elseif="$search_tags === false"} |