diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-07-24 11:51:21 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-07-24 11:51:21 +0200 |
commit | 75fd6d4fde4cd6d9eda5e6b944739f1f2798447d (patch) | |
tree | 2d04d64bcdeb2ea13de68b9606307ebf799aeb87 /core/templates/mail.php | |
parent | 2622839fcfb360eafc6d670885ca265ebed1433c (diff) | |
download | nextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.tar.gz nextcloud-server-75fd6d4fde4cd6d9eda5e6b944739f1f2798447d.zip |
initialize OC_Defaults in template constructorX
Diffstat (limited to 'core/templates/mail.php')
-rw-r--r-- | core/templates/mail.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/templates/mail.php b/core/templates/mail.php index a9fdff06067..de72b136b13 100644 --- a/core/templates/mail.php +++ b/core/templates/mail.php @@ -1,11 +1,10 @@ -<?php $defaults = new OC_Defaults() // initialize themable default strings and urls ?> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr><td> <table cellspacing="0" cellpadding="0" border="0" width="600px"> <tr> <td bgcolor="#1d2d44" width="20px"> </td> <td bgcolor="#1d2d44"> -<img src="<?php print_unescaped(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($defaults->getName()); ?>"/> +<img src="<?php print_unescaped(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/> </td> </tr> <tr><td bgcolor="#f8f8f8" colspan="2"> </td></tr> @@ -21,9 +20,9 @@ print_unescaped($l->t('Hey there,<br><br>just letting you know that %s shared » <tr> <td bgcolor="#f8f8f8" width="20px"> </td> <td bgcolor="#f8f8f8" style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br> -<?php p($defaults->getName()); ?> - -<?php p($defaults->getSlogan()); ?> -<br><a href="<?php print_unescaped($defaults->getBaseUrl()); ?>"><?php print_unescaped($defaults->getBaseUrl());?></a></td> +<?php p($theme->getName()); ?> - +<?php p($theme->getSlogan()); ?> +<br><a href="<?php print_unescaped($theme->getBaseUrl()); ?>"><?php print_unescaped($theme->getBaseUrl());?></a></td> </tr> <tr> <td bgcolor="#f8f8f8" colspan="2"> </td> |