cleanup of settings page

This commit is contained in:
zotlabs 2020-04-07 19:07:12 -07:00
parent e16149dec9
commit ad6a42ec8f
2 changed files with 2 additions and 2 deletions

View file

@ -678,7 +678,7 @@ class Channel {
'$mailhost' => [ 'mailhost', t('Email notification hub (hostname)'), get_pconfig(local_channel(),'system','email_notify_host',App::get_hostname()), sprintf( t('If your channel is mirrored to multiple locations, set this to your preferred location. This will prevent duplicate email notifications. Example: %s'),App::get_hostname()) ],
'$always_show_in_notices' => array('always_show_in_notices', t('Show new wall posts, private messages and connections under Notices'), $always_show_in_notices, 1, '', $yes_no),
'$permit_all_mentions' => [ 'permit_all_mentions', t('Accept messages from strangers which mention me'), get_pconfig(local_channel(),'system','permit_all_mentions'), t('This setting supercedes normal permissions'), $yes_no ],
'$followed_tags' => [ 'followed_tags', t('Followed hashtags (comma separated, do not include the #)'),$followed,EMPTY_STR ],
'$followed_tags' => [ 'followed_tags', t('Accept messages from strangers which include any of the following hashtags'), $followed, t('comma separated, do not include the #') ],
'$evdays' => array('evdays', t('Notify me of events this many days in advance'), $evdays, t('Must be greater than 0')),
'$basic_addon' => $plugin['basic'],
'$sec_addon' => $plugin['security'],

View file

@ -52,6 +52,7 @@
{{$anymention}}
{{include file="field_select.tpl" field=$comment_perms}}
{{include file="field_checkbox.tpl" field=$permit_all_mentions}}
{{include file="field_input.tpl" field=$followed_tags}}
<div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};">
<div class="form-group">
@ -88,7 +89,6 @@
{{$suggestme}}
{{include file="field_input.tpl" field=$expire}}
{{include file="field_checkbox.tpl" field=$hyperdrive}}
{{include file="field_input.tpl" field=$followed_tags}}
</div>
{{if $permcat_enable}}
{{include file="field_select.tpl" field=$defpermcat}}