diff --git a/mod/crepair.php b/mod/crepair.php index 1324185342..f8336ef0ba 100644 --- a/mod/crepair.php +++ b/mod/crepair.php @@ -157,6 +157,7 @@ function crepair_content(&$a) { '$label_poll' => t('Poll/Feed URL'), '$label_photo' => t('New photo from this URL'), '$label_remote_self' => t('Remote Self'), + '$allow_remote_self' => get_config('system','allow_users_remote_self'), '$remote_self' => array('remote_self', t('Mirror postings from this contact'), $contact['remote_self'], t('Mark this contact as remote_self, this will cause friendica to repost new entries from this contact.')), '$contact_name' => $contact['name'], '$contact_nick' => $contact['nick'], diff --git a/view/templates/crepair.tpl b/view/templates/crepair.tpl index 27c11fa922..d53af5dad7 100644 --- a/view/templates/crepair.tpl +++ b/view/templates/crepair.tpl @@ -37,9 +37,10 @@
- +{{if $allow_remote_self eq 1}}

{{$label_remote_self}}

{{include file="field_checkbox.tpl" field=$remote_self}} +{{/if}}