From 7a8f8cbb331f95c20980ab2516d372f65a8d4bd4 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 13 Apr 2017 11:32:59 +0200 Subject: [PATCH] templates no longer needed --- .../templates/altmailpasswordowner.php | 32 ---------- .../templates/mailpasswordowner.php | 59 ------------------- 2 files changed, 91 deletions(-) delete mode 100644 apps/sharebymail/templates/altmailpasswordowner.php delete mode 100644 apps/sharebymail/templates/mailpasswordowner.php diff --git a/apps/sharebymail/templates/altmailpasswordowner.php b/apps/sharebymail/templates/altmailpasswordowner.php deleted file mode 100644 index d9dd4f80e28..00000000000 --- a/apps/sharebymail/templates/altmailpasswordowner.php +++ /dev/null @@ -1,32 +0,0 @@ - - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -/** @var OC_Theme $theme */ -/** @var array $_ */ -print_unescaped($l->t("Hey there,\n\nyou just shared »%s« with %s.\nThe share was already send to the recipient. Due to the security policies\neach share needs to be protected by email and it is not allowed to send the\npassword directly by mail to the recipient. Therefore you need to forward\nthe password manually to the recipient.\n\nThis is the password: %s\n\nYou can chose a different password at any time in the share dialog.\n\n", [$_['filename'], $_['recipient'], $_['password']])); -// TRANSLATORS term at the end of a mail -p($l->t("Cheers!")); -print_unescaped("\n"); -?> - - -- -getName() . ' - ' . $theme->getSlogan()); ?> -getBaseUrl()); diff --git a/apps/sharebymail/templates/mailpasswordowner.php b/apps/sharebymail/templates/mailpasswordowner.php deleted file mode 100644 index cfd6131359e..00000000000 --- a/apps/sharebymail/templates/mailpasswordowner.php +++ /dev/null @@ -1,59 +0,0 @@ - - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -/** @var OCA\Theming\ThemingDefaults $theme */ -/** @var array $_ */ -?> - - - -
- - - - - - - - - - - - - - - - - -
- <?php p($theme->getName()); ?> -
 
  - t('Hey there,

you just shared »%s« with %s.
The share was already send to the recipient. Due to the security policies each share needs to be protected by email and it is not allowed to send the password directly by mail to the recipient. Therefore you need to forward the password manually to the recipient.

This is the password: %s

You can chose a different password at any time in the share dialog.

', [$_['filename'], $_['recipient'], $_['password']])); - // TRANSLATORS term at the end of a mail - p($l->t('Cheers!')); - ?> -
 
 --
- getName()); ?> - - getSlogan()); ?> -
getBaseUrl());?> -
 
-