diff options
Diffstat (limited to 'themes/default/template')
-rw-r--r-- | themes/default/template/picture.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 39ef2ee9d..7e9a796ea 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -240,7 +240,9 @@ y.callService( }{/literal} </script> <select onchange="setPrivacyLevel(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}, this.options[selectedIndex].value)"> - {html_options options=$available_permission_levels selected=$current.level} + {foreach from=$available_permission_levels item=label key=level} + <option label="{$label}" value="{$level}"{if $level == $current.level} selected="selected"{/if}>{$label}</option> + {/foreach} </select> </td></tr> {/if} |