aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/view.html
blob: d24d26edbca969261400f1b0894dd0bf2f6a5738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{include="head"}
    <body class="article">
        <div id="article" class="w600p">
        	<div class="backhome">
        		<a href="index.php" title="back to home">&larr;</a>
        	</div>
            <div class="tools">
                <ul>
                    <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>
                    <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>
                    <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>
                </ul>
            </div>
            <header class="mbm">
                <h1><a href="{$url}">{$title}</a></h1>
                <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div>
            </header>
            <article>
                <div id="readityourselfcontent">
                    {$content}
                </div>
            </article>
            <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="original : {$title}">view original</a></div>
            <div class="backhome">
                <a href="index.php" title="back to home">&larr;</a>
            </div>
        </div>
        {include="footer"}
        {include="js"}
    </body>
</html>