aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 15:42:30 -0700
committerfriendica <info@friendica.com>2013-10-13 15:42:30 -0700
commit1354702d690add3c6ff0c331a190ef3004f7d48c (patch)
tree8c2469413dbdcbae9fa00ea2be982cfec44ee690 /view/tpl/field_acheckbox.tpl
parentbb9feee370fc9eefc6b6dc79d561c30de4a37ec1 (diff)
downloadvolse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.tar.gz
volse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.tar.bz2
volse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.zip
remove the disabled flag on individual permissions and improve the text to show that settings may be inherited. The reason for this change is that we want the individual settings to be stored regardless of the inherited settings, because if somebody changes the higher precedence privacy settings it could leave all their existing contacts with no permissions and this could be a support nightmare.
So this way if somebody starts off with "anybody on the network can send me their stream and posts" and later changes it to "only specific connections can send me their stream and posts", the individual setting will already be set for all their connections. The previous behaviour is that this setting would have been disabled so none of their existing connections will have this specific permission. Old-timers who were here and made lots of connections before this commit - will have to edit all their connections if they change their privacy settings from lesser restrictive to be more restrictive.
Diffstat (limited to 'view/tpl/field_acheckbox.tpl')
-rwxr-xr-xview/tpl/field_acheckbox.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index cb63f7ca2..f5dda4cc0 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -1,6 +1,6 @@
<div class='field acheckbox'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<input type="checkbox" class="abook-edit-them" name='them_{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} />
- <input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} {{if $field.5}} disabled="disabled" {{/if}}/>
+ <input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />{{if $field.5}} <span class="permission-inherited">{{$inherited}}</span> {{/if}}
<span class='field_abook_help'>{{$field.6}}</span>
</div>