mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 23:03:42 +00:00
The EOL constant is removed
This commit is contained in:
parent
285079c12b
commit
b3195504f1
3 changed files with 7 additions and 8 deletions
|
@ -25,16 +25,16 @@ function newmemberwidget_network_mod_init (App $a, $b)
|
|||
return;
|
||||
}
|
||||
|
||||
$t = '<div id="newmember_widget" class="widget">'.EOL;
|
||||
$t .= '<h3>'.DI::l10n()->t('New Member').'</h3>'.EOL;
|
||||
$t .= '<a href="newmember" id="newmemberwidget-tips">' . DI::l10n()->t('Tips for New Members') . '</a><br />'.EOL;
|
||||
$t = '<div id="newmember_widget" class="widget">';
|
||||
$t .= '<h3>'.DI::l10n()->t('New Member').'</h3>';
|
||||
$t .= '<a href="newmember" id="newmemberwidget-tips">' . DI::l10n()->t('Tips for New Members') . '</a><br />';
|
||||
|
||||
if (DI::config()->get('newmemberwidget','linkglobalsupport', false)) {
|
||||
$t .= '<a href="https://forum.friendi.ca/profile/helpers" target="_new">'.DI::l10n()->t('Global Support Forum').'</a><br />'.EOL;
|
||||
$t .= '<a href="https://forum.friendi.ca/profile/helpers" target="_new">'.DI::l10n()->t('Global Support Forum').'</a><br />';
|
||||
}
|
||||
|
||||
if (DI::config()->get('newmemberwidget','linklocalsupport', false)) {
|
||||
$t .= '<a href="'.DI::baseUrl()->get().'/profile/'.DI::config()->get('newmemberwidget','localsupport').'" target="_new">'.DI::l10n()->t('Local Support Forum').'</a><br />'.EOL;
|
||||
$t .= '<a href="'.DI::baseUrl()->get().'/profile/'.DI::config()->get('newmemberwidget','localsupport').'" target="_new">'.DI::l10n()->t('Local Support Forum').'</a><br />';
|
||||
}
|
||||
|
||||
$ft = DI::config()->get('newmemberwidget','freetext', '');
|
||||
|
|
|
@ -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.<br />The provided API URL is not valid.') . EOL . $asn['apiurl']);
|
||||
DI::sysmsg()->addNotice(DI::l10n()->t('Please contact your site administrator.<br />The provided API URL is not valid.') . '<br />' . $asn['apiurl']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 . '<a href="' . $b['plink'] . '">'
|
||||
. $wp_backlink_text . '</a>' . EOL . EOL;
|
||||
$post .= '<p><a href="' . $b['plink'] . '">' . $wp_backlink_text . '</a><p/>';
|
||||
}
|
||||
|
||||
$post = XML::escape($post);
|
||||
|
|
Loading…
Reference in a new issue