Ignore:
Timestamp:
May 1, 2010, 12:38:17 AM (14 years ago)
Author:
plg
Message:

bug 1637: make the privacy level the same everywher, use "who can see this photo?"
instead of "minimum privacy level".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r5288 r6025  
    260260
    261261// image level options
    262 $tpl_options = array();
    263 foreach ($conf['available_permission_levels'] as $level)
    264 {
    265   $tpl_options[$level] = l10n( sprintf('Level %d', $level) ).' ('.$level.')';
    266 }
    267262$selected_level = isset($_POST['level']) ? $_POST['level'] : $row['level'];
    268263$template->assign(
    269264    array(
    270       'level_options'=> $tpl_options,
     265      'level_options'=> get_privacy_level_options(),
    271266      'level_options_selected' => array($selected_level)
    272267    )
Note: See TracChangeset for help on using the changeset viewer.