From: Michael Date: Tue, 18 Oct 2022 12:28:46 +0000 (+0000) Subject: The EOL constant is removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3195504f1a4f6bcf9f831f1cb830b1886154eef;p=friendica-addons.git The EOL constant is removed --- diff --git a/newmemberwidget/newmemberwidget.php b/newmemberwidget/newmemberwidget.php index 10968935..15fb333d 100644 --- a/newmemberwidget/newmemberwidget.php +++ b/newmemberwidget/newmemberwidget.php @@ -25,16 +25,16 @@ function newmemberwidget_network_mod_init (App $a, $b) return; } - $t = '
'.EOL; - $t .= '

'.DI::l10n()->t('New Member').'

'.EOL; - $t .= '' . DI::l10n()->t('Tips for New Members') . '
'.EOL; + $t = '
'; + $t .= '

'.DI::l10n()->t('New Member').'

'; + $t .= '' . DI::l10n()->t('Tips for New Members') . '
'; if (DI::config()->get('newmemberwidget','linkglobalsupport', false)) { - $t .= ''.DI::l10n()->t('Global Support Forum').'
'.EOL; + $t .= ''.DI::l10n()->t('Global Support Forum').'
'; } if (DI::config()->get('newmemberwidget','linklocalsupport', false)) { - $t .= ''.DI::l10n()->t('Local Support Forum').'
'.EOL; + $t .= ''.DI::l10n()->t('Local Support Forum').'
'; } $ft = DI::config()->get('newmemberwidget','freetext', ''); diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index f82c1aa7..9c6fb7f0 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -146,7 +146,7 @@ function statusnet_settings_post(App $a, $post) 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.
The provided API URL is not valid.') . EOL . $asn['apiurl']); + DI::sysmsg()->addNotice(DI::l10n()->t('Please contact your site administrator.
The provided API URL is not valid.') . '
' . $asn['apiurl']); } } } diff --git a/wppost/wppost.php b/wppost/wppost.php index 4cd5acc6..ab172016 100644 --- a/wppost/wppost.php +++ b/wppost/wppost.php @@ -248,8 +248,7 @@ function wppost_send(App $a, array &$b) $wp_backlink = intval(DI::pConfig()->get($b['uid'],'wppost','backlink')); if($wp_backlink && $b['plink']) { - $post .= EOL . EOL . '' - . $wp_backlink_text . '' . EOL . EOL; + $post .= '

' . $wp_backlink_text . '

'; } $post = XML::escape($post);