aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-30 22:38:17 +0000
committerplegall <plg@piwigo.org>2010-04-30 22:38:17 +0000
commit10dac9de37eee9b73964e8370eb39333b7760c0c (patch)
treee09eb98cd0e582064453c1c0091224c6bb6ac698 /admin/element_set_global.php
parent7e82d545d50bcdc23eb260e5402a39e04c3ab348 (diff)
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
Diffstat (limited to 'admin/element_set_global.php')
-rw-r--r--admin/element_set_global.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php
index 14d8f8a3e..f2c708022 100644
--- a/admin/element_set_global.php
+++ b/admin/element_set_global.php
@@ -409,14 +409,10 @@ $template->assign( array(
);
// image level options
-$tpl_options = array();
-foreach ($conf['available_permission_levels'] as $level)
-{
- $tpl_options[$level] = l10n( sprintf('Level %d', $level) );
-}
$template->assign(
array(
- 'level_options'=> $tpl_options,
+ 'level_options'=> get_privacy_level_options(),
+ 'level_options_selected' => 0,
)
);