From 10dac9de37eee9b73964e8370eb39333b7760c0c Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 30 Apr 2010 22:38:17 +0000 Subject: bug 1637: make the privacy level the same everywher, use "who can see this photo?" instead of "minimum privacy level". git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/site_update.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'admin/site_update.php') diff --git a/admin/site_update.php b/admin/site_update.php index a42139e92..c6cc69f03 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -890,11 +890,7 @@ else $cat_selected = array(); } -$tpl_introduction['privacy_level_options']=array(); -foreach ($conf['available_permission_levels'] as $level) -{ - $tpl_introduction['privacy_level_options'][$level] = l10n( sprintf('Level %d', $level) ); -} +$tpl_introduction['privacy_level_options'] = get_privacy_level_options(); $template->assign('introduction', $tpl_introduction); -- cgit v1.2.3