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:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
*
|
||||
@@ -26,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);
|
||||
}
|
||||
@@ -99,7 +99,8 @@ class UserConfirmRegReminderHandler extends UserReminderHandler {
|
||||
case ($days > 1 && $days < 2):
|
||||
if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 1)) {
|
||||
common_log(LOG_INFO, "Sending one day registration confirmation reminder to {$confirm->address}", __FILE__);
|
||||
$subject = _m("Reminder - please confirm your registration!");
|
||||
// TRANS: Subject for reminder e-mail.
|
||||
$subject = _m('Reminder - please confirm your registration!');
|
||||
return EmailReminderPlugin::sendReminder(
|
||||
self::REGISTER_REMINDER,
|
||||
$confirm,
|
||||
@@ -113,7 +114,8 @@ class UserConfirmRegReminderHandler extends UserReminderHandler {
|
||||
case ($days > 3 && $days < 4):
|
||||
if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 3)) {
|
||||
common_log(LOG_INFO, "Sending three day registration confirmation reminder to {$confirm->address}", __FILE__);
|
||||
$subject = _m("Second reminder - please confirm your registration!");
|
||||
// TRANS: Subject for reminder e-mail.
|
||||
$subject = _m('Second reminder - please confirm your registration!');
|
||||
return EmailReminderPlugin::sendReminder(
|
||||
self::REGISTER_REMINDER,
|
||||
$confirm,
|
||||
@@ -127,7 +129,8 @@ class UserConfirmRegReminderHandler extends UserReminderHandler {
|
||||
case ($days > 7 && $days < 8):
|
||||
if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 7)) {
|
||||
common_log(LOG_INFO, "Sending one week registration confirmation reminder to {$confirm->address}", __FILE__);
|
||||
$subject = _m("Final reminder - please confirm your registration!");
|
||||
// TRANS: Subject for reminder e-mail.
|
||||
$subject = _m('Final reminder - please confirm your registration!');
|
||||
return EmailReminderPlugin::sendReminder(
|
||||
self::REGISTER_REMINDER,
|
||||
$confirm,
|
||||
@@ -141,5 +144,4 @@ class UserConfirmRegReminderHandler extends UserReminderHandler {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user