-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated templates & l10n for 10.0.10
- Loading branch information
Showing
16 changed files
with
139 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<table cellspacing="0" cellpadding="0" border="0" width="100%"> | ||
<tr><td> | ||
<table cellspacing="0" cellpadding="0" border="0" width="600px"> | ||
<tr> | ||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px"> </td> | ||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>"> | ||
<img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('', 'logo-mail.gif'))); ?>" 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;"> | ||
Hello,<br> | ||
<?php if ($_['message'] !== ''): ?> | ||
<?php p($_['message']); ?> | ||
<br><br> | ||
<?php endif; ?> | ||
<?php print_unescaped($l->t('See <a href="%s">%s</a> on %s for more information', [$_['serverUrl'], $_['serverUrl'], $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($this->inc('html.mail.footer', ['app' => 'core'])); ?> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"> </td> | ||
</tr> | ||
</table> | ||
</td></tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Hello, | ||
<?php if ($_['message'] !== ''): ?> | ||
<?php print_unescaped($_['message']); ?> | ||
|
||
|
||
<?php endif; ?> | ||
<?php print_unescaped($l->t('See %s on %s for more information', [$_['serverUrl'], $theme->getName()])); ?> | ||
|
||
|
||
<?php print_unescaped($this->inc('plain.mail.footer', ['app' => 'core'])); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
print_unescaped($l->t("Hello,\n\nwe inform you that %s shared %s with you.\nView file here: %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"); | ||
} | ||
if (isset($_['personal_note'])) { | ||
// TRANSLATORS personal note in share notification email | ||
print_unescaped($l->t("Personal note from the sender: %s.", [$_['personal_note']])); | ||
print_unescaped("\n\n"); | ||
} | ||
// TRANSLATORS term at the end of a mail | ||
p($l->t("Your CESNET Storage Department Team")); | ||
?> | ||
|
||
-- | ||
<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?> | ||
<?php print_unescaped("\n".$theme->getBaseUrl()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<table cellspacing="0" cellpadding="0" border="0" width="100%"> | ||
<tr><td> | ||
<table cellspacing="0" cellpadding="0" border="0" width="600px"> | ||
<tr> | ||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px"> </td> | ||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>"> | ||
<img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('', 'logo-mail.gif'))); ?>" 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 | ||
/** | ||
* @author Christopher Schäpers <kondou@ts.unde.re> | ||
* | ||
* @copyright Copyright (c) 2018, ownCloud GmbH | ||
* @license AGPL-3.0 | ||
* | ||
* This code is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License, version 3, | ||
* as published by the Free Software Foundation. | ||
* | ||
* 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, version 3, | ||
* along with this program. If not, see <http://www.gnu.org/licenses/> | ||
* | ||
*/ | ||
print_unescaped(\str_replace('{link}', "<a href=\"{$_['link']}\">{$_['link']}</a>", $l->t('Please use the following link to reset your password: {link}'))); | ||
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;"> | ||
<?php print_unescaped($this->inc('html.mail.footer')); ?> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2"> </td> | ||
</tr> | ||
</table> | ||
</td></tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.