{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=Gallery title=$locale->tr("gallery_plugin")}
<form name="galleryPluginConfig" method="post">
 <fieldset class="inputField">
 <legend>{$locale->tr("label_configuration")}</legend>
  {include file="$admintemplatepath/successmessage.template"}
  {include file="$admintemplatepath/errormessage.template"}
  <div class="field">
   <span class="required"></span>
   <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" 
     {if $pluginEnabled} checked="checked" {/if} value="1"/>{$locale->tr("help_enable")}
   </div>
  </div>

  <div class="field">
   <label for="absolutePath">{$locale->tr("label_absolute_path")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("help_absolute_path")}
    <input class="text" type="text" name="absolutePath" id="absolutePath" value="{$absolutePath}"/>
   </div>
  </div>
  <div class="field">
   <label for="embedUri">{$locale->tr("label_embed_uri")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("help_embed_uri")}
    <input class="text" type="text" name="embedUri" id="embedUri" value="{$embedUri}"/>
   </div> 
  </div>
  <div class="field">
   <label for="embedPath">{$locale->tr("label_embed_path")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("help_embed_path")}  
    <input class="text" type="text" name="embedPath" id="embedPath" value="{$embedPath}"/>
   </div>
  </div>
  <div class="field">
   <label for="relativePath">{$locale->tr("label_relative_path")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("help_relative_path")}
    <input class="text" type="text" name="relativePath" id="relativePath" value="{$relativePath}"/>
   </div>
  </div>
  <div class="field">
   <label>{$locale->tr("label_example")}</label>
   <div class="formHelp">{$locale->tr("help_example")}</div>
  </div>

  <div class="field">
   <label for="blocks">{$locale->tr("label_blocks")}</label>
   <span class="required"></span>
   <div class="formHelp">{$locale->tr("help_blocks")}
    <input class="text" type="text" name="blocks" id="blocks" value="{$blocks}"/>
   </div>
  </div>
  <div class="field">
   <label for="show">{$locale->tr("label_show")}</label>
   <span class="required"></span>
   <div class="formHelp">{$locale->tr("help_show")}
    <input class="text" type="text" name="show" id="show" value="{$show}"/>
   </div>
  </div>
  <div class="field">
   <label for="itemid">{$locale->tr("label_itemid")}</label>
   <span class="required"></span>
   <div class="formHelp">{$locale->tr("help_itemid")}
    <input class="text" type="text" name="itemid" id="itemid" value="{$itemid}"/>
   </div>
  </div>

  <div class="field">
   <span class="required"></span>
   <label for="pluginEnabled">{$locale->tr("label_sidebar")}</label><br/>
   <div class="formHelp">   
    <input class="checkbox" type="checkbox" name="sidebarEnabled" id="sidebarEnabled" 
     {if $sidebarEnabled} checked="checked" {/if} value="1" />{$locale->tr("help_sidebar")}
   </div>
  </div>
  <div class="field">
   <span class="required"></span>
   <label for="pluginEnabled">{$locale->tr("label_sidebar_greeting")}</label>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="sidebarGreetingEnabled" id="sidebarGreetingEnabled" 
     {if $sidebarGreetingEnabled} checked="checked" {/if} value="1" />{$locale->tr("help_sidebar_greeting")}
   </div>
  </div>
  <div class="field">
   <span class="required"></span>
   <label for="pluginEnabled">{$locale->tr("label_sidepath")}</label>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="pathbarEnabled" id="pathbarEnabled" 
     {if $pathbarEnabled} checked="checked" {/if} value="1" />{$locale->tr("help_sidepath")}
   </div>
  </div>
 </fieldset>
 <div class="buttons">
  <input type="hidden" name="op" value="updateGalleryConfig" />
  <input type="reset" name="{$locale->tr("reset")}" />
  <input type="submit" name="{$locale->tr("update_settings")}" value="{$locale->tr("update")}" />
 </div>
</form>
{include file="$admintemplatepath/footernavigation.template"}
{include file="$admintemplatepath/footer.template"}
