Merge pull request #7511 from owncloud/emailtemplatefix
Fix mail template to use p() for colors
This commit is contained in:
commit
568c9cfe01
|
@ -2,9 +2,9 @@
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<table cellspacing="0" cellpadding="0" border="0" width="600px">
|
<table cellspacing="0" cellpadding="0" border="0" width="600px">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="<?php print_unescaped($theme->getMailHeaderColor());?>" width="20px"> </td>
|
<td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px"> </td>
|
||||||
<td bgcolor="<?php print_unescaped($theme->getMailHeaderColor());?>">
|
<td bgcolor="<?php p($theme->getMailHeaderColor());?>">
|
||||||
<img src="<?php print_unescaped(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
|
<img src="<?php p(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td colspan="2"> </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>
|
<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->getName()); ?> -
|
||||||
<?php p($theme->getSlogan()); ?>
|
<?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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue