- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names
Signed-off-by: Roland Haeder <roland@mxchange.org>
$linktxt=sprintf(t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'),$dirloc.'/siteinfo');
$linktxt=sprintf(t('To accept this invitation, please visit and register at %s or any other public Friendica website.'),App::get_baseurl())
."\r\n"."\r\n".sprintf(t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),$dirloc.'/siteinfo');
}
}
else{
$o=t('Our apologies. This system is not currently configured to connect with other public sites or invite members.');
@ -129,15 +131,15 @@ function invite_content(&$a) {
'$addr_text'=>t('Enter email addresses, one per line:'),
'$msg_text'=>t('Your message:'),
'$default_message'=>t('You are cordially invited to join me and other close friends on Friendica - and help us to create a better social web.')."\r\n"."\r\n"
'$invite'=>t('Send invitations'),
'$addr_text'=>t('Enter email addresses, one per line:'),
'$msg_text'=>t('Your message:'),
'$default_message'=>t('You are cordially invited to join me and other close friends on Friendica - and help us to create a better social web.')."\r\n"."\r\n"
.$linktxt
."\r\n"."\r\n".(($invonly)?t('You will need to supply this invitation code: $invite_code')."\r\n"."\r\n":'').t('Once you have registered, please connect with me via my profile page at:')