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/themes/default/template/picture.tpl

    r5931 r6025  
    223223{if $display_info.privacy_level and isset($available_permission_levels) }
    224224        <tr id="Privacy">
    225                 <td class="label">{'Privacy level'|@translate}:</td>
     225                <td class="label">{'Who can see this photo?'|@translate}</td>
    226226                <td class="value">
    227227<script type="text/javascript">
     
    241241</script>
    242242        <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)">
    243         {foreach from=$available_permission_levels item=level}
    244                 <option value="{$level}"{if $current.level==$level} selected="selected"{/if}>{$pwg->l10n($pwg->sprintf('Level %d',$level))}</option>
    245         {/foreach}
     243          {html_options options=$available_permission_levels selected=$current.level}
    246244        </select>
    247245        </td></tr>
Note: See TracChangeset for help on using the changeset viewer.