aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-03 17:36:12 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-03 17:36:12 +0100
commit25251d4bf7591662df2825c13411f9051eab1a48 (patch)
tree9c43473b96dbeebc6cc79f905b9015e12587e00e /core
parent7983c90fdcdf2d5e2dd385d3a3c8c97c60d530de (diff)
downloadnextcloud-server-25251d4bf7591662df2825c13411f9051eab1a48.tar.gz
nextcloud-server-25251d4bf7591662df2825c13411f9051eab1a48.zip
Fix mail template to use p() for colors
Now using p() instead of print_unescaped() for colors.
Diffstat (limited to 'core')
-rw-r--r--core/templates/mail.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/templates/mail.php b/core/templates/mail.php
index 854240a976f..ae46eaca788 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">&nbsp;</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">&nbsp;</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">&nbsp;</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>