]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
view of an article
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Sun, 4 Aug 2013 20:51:12 +0000 (22:51 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Sun, 4 Aug 2013 20:51:12 +0000 (22:51 +0200)
index.php
tpl/css/style.css
tpl/img/logo.png
tpl/img/messages/close.png [deleted file]
tpl/img/messages/cross.png [deleted file]
tpl/img/messages/help.png [deleted file]
tpl/img/messages/tick.png [deleted file]
tpl/img/messages/warning.png [deleted file]
tpl/view.twig

index 381b8ccc89105d48fa71b773b439f2a7a740ad66..94c72a275114510b0c7b352405646622fdb786d0 100644 (file)
--- a/index.php
+++ b/index.php
 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');
index d856a354556439e37dd5fddc96142f77e8e4cbed..6b9f6aca78ad0ed0a9cd6c7a89f612c25a352b71 100644 (file)
@@ -8,6 +8,10 @@ header {
     text-align: center;
 }
 
+header h1 {
+    font-size: 1.3em;
+}
+
 .bouton {
        border-radius: 2px;
 }
@@ -16,6 +20,7 @@ header {
     padding: 0;
     list-style-type: none;
     text-align: center;
+    font-size: 0.9em;
 }
 
 #main ul#links li {
index f917857fb164763de174630ae68852136d6350b2..549b84665cdbab6f20a4661b52d55e933776662c 100644 (file)
Binary files a/tpl/img/logo.png and b/tpl/img/logo.png differ
diff --git a/tpl/img/messages/close.png b/tpl/img/messages/close.png
deleted file mode 100644 (file)
index 731aa01..0000000
Binary files a/tpl/img/messages/close.png and /dev/null differ
diff --git a/tpl/img/messages/cross.png b/tpl/img/messages/cross.png
deleted file mode 100644 (file)
index 1514d51..0000000
Binary files a/tpl/img/messages/cross.png and /dev/null differ
diff --git a/tpl/img/messages/help.png b/tpl/img/messages/help.png
deleted file mode 100644 (file)
index 5c87017..0000000
Binary files a/tpl/img/messages/help.png and /dev/null differ
diff --git a/tpl/img/messages/tick.png b/tpl/img/messages/tick.png
deleted file mode 100644 (file)
index a9925a0..0000000
Binary files a/tpl/img/messages/tick.png and /dev/null differ
diff --git a/tpl/img/messages/warning.png b/tpl/img/messages/warning.png
deleted file mode 100644 (file)
index 628cf2d..0000000
Binary files a/tpl/img/messages/warning.png and /dev/null differ
index d2ec2071ceb86b913b76aec49c3ef9f2ea061110..8ef5cd9c2f2f7c8942e6af0fd1ea3cb9abc6d28d 100644 (file)
@@ -2,7 +2,7 @@
 {% 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" %}">&larr;</a>
                </div>
@@ -21,7 +21,7 @@
             </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>