This commit is contained in:
parent
7cba74bb6c
commit
9207b9e408
|
@ -94,8 +94,8 @@ class Profile extends BaseModule
|
||||||
$fields['hidden'] = !empty($_POST['hidden']);
|
$fields['hidden'] = !empty($_POST['hidden']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['notify'])) {
|
if (isset($_POST['notify_new_posts'])) {
|
||||||
$fields['notify'] = !empty($_POST['notify']);
|
$fields['notify_new_posts'] = !empty($_POST['notify_new_posts']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST['fetch_further_information'])) {
|
if (isset($_POST['fetch_further_information'])) {
|
||||||
|
@ -355,7 +355,7 @@ class Profile extends BaseModule
|
||||||
'$archived' => ($contact['archive'] ? $this->t('Currently archived') : ''),
|
'$archived' => ($contact['archive'] ? $this->t('Currently archived') : ''),
|
||||||
'$pending' => ($contact['pending'] ? $this->t('Awaiting connection acknowledge') : ''),
|
'$pending' => ($contact['pending'] ? $this->t('Awaiting connection acknowledge') : ''),
|
||||||
'$hidden' => ['hidden', $this->t('Hide this contact from others'), $localRelationship->hidden, $this->t('Replies/likes to your public posts <strong>may</strong> still be visible')],
|
'$hidden' => ['hidden', $this->t('Hide this contact from others'), $localRelationship->hidden, $this->t('Replies/likes to your public posts <strong>may</strong> still be visible')],
|
||||||
'$notify' => ['notify', $this->t('Notification for new posts'), ($contact['notify_new_posts'] == 1), $this->t('Send a notification of every new post of this contact')],
|
'notify_new_posts' => ['notify_new_posts', $this->t('Notification for new posts'), ($localRelationship->notifyNewPosts), $this->t('Send a notification of every new post of this contact')],
|
||||||
'$fetch_further_information' => $fetch_further_information,
|
'$fetch_further_information' => $fetch_further_information,
|
||||||
'$ffi_keyword_denylist' => ['ffi_keyword_denylist', $this->t('Keyword Deny List'), $localRelationship->ffiKeywordDenylist, $this->t('Comma separated list of keywords that should not be converted to hashtags, when "Fetch information and keywords" is selected')],
|
'$ffi_keyword_denylist' => ['ffi_keyword_denylist', $this->t('Keyword Deny List'), $localRelationship->ffiKeywordDenylist, $this->t('Comma separated list of keywords that should not be converted to hashtags, when "Fetch information and keywords" is selected')],
|
||||||
'$photo' => Contact::getPhoto($contact),
|
'$photo' => Contact::getPhoto($contact),
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
||||||
|
|
||||||
<div id="contact-edit-end"></div>
|
<div id="contact-edit-end"></div>
|
||||||
{{include file="field_checkbox.tpl" field=$notify}}
|
{{include file="field_checkbox.tpl" field=$notify_new_posts}}
|
||||||
{{if $fetch_further_information}}
|
{{if $fetch_further_information}}
|
||||||
{{include file="field_select.tpl" field=$fetch_further_information}}
|
{{include file="field_select.tpl" field=$fetch_further_information}}
|
||||||
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
|
|
||||||
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$notify}}
|
{{include file="field_checkbox.tpl" field=$notify_new_posts}}
|
||||||
{{if $fetch_further_information}}
|
{{if $fetch_further_information}}
|
||||||
{{include file="field_select.tpl" field=$fetch_further_information}}
|
{{include file="field_select.tpl" field=$fetch_further_information}}
|
||||||
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
<input type="hidden" name="contact_id" value="{{$contact_id}}">
|
||||||
|
|
||||||
<div id="contact-edit-end"></div>
|
<div id="contact-edit-end"></div>
|
||||||
{{include file="field_checkbox.tpl" field=$notify}}
|
{{include file="field_checkbox.tpl" field=$notify_new_posts}}
|
||||||
{{if $fetch_further_information}}
|
{{if $fetch_further_information}}
|
||||||
{{include file="field_select.tpl" field=$fetch_further_information}}
|
{{include file="field_select.tpl" field=$fetch_further_information}}
|
||||||
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
{{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_denylist}} {{/if}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user