]>
Commit | Line | Data |
---|---|---|
1 | <div id="content"> | |
2 | {loop="entries"} | |
3 | <div id="entry-{$value.id}" class="entrie mb2"> | |
4 | <span class="content"> | |
5 | <h2 class="h6-like"> | |
6 | <a href="index.php?&view=view&id={$value.id}">{$value.title}</a> | |
7 | </h2> | |
8 | <div class="tools"> | |
9 | <ul> | |
10 | <li><a title="toggle mark as read" class="tool archive {if="$value.is_read == '0'"}archive-off{/if}" onclick="toggle_archive(this, {$value.id})"><span></span></a></li> | |
11 | <li><a title="toggle favorite" class="tool fav {if="$value.is_fav == '0'"}fav-off{/if}" onclick="toggle_favorite(this, {$value.id})"><span></span></a></li> | |
12 | <li><form method="post" onsubmit="return confirm('Are you sure?')" style="display: inline;"><input type="hidden" name="token" id="token" value="<?php echo Session::getToken(); ?>" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="view" name="view" value="{$view}" /><input type="hidden" id="id" name="id" value="{$value.id}" /><input type="submit" class="delete" title="toggle delete" /></form></li> | |
13 | </ul> | |
14 | </div> | |
15 | </span> | |
16 | </div> | |
17 | {/loop} | |
18 | </div> |