aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
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,
)
);