From 66d6f86b9ad52745bedbebf7060b22f13cfa1174 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Tue, 10 Sep 2013 17:07:20 +0200 Subject: [PATCH] replace tag by for displaying icons --- .../Core/Template/Smarty/SmartyParser.php | 2 +- templates/default/index.html | 4 +-- templates/default/layout.tpl | 32 +++++++++---------- templates/default/login.html | 4 +-- templates/default/register.html | 4 +-- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php index ab86f44e8..f0b207425 100755 --- a/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php +++ b/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php @@ -85,7 +85,7 @@ class SmartyParser extends Smarty implements ParserInterface $this->registerFilter('output', array($this, "removeBlankLines")); $this->registerFilter('variable', array(__CLASS__, "theliaEscape")); } - + public function removeBlankLines($tpl_source, \Smarty_Internal_Template $template) { return preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $tpl_source); diff --git a/templates/default/index.html b/templates/default/index.html index bdf18cec8..e0411d6b9 100644 --- a/templates/default/index.html +++ b/templates/default/index.html @@ -17,8 +17,8 @@ - - + + diff --git a/templates/default/layout.tpl b/templates/default/layout.tpl index 8cd5d0129..6bf781a3c 100644 --- a/templates/default/layout.tpl +++ b/templates/default/layout.tpl @@ -113,7 +113,7 @@ URL: http://www.thelia.net
- +
@@ -158,15 +158,15 @@ URL: http://www.thelia.net
@@ -228,48 +228,48 @@ URL: http://www.thelia.net
  • - - + +
  • - - + +
  • - - + +
  • - - + +
  • diff --git a/templates/default/login.html b/templates/default/login.html index c7eb03986..484125e5d 100644 --- a/templates/default/login.html +++ b/templates/default/login.html @@ -34,7 +34,7 @@
    {if $error} - {$message} + {$message} {/if}
    @@ -58,7 +58,7 @@
    {if $error} - {$message} + {$message} {/if}
    diff --git a/templates/default/register.html b/templates/default/register.html index e38830743..f8f26e4c1 100644 --- a/templates/default/register.html +++ b/templates/default/register.html @@ -30,7 +30,7 @@
    - Available input! + Available input!
    @@ -38,7 +38,7 @@
    - Invalid input! + Invalid input!