Continued:
- added curly braces + spaces - added todo about testing empty/non-empty strings Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
5588472f6d
commit
51d352922a
|
@ -824,8 +824,10 @@ function settings_content(App &$a) {
|
||||||
|
|
||||||
$settings_connectors .= mini_group_select(local_user(), $default_group, t("Default group for OStatus contacts"));
|
$settings_connectors .= mini_group_select(local_user(), $default_group, t("Default group for OStatus contacts"));
|
||||||
|
|
||||||
if ($legacy_contact != "")
|
/// @TODO Found to much different usage to test empty/non-empty strings (e.g. empty(), trim() == '' ) which is wanted?
|
||||||
|
if ($legacy_contact != "") {
|
||||||
$a->page['htmlhead'] = '<meta http-equiv="refresh" content="0; URL='.App::get_baseurl().'/ostatus_subscribe?url='.urlencode($legacy_contact).'">';
|
$a->page['htmlhead'] = '<meta http-equiv="refresh" content="0; URL='.App::get_baseurl().'/ostatus_subscribe?url='.urlencode($legacy_contact).'">';
|
||||||
|
}
|
||||||
|
|
||||||
$settings_connectors .= '<div id="legacy-contact-wrapper" class="field input">';
|
$settings_connectors .= '<div id="legacy-contact-wrapper" class="field input">';
|
||||||
$settings_connectors .= '<label id="legacy-contact-label" for="snautofollow-checkbox">'. t('Your legacy GNU Social account'). '</label>';
|
$settings_connectors .= '<label id="legacy-contact-label" for="snautofollow-checkbox">'. t('Your legacy GNU Social account'). '</label>';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user