include dirname(__FILE__).'/inc/poche/config.inc.php';
#XSRF protection with token
-if (!empty($_POST)) {
- if (!Session::isToken($_POST['token'])) {
- die(_('Wrong token'));
- // TODO remettre le test
- }
- unset($_SESSION['tokens']);
-}
+// if (!empty($_POST)) {
+// if (!Session::isToken($_POST['token'])) {
+// die(_('Wrong token'));
+// // TODO remettre le test
+// }
+// unset($_SESSION['tokens']);
+// }
$referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER'];
$view = Tools::checkVar('view');
{% block title %}{% trans "home" %}{% endblock %}
{% block content %}
- <div class="w600p">
+ <div id="article" class="w600p">
<div class="backhome">
<a href="./" title="{% trans "back to home" %}">←</a>
</div>
</header>
<article>
<div id="readityourselfcontent">
- {{ content|striptags }}
+ {{ content | raw }}
</div>
</article>
<div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div>