From 9817e14240bb97f02985d8ac47bfa008849dace7 Mon Sep 17 00:00:00 2001
From: Patrick Barroca <pbarroca@sandbox.pergame.net>
Date: Wed, 17 Jun 2015 17:01:51 +0200
Subject: [PATCH] rel #14064 : fix views

---
 .../scripts/newsletter/unsubscribe-confirm.phtml  | 11 ++++++-----
 .../views/scripts/newsletter/unsubscribe.phtml    | 15 +++++++++------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/application/modules/opac/views/scripts/newsletter/unsubscribe-confirm.phtml b/application/modules/opac/views/scripts/newsletter/unsubscribe-confirm.phtml
index 99752b824c1..ff13ad47eae 100644
--- a/application/modules/opac/views/scripts/newsletter/unsubscribe-confirm.phtml
+++ b/application/modules/opac/views/scripts/newsletter/unsubscribe-confirm.phtml
@@ -1,7 +1,8 @@
 <?php
-echo $this->openBoite($this->_('Désinscription'))
-	. $this->tag('p', $this->_('Le courriel "%s" a bien été désinscrit de la lettre d\'information "%s" ?',
-														 $this->mail,
-														 $this->letter))
-	. $this->closeBoite();
+echo $this->openBoite($this->_('Désinscription'));
+
+echo $this->tag('p', $this->_('Le courriel "%s" a bien été désinscrit de la lettre d\'information "%s"',
+															$this->mail,
+															$this->letter));
+echo $this->closeBoite();
 ?>
diff --git a/application/modules/opac/views/scripts/newsletter/unsubscribe.phtml b/application/modules/opac/views/scripts/newsletter/unsubscribe.phtml
index 29a5d3e2b87..2145333338d 100644
--- a/application/modules/opac/views/scripts/newsletter/unsubscribe.phtml
+++ b/application/modules/opac/views/scripts/newsletter/unsubscribe.phtml
@@ -1,9 +1,12 @@
-<?php echo $this->openBoite($this->_('Désinscription'));?>
+<?php
+echo $this->openBoite($this->_('Désinscription'));
 
-<p>
-	<?php echo $this->_('Êtes-vous sûr de vouloir désinscrire le courriel "%s" de la lettre d\'information "%s" ?', $this->mail, $this->letter); ?>
-</p>
+echo $this->tag('p',
+								$this->_('Êtes-vous sûr de vouloir désinscrire le courriel "%s" de la lettre d\'information "%s" ?',
+												 $this->mail,
+												 $this->letter));
 
-<?php echo $this->renderForm($this->form); ?>
+echo $this->renderForm($this->form);
+echo $this->closeBoite();
 
-<?php echo $this->closeBoite();?>
+?>
-- 
GitLab