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
This commit is contained in:
parent
7e82d545d5
commit
10dac9de37
15 changed files with 60 additions and 71 deletions
|
|
@ -259,15 +259,10 @@ if ($row['has_high'] == 'true')
|
|||
}
|
||||
|
||||
// image level options
|
||||
$tpl_options = array();
|
||||
foreach ($conf['available_permission_levels'] as $level)
|
||||
{
|
||||
$tpl_options[$level] = l10n( sprintf('Level %d', $level) ).' ('.$level.')';
|
||||
}
|
||||
$selected_level = isset($_POST['level']) ? $_POST['level'] : $row['level'];
|
||||
$template->assign(
|
||||
array(
|
||||
'level_options'=> $tpl_options,
|
||||
'level_options'=> get_privacy_level_options(),
|
||||
'level_options_selected' => array($selected_level)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue