global $forumdirectory_search;
if ((DI::config()->get('system', 'block_public')) && (!local_user()) && (!remote_user())) {
- DI::sysmsg()->addNotice(DI::l10n()->t('Public access denied.') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('Public access denied.'));
return;
}
$recipients = DBA::p("SELECT DISTINCT `email` FROM `user` WHERE `verified` AND NOT `account_removed` AND NOT `account_expired` $sql_extra");
if (! $recipients) {
- DI::sysmsg()->addNotice(DI::l10n()->t('No recipients found.') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('No recipients found.'));
return;
}
function pumpio_content(App $a)
{
if (!local_user()) {
- DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.'));
return '';
}
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable);
if ($res) {
- DI::sysmsg()->addInfo(DI::l10n()->t('Test email sent') . EOL);
+ DI::sysmsg()->addInfo(DI::l10n()->t('Test email sent'));
} else {
- DI::sysmsg()->addNotice(DI::l10n()->t('There was an error sending the test email') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('There was an error sending the test email'));
}
}
}
DI::pConfig()->set(local_user(), 'statusnet', 'baseapi', $asn['apiurl']);
//DI::pConfig()->set(local_user(), 'statusnet', 'application_name', $asn['applicationname'] );
} else {
- DI::sysmsg()->addNotice(DI::l10n()->t('Please contact your site administrator.<br />The provided API URL is not valid.') . EOL . $asn['apiurl'] . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('Please contact your site administrator.<br />The provided API URL is not valid.') . EOL . $asn['apiurl']);
}
}
}
DI::pConfig()->set(local_user(), 'statusnet', 'baseapi', $apibase);
} else {
// still not the correct API base, let's do noting
- DI::sysmsg()->addNotice(DI::l10n()->t('We could not contact the GNU Social API with the Path you entered.') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('We could not contact the GNU Social API with the Path you entered.'));
}
}
} else {
function tumblr_content(App $a)
{
if (!local_user()) {
- DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.') . EOL);
+ DI::sysmsg()->addNotice(DI::l10n()->t('Permission denied.'));
return '';
}