diff options
Diffstat (limited to 'tpl/view.html')
-rwxr-xr-x | tpl/view.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tpl/view.html b/tpl/view.html index 1e057889..d24d26ed 100755 --- a/tpl/view.html +++ b/tpl/view.html | |||
@@ -5,9 +5,11 @@ | |||
5 | <a href="index.php" title="back to home">←</a> | 5 | <a href="index.php" title="back to home">←</a> |
6 | </div> | 6 | </div> |
7 | <div class="tools"> | 7 | <div class="tools"> |
8 | <a title="toggle mark as read" class="tool archive {if="$is_read == 0"}archive-off{/if}" onclick="toggle_archive(this, {$id}, 1)"><span></span></a> | 8 | <ul> |
9 | <a title="toggle favorite" class="tool fav {if="$is_fav == 0"}fav-off{/if}" onclick="toggle_favorite(this, {$id})"><span></span></a> | 9 | <li><a title="toggle mark as read" class="tool archive {if="$is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$id}, '{$token}')"><span></span></a></li> |
10 | <a href="index.php?action=delete&id={$id}" title="toggle delete" onclick="return confirm('Are you sure?')" class="tool delete"><span></span></a> | 10 | <li><a title="toggle favorite" class="tool fav {if="$is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$id}, '{$token}')"><span></span></a></li> |
11 | <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;"><input type="hidden" name="token" id="token" value="{$token}" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{$id}" /><input type="submit" class="delete" title="toggle delete" /></form></li> | ||
12 | </ul> | ||
11 | </div> | 13 | </div> |
12 | <header class="mbm"> | 14 | <header class="mbm"> |
13 | <h1><a href="{$url}">{$title}</a></h1> | 15 | <h1><a href="{$url}">{$title}</a></h1> |