{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=cssnakedPluginSettings title=$locale->tr("cssnaked_plugin")}


<form name="cssnakedPluginSettings" method="post" action="admin.php">
 <fieldset class="inputField">
 <legend>{$locale->tr("label_configuration")}</legend>  
  {include file="$admintemplatepath/successmessage.template"}
  {include file="$admintemplatepath/errormessage.template"}

<!-- enable/disable -->
  <div class="field">
   <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" {user_cannot_override key=plugin_cssnaked_enabled}disabled="disabled"{/user_cannot_override} />{$locale->tr("cssnaked_plugin_enabled")}
   </div>
  </div>

<!-- Start Date -->
  <div class="field" id="startDateContainer">
   <label for="length">{$locale->tr("label_cssnaked_startDate")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("help_cssnaked_startDate")}</div>
   <input class="text" type="text" name="startDate" id="startDate" value="{$startDate}" autocomplete="off" {user_cannot_override key=plugin_cssnaked_length}disabled="disabled"{/user_cannot_override} />
  </div>
  

<!-- End Date -->
  <div class="field" id="endDateContainer">
   <label for="length">{$locale->tr("label_cssnaked_endDate")}</label>
   <div class="formHelp">{$locale->tr("help_cssnaked_endDate")}</div>
   <input class="text" type="text" name="endDate" id="endDate" value="{$endDate}" autocomplete="off" {user_cannot_override key=plugin_cssnaked_length}disabled="disabled"{/user_cannot_override} />
  </div>
  
<!-- Add Notice -->
  <div class="field">
   <label for="addNotice">{$locale->tr("label_cssnaked_addNotice")}</label>
   <div class="formHelp">   
     <input class="checkbox" type="checkbox" name="addNotice" id="addNotice" {if $addNotice}checked="checked"{/if} value="1" />{$locale->tr("help_cssnaked_addNotice")}
   </div>
   <div style="margin:15px 100px 0px 100px;border:1px solid #ccc;padding:10px;">
   {$locale->tr("cssnaked_notice")}
  </div>
  

 </fieldset>  

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