mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
strict privacy mode (Friendika-Z) - refuse to talk to networks with privacy issues
This commit is contained in:
parent
ccf4e3eee5
commit
c0094aa4f8
5 changed files with 35 additions and 9 deletions
|
@ -626,19 +626,21 @@ function dfrn_request_content(&$a) {
|
|||
else
|
||||
$tpl = get_markup_template('auto_request.tpl');
|
||||
|
||||
$prv = get_config('system','strict_privacy');
|
||||
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$header' => t('Friend/Connection Request'),
|
||||
'$desc' => t('Examples: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo, testuser@identi.ca'),
|
||||
'$desc' => t('Examples: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo') . (($prv) ? ', testuser@identi.ca' : ''),
|
||||
'$pls_answer' => t('Please answer the following:'),
|
||||
'$does_know' => t('Does $name know you?'),
|
||||
'$does_know' => sprintf( t('Does %s know you?'),$a->profile['name']),
|
||||
'$yes' => t('Yes'),
|
||||
'$no' => t('No'),
|
||||
'$add_note' => t('Add a personal note:'),
|
||||
'$page_desc' => t("Please enter your 'Identity Address' from one of the following supported social networks:"),
|
||||
'$friendika' => t('Friendika'),
|
||||
'$statusnet' => t('StatusNet/Federated Social Web'),
|
||||
'$statusnet' => (($prv) ? t('StatusNet/Federated Social Web') : ''),
|
||||
'$private_net' => t("Private \x28secure\x29 network"),
|
||||
'$public_net' => t("Public \x28insecure\x29 network"),
|
||||
'$public_net' => (($prv) ? t("Public \x28insecure\x29 network") : ''),
|
||||
'$your_address' => t('Your Identity Address:'),
|
||||
'$submit' => t('Submit Request'),
|
||||
'$cancel' => t('Cancel'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue