diff --git a/index.php b/index.php index 381b8ccc8..94c72a275 100644 --- a/index.php +++ b/index.php @@ -11,13 +11,13 @@ 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'); diff --git a/tpl/css/style.css b/tpl/css/style.css index d856a3545..6b9f6aca7 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -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 { diff --git a/tpl/img/logo.png b/tpl/img/logo.png index f917857fb..549b84665 100644 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 index 731aa018f..000000000 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 index 1514d51a3..000000000 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 index 5c870176d..000000000 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 index a9925a06a..000000000 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 index 628cf2dae..000000000 Binary files a/tpl/img/messages/warning.png and /dev/null differ diff --git a/tpl/view.twig b/tpl/view.twig index d2ec2071c..8ef5cd9c2 100644 --- a/tpl/view.twig +++ b/tpl/view.twig @@ -2,7 +2,7 @@ {% block title %}{% trans "home" %}{% endblock %} {% block content %} -
+
@@ -21,7 +21,7 @@
- {{ content|striptags }} + {{ content | raw }}