aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-14 08:42:02 +1100
committerfriendica <info@friendica.com>2014-02-14 08:42:02 +1100
commitff7c7170671e8699ca15d25af0320b8a92c7fef2 (patch)
treed846825a260e4681c6361ec04c47701cfd9c749f /mod/settings.php
parent5cedc324eb290e32f547e23799ec3e09fc30c496 (diff)
parentd7546c7a638214f53219d342300ef659668a4975 (diff)
downloadvolse-hubzilla-ff7c7170671e8699ca15d25af0320b8a92c7fef2.tar.gz
volse-hubzilla-ff7c7170671e8699ca15d25af0320b8a92c7fef2.tar.bz2
volse-hubzilla-ff7c7170671e8699ca15d25af0320b8a92c7fef2.zip
Merge pull request #313 from git-marijus/master
This makes advanced privacy settings adjustable in expert mode only. Als...
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!'),
));