aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-18 16:32:05 -0700
committerfriendica <info@friendica.com>2014-09-18 16:32:05 -0700
commitd4759a5883e6776a2022b204b1af84e454de7f67 (patch)
tree48233090c33d9741f7173f6fd727de53b2d58200 /mod/settings.php
parent0b47fb9a91b58147e616ea75a23dea0d431c40f8 (diff)
downloadvolse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.tar.gz
volse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.tar.bz2
volse-hubzilla-d4759a5883e6776a2022b204b1af84e454de7f67.zip
repeated content collapse on update from display page under rare conditions (when the conversation hasn't changed)
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index f9568feb3..81596a27e 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -935,6 +935,10 @@ function settings_content(&$a) {
}
}
+
+ $permissions_role = get_pconfig(local_user(),'system','permissions_role');
+ $permissions_set = (($permissions_role && $permissions_role != 'custom') ? true : false);
+
$o .= replace_macros($stpl,array(
'$ptitle' => t('Channel Settings'),
@@ -955,6 +959,8 @@ function settings_content(&$a) {
'$adult' => array('adult', t('Adult Content'), $adult_flag, t('This channel frequently or regularly publishes adult content. (Please tag any adult material and/or nudity with #NSFW)')),
'$h_prv' => t('Security and Privacy Settings'),
+ '$permissions_set' => $permissions_set,
+ '$perms_set_msg' => t('Your permissions are already configured. Click to view/adjust'),
'$hide_presence' => array('hide_presence', t('Hide my online presence'),$hide_presence, t('Prevents displaying in your profile that you are online')),