forked from GNUsocial/gnu-social
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
* '1.0.x' of gitorious.org:statusnet/mainline: (31 commits) Enable TinyMCE for the blog form upgrade TinyMCE to 3.4.x correctly purify input for Blog_entry better management of HTML input correctly return the HTML representation of a new blog entry Fine-tuning Blog_entry class don't double-show summary and content move class BlogEntry to Blog_entry for DB_DataObject compliance get right output context for BlogEntryListItem correct staticGet() declaration First coded version of blog plugin push regex pattern for UUID to that class Localisation updates from http://translatewiki.net. Document a few messages I missed. Add translator documentation. Broke a few long lines. i18n/L10n updates. Whitespace updates. Localisation updates from http://translatewiki.net. Add missing translator documentation. Update translator documentation. Whitespace updates. Fix i18n issues. Cannot use a PHP variable in a gettext messages. Needs to be replaced. Whitespace updates. Add translator documentation. ... Conflicts: plugins/EmailReminder/EmailReminderPlugin.php plugins/EmailReminder/lib/userinvitereminderhandler.php
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
exit(1);
|
||||
}
|
||||
@@ -97,7 +98,8 @@ class UserInviteReminderHandler extends UserReminderHandler {
|
||||
case ($days > 1 && $days < 2):
|
||||
if (Email_reminder::needsReminder(self::INVITE_REMINDER, $invitation, 1)) {
|
||||
common_log(LOG_INFO, "Sending one day invitation reminder to {$invitation->address}", __FILE__);
|
||||
$subject = _m("Reminder - you have been invited to join {$siteName}!");
|
||||
// TRANS: Subject for reminder e-mail. %s is the StatusNet sitename.
|
||||
$subject = sprintf(_m('Reminder - You have been invited to join %s!'),$siteName);
|
||||
return EmailReminderPlugin::sendReminder(
|
||||
self::INVITE_REMINDER,
|
||||
$invitation,
|
||||
@@ -110,7 +112,8 @@ class UserInviteReminderHandler extends UserReminderHandler {
|
||||
case ($days > 3 && $days < 4):
|
||||
if (Email_reminder::needsReminder(self::INVITE_REMINDER, $invitation, 3)) {
|
||||
common_log(LOG_INFO, "Sending three day invitation reminder to {$invitation->address}", __FILE__);
|
||||
$subject = _m("Final reminder - you have been invited to join {$siteName}!");
|
||||
// TRANS: Subject for reminder e-mail. %s is the StatusNet sitename.
|
||||
$subject = sprintf(_m('Final reminder - you have been invited to join %s!'),$siteName);
|
||||
return EmailReminderPlugin::sendReminder(
|
||||
self::INVITE_REMINDER,
|
||||
$invitation,
|
||||
@@ -124,5 +127,4 @@ class UserInviteReminderHandler extends UserReminderHandler {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user