[Pkg-owncloud-commits] [owncloud] 12/134: Fix mail template to use p() for colors

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:43:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 7e2659f017f879a57429b390c3a542689a5ba711
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Mon Mar 3 17:36:12 2014 +0100

    Fix mail template to use p() for colors
    
    Now using p() instead of print_unescaped() for colors.
    
    Backport of 25251d4 from master
---
 core/templates/mail.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/templates/mail.php b/core/templates/mail.php
index 0770946..82e893f 100644
--- a/core/templates/mail.php
+++ b/core/templates/mail.php
@@ -2,9 +2,9 @@
 <tr><td>
 <table cellspacing="0" cellpadding="0" border="0" width="600px">
 <tr>
-<td bgcolor="<?php print_unescaped($theme->getMailHeaderColor());?>" width="20px"> </td>
-<td bgcolor="<?php print_unescaped($theme->getMailHeaderColor());?>">
-<img src="<?php print_unescaped(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
+<td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px"> </td>
+<td bgcolor="<?php p($theme->getMailHeaderColor());?>">
+<img src="<?php p(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
 </td>
 </tr>
 <tr><td colspan="2"> </td></tr>
@@ -27,7 +27,7 @@ p($l->t('Cheers!'));
 <td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
 <?php p($theme->getName()); ?> -
 <?php p($theme->getSlogan()); ?>
-<br><a href="<?php print_unescaped($theme->getBaseUrl()); ?>"><?php print_unescaped($theme->getBaseUrl());?></a>
+<br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
 </td>
 </tr>
 <tr>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list