2013-08-04 16:07:41 +00:00
{% extends "layout.twig" %}
{% block title %} {% trans "home" %} {% endblock %}
{% block content %}
<div class="w600p">
2013-04-15 07:38:41 +00:00
<div class="backhome">
2013-08-04 16:07:41 +00:00
<a href="./" title=" {% trans "back to home" %} ">←</a>
2013-04-15 07:38:41 +00:00
</div>
<div class="tools">
2013-04-15 12:09:58 +00:00
<ul>
2013-08-04 16:07:41 +00:00
<li><a title=" {% trans "toggle mark as read" %} " class="tool archive {% if entry .is_read == 0 %} archive-off {% endif %} " onclick="toggle_archive(this, {{ entry .id | e }} )"><span></span></a></li>
<li><a href="#" id="themeswitch"> {% trans "dark" %} </a></li>
<li><a title=" {% trans "toggle favorite" %} " class="tool fav {% if entry .is_fav == 0 %} fav-off {% endif %} " onclick="toggle_favorite(this, {{ entry .id | e }} )"><span></span></a></li>
<li><form method="post" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value=" {{ token }} " /><input type="hidden" id="view" name="view" value="index" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value=" {{ entry .id | e }} " /><input type="submit" class="delete" title=" {% trans "toggle delete" %} " /></form></li>
<li><a href="./?logout" title=" {% trans "logout" %} "> {% trans "logout" %} </a></li>
2013-04-15 12:09:58 +00:00
</ul>
2013-04-15 07:38:41 +00:00
</div>
<header class="mbm">
2013-08-04 16:07:41 +00:00
<h1><a href=" {{ entry .url | e }} "> {{ entry .title | e }} </a></h1>
<div class="vieworiginal txtright small"><a href=" {{ entry .url | e }} " target="_blank" title=" {% trans "original" %} : {{ entry .title | e }} "> {% trans "view original" %} </a></div>
2013-04-15 07:38:41 +00:00
</header>
<article>
<div id="readityourselfcontent">
2013-08-04 16:07:41 +00:00
{{ content | striptags }}
2013-04-15 07:38:41 +00:00
</div>
</article>
2013-08-04 16:07:41 +00:00
<div class="vieworiginal txtright small"><a href=" { $url}" target="_blank" title=" {% trans "original" %} : {{ entry .title | e }} "> {% trans "view original" %} </a></div>
2013-04-15 07:38:41 +00:00
<div class="backhome">
2013-08-04 16:07:41 +00:00
<a href="./" title=" {% trans "back to home" %} ">←</a>
<a href="#" title=" {% trans "back to top" %} ">↑</a>
2013-04-15 07:38:41 +00:00
</div>
2013-07-31 17:21:49 +00:00
<div class="support">
2013-08-04 16:07:41 +00:00
{% trans "this article appears wrong?" %} <a href="https://github.com/inthepoche/poche/issues/new"> {% trans "create an issue" %} </a> {% trans "or" %} <a href="mailto:support@inthepoche.com"> {% trans "contact us by mail" %} </a>
2013-07-31 17:21:49 +00:00
</div>
2013-08-04 16:07:41 +00:00
</div>
{% endblock %}
2013-04-18 13:39:34 +00:00
2013-08-04 16:07:41 +00:00
{% block js %}
<script type="text/javascript" src="./tpl/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./tpl/js/poche.js"></script>
{% endblock %}