diff --git a/core/templates/altmail.php b/core/templates/altmail.php
index 37dc8eee942..a7df29a2446 100644
--- a/core/templates/altmail.php
+++ b/core/templates/altmail.php
@@ -1,9 +1,9 @@
t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\nCheers!", array($_['user_displayname'], $_['filename'], $_['link'])));
?>
--
-ownCloud - t("web services under your control"));
-?>
-http://ownCloud.org
+getName() . ' - ' . $defaults->getSlogan()); ?>
+getBaseUrl());
diff --git a/core/templates/mail.php b/core/templates/mail.php
index ebeefd5c7e8..562ad82e953 100644
--- a/core/templates/mail.php
+++ b/core/templates/mail.php
@@ -1,3 +1,4 @@
+
@@ -20,10 +21,9 @@ print_unescaped($l->t('Hey there,
just letting you know that %s shared ยป
| |
--
-ownCloud - t('web services under your control'));
-?>
- http://ownCloud.org |
+getName()); ?> -
+getSlogan()); ?>
+ getBaseUrl());?>
| |
|