aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-13 19:29:06 +0100
committermarijus <mario@localhost.localdomain>2014-02-13 19:29:06 +0100
commitd7546c7a638214f53219d342300ef659668a4975 (patch)
treed846825a260e4681c6361ec04c47701cfd9c749f /mod/settings.php
parent5cedc324eb290e32f547e23799ec3e09fc30c496 (diff)
downloadvolse-hubzilla-d7546c7a638214f53219d342300ef659668a4975.tar.gz
volse-hubzilla-d7546c7a638214f53219d342300ef659668a4975.tar.bz2
volse-hubzilla-d7546c7a638214f53219d342300ef659668a4975.zip
This makes advanced privacy settings adjustable in expert mode only. Also they are hidden behind a button. This is a design hotfix should probably come up with something better someday...
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 506141a1f..ec758bc90 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -977,6 +977,8 @@ function settings_content(&$a) {
'$h_advn' => t('Advanced Account/Page Type Settings'),
'$h_descadvn' => t('Change the behaviour of this account for special situations'),
'$pagetype' => $pagetype,
+ '$expert' => feature_enabled(local_user(),'expert'),
+ '$hint' => t('Please enable expert mode (in Settings > Additional features) to adjust!'),
));