Ignore:
Timestamp:
Oct 25, 2010, 10:03:45 AM (14 years ago)
Author:
grum
Message:

Fix bug:1954

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/template/picture.tpl

    r6956 r7384  
    341341                </script>
    342342                <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)">
    343                 {foreach from=$available_permission_levels item=level}
    344                   <option value="{$level}"{if $current.level==$level} selected="selected"{/if}>{$pwg->l10n($pwg->sprintf('Level %d',$level))}</option>
    345                 {/foreach}
     343                  {foreach from=$available_permission_levels item=label key=level}
     344                  <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option>
     345                  {/foreach}
    346346                </select>
    347347              </td>
Note: See TracChangeset for help on using the changeset viewer.