{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=EmbedMedia MusicName=$locale->tr("embedmedia_plugin")}
<form name="embedmediaPluginConfig" method="post">
 <fieldset class="inputField">
 <legend>{$locale->tr("embedmedia_plugin")}</legend>
  {include file="$admintemplatepath/successmessage.template"}
  {include file="$admintemplatepath/errormessage.template"}

  <div class="field"><p>
   <span class="required"></span>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="pluginEnabled" id="pluginEnabled" {if $pluginEnabled} checked="checked" {/if} value="1" />{$locale->tr("embedmedia_plugin_enabled")}
   </div>
  </div>

  <div class="field">
   <label for="MusicName">{$locale->tr("label_MusicName")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("embedmedia_MusicName")}</div>
   <input class="text" type="text" name="MusicName" id="MusicName" value="{$MusicName}" width="40" maxlength="40"/>
  </div>

  <div class="field">
   <label for="SRC">{$locale->tr("label_SRC")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("embedmedia_SRC")}</div>
   <input class="text" type="text" name="SRC" id="SRC" value="{$SRC}" width="30" />
  </div>

  <!-- content -->
  <div class="field">
   <label for="Auto">{$locale->tr("label_Auto")}</label>
   <span class="required"></span>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="Auto" id="Auto" {if $Auto} checked="checked" {/if} value="1" />{$locale->tr("embedmedia_plugin_Auto")}
   </div>
  </div>

  <div class="field">
   <label for="Loop">{$locale->tr("label_Loop")}</label>
   <div class="formHelp">
   <input class="checkbox" type="checkbox" name="Loop" id="Loop" {if $Loop} checked="checked" {/if} value="1" />{$locale->tr("embedmedia_Loop")}</div>
  </div>

  <div class="field">
   <label for="Vol">{$locale->tr("label_Vol")}</label>
   <div class="formHelp">{$locale->tr("embedmedia_Vol")}</div>
   <input class="text" type="text" name="Vol" id="Vol" value="{$Vol}" width="2" maxlength="2"/>
  </div>

  <div class="field">
   <label for="Width">{$locale->tr("label_Width")}</label>
   <div class="formHelp">{$locale->tr("embedmedia_Width")}</div>
   <input class="text" type="text" name="Width" id="Width" value="{$Width}" width="3" maxlength="3"/>
  </div>

  <div class="field">
   <label for="Height">{$locale->tr("label_Height")}</label>
   <div class="formHelp">{$locale->tr("embedmedia_Height")}</div>
   <input class="text" type="text" name="Height" id="Height" value="{$Height}" width="3" maxlength="3"/>
  </div>

  <div class="field">
   <label for="Hidden">{$locale->tr("label_Hidden")}</label>
   <div class="formHelp">
   <input class="checkbox" type="checkbox" name="Hidden" id="Hidden" {if $Hidden} checked="checked" {/if} value="1" />{$locale->tr("embedmedia_Hidden")}</div>
  </div>
  </div>

 <div class="buttons">
  <input type="hidden" name="op" value="updateembedmedia" />
  <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"}
