Changeset 6026


Ignore:
Timestamp:
05/01/10 09:38:51 (9 years ago)
Author:
Gotcha
Message:

Compatible with r6025

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/sobre/template/picture.tpl

    r5877 r6026  
    233233    {/if} 
    234234    {if $display_info.privacy_level and isset($available_permission_levels) } 
    235           <td id="Privacy" class="label">{'Privacy level'|@translate}:</td> 
     235          <td id="Privacy" class="label">{'Who can see this photo?'|@translate}:</td> 
    236236          <td id="Privacy" class="value">  
    237237                <script type="text/javascript"> 
     
    251251                </script> 
    252252                        <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)"> 
    253                         {foreach from=$available_permission_levels item=level} 
    254                                 <option value="{$level}"{if $current.level==$level} selected="selected"{/if}>{$pwg->l10n($pwg->sprintf('Level %d',$level))}</option> 
    255                         {/foreach} 
     253                        {html_options options=$available_permission_levels selected=$current.level} 
    256254                        </select> 
    257255          </td> 
Note: See TracChangeset for help on using the changeset viewer.