]> git.immae.eu Git - github/wallabag/wallabag.git/blame - tpl/entries.html
tout est recentré sur index.php
[github/wallabag/wallabag.git] / tpl / entries.html
CommitLineData
139769aa 1 {loop="entries"}
2 <div id="entry-{$value.id}" class="entrie mb2">
3 <span class="content">
4 <h2 class="h6-like">
a1953dff 5 <a href="index.php?&view=view&id={$value.id}">{$value.title}</a>
139769aa 6 </h2>
7 <div class="tools">
8 <ul>
a1953dff 9 <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>
10 <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>
11 <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>
139769aa 12 </ul>
13 </div>
14 </span>
15 </div>
16 {/loop}