{* * $Revision: 1.4 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}
{g->hiddenFormVars}

{g->text text="Password Protected Item"}

{if isset($form.error.incorrectPassword)}

Password incorrect, please try again.

{/if}

{* We want submit the password action if enter is pressed *} {g->defaultButton name="form[action][password]"}
{g->callback type="core.LoadValidationPlugins" level=$form.validationLevel key="password.PasswordEntry."|cat:$form.itemId} {foreach from=$block.core.ValidationPlugins item=plugin} {include file="gallery:`$plugin.file`" l10Domain=$plugin.l10Domain} {/foreach}