From d7546c7a638214f53219d342300ef659668a4975 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 13 Feb 2014 19:29:06 +0100 Subject: 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... --- mod/settings.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') 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!'), )); -- cgit v1.2.3