Blame view
sources/apps/activity/templates/email.notification.php
1001 Bytes
|
6d9380f96
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<?php
/* Copyright (c) 2014, Joas Schilling nickvergessen@owncloud.com
* This file is licensed under the Affero General Public License version 3
* or later. See the COPYING-README file. */
/** @var OC_L10N $l */
/** @var array $_ */
p($l->t('Hello %s,', array($_['username'])));
p("
");
p("
");
if ($_['timeframe'] == \OCA\Activity\UserSettings::EMAIL_SEND_HOURLY) {
p($l->t('You are receiving this email because in the last hour the following things happened at %s', array($_['owncloud_installation'])));
} else if ($_['timeframe'] == \OCA\Activity\UserSettings::EMAIL_SEND_DAILY) {
p($l->t('You are receiving this email because in the last day the following things happened at %s', array($_['owncloud_installation'])));
} else {
p($l->t('You are receiving this email because in the last week the following things happened at %s', array($_['owncloud_installation'])));
}
p("
");
p("
");
foreach ($_['activities'] as $activity) {
p($l->t('* %s', array($activity)));
p("
");
}
p("
");
|