diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-12 10:15:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-12 10:15:59 +0200 |
commit | b5d31e4e6511b713e7c9dd340ac2ab1c2a035b1a (patch) | |
tree | 67212faea32ac40179a0fd82f583868a3f0757ba /core | |
parent | d127f47801188308f29842db08ca4f57a4d2a328 (diff) | |
parent | 8fa5141aaa346fc21198ad59c315eb99a8b8e48a (diff) | |
download | nextcloud-server-b5d31e4e6511b713e7c9dd340ac2ab1c2a035b1a.tar.gz nextcloud-server-b5d31e4e6511b713e7c9dd340ac2ab1c2a035b1a.zip |
Merge pull request #4309 from nextcloud/remove-unused-code
Removes unused code for link share emails
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/altmail.php | 13 | ||||
-rw-r--r-- | core/templates/mail.php | 38 |
2 files changed, 0 insertions, 51 deletions
diff --git a/core/templates/altmail.php b/core/templates/altmail.php deleted file mode 100644 index 38531d109b7..00000000000 --- a/core/templates/altmail.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php -print_unescaped($l->t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\n", array($_['user_displayname'], $_['filename'], $_['link']))); -if ( isset($_['expiration']) ) { - print_unescaped($l->t("The share will expire on %s.", array($_['expiration']))); - print_unescaped("\n\n"); -} -// TRANSLATORS term at the end of a mail -p($l->t("Cheers!")); -?> - --- -<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?> -<?php print_unescaped("\n".$theme->getBaseUrl()); diff --git a/core/templates/mail.php b/core/templates/mail.php deleted file mode 100644 index cda33490e85..00000000000 --- a/core/templates/mail.php +++ /dev/null @@ -1,38 +0,0 @@ -<table cellspacing="0" cellpadding="0" border="0" width="100%"> -<tr><td> -<table cellspacing="0" cellpadding="0" border="0" width="600px"> -<tr> -<td colspan="2" bgcolor="<?php p($theme->getColorPrimary());?>"> -<img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('', 'logo-mail.png'))); ?>" alt="<?php p($theme->getName()); ?>"/> -</td> -</tr> -<tr><td colspan="2"> </td></tr> -<tr> -<td width="20px"> </td> -<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;"> -<?php -print_unescaped($l->t('Hey there,<br><br>just letting you know that %s shared <strong>%s</strong> with you.<br><a href="%s">View it!</a><br><br>', array($_['user_displayname'], $_['filename'], $_['link']))); -if ( isset($_['expiration']) ) { - p($l->t("The share will expire on %s.", array($_['expiration']))); - print_unescaped('<br><br>'); -} -// TRANSLATORS term at the end of a mail -p($l->t('Cheers!')); -?> -</td> -</tr> -<tr><td colspan="2"> </td></tr> -<tr> -<td width="20px"> </td> -<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 p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a> -</td> -</tr> -<tr> -<td colspan="2"> </td> -</tr> -</table> -</td></tr> -</table> |