{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=GoogleAdsense title=$locale->tr("googleadsense_plugin")}
<form name="googleadsensePluginConfig" method="post">
 <fieldset class="inputField">
 <legend>{$locale->tr("label_configuration")}</legend>
  {include file="$admintemplatepath/successmessage.template"}
  {include file="$admintemplatepath/errormessage.template"}

  <div class="field">
   <label for="pluginEnabled">{$locale->tr("label_enable")}</label>
   <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("googleadsense_plugin_enabled")}
   </div>
  </div>

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

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

  <div class="field">
   <label for="contentWidth">{$locale->tr("label_content_width")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_content_width")}</div>
   <input class="text" type="text" name="contentWidth" id="contentWidth" value="{$contentWidth}" width="5" />
  </div>

  <div class="field">
   <label for="contentHeight">{$locale->tr("label_content_height")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_content_height")}</div>
   <input class="text" type="text" name="contentHeight" id="contentHeight" value="{$contentHeight}" width="5" />
  </div>

  <div class="field">
   <label for="contentFormat">{$locale->tr("label_content_format")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_content_format")}</div>
   <input class="text" type="text" name="contentFormat" id="contentFormat" value="{$contentFormat}" width="30" />
  </div>

  <div class="field">
   <label for="contentType">{$locale->tr("label_content_type")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_content_type")}</div>
   <input class="text" type="text" name="contentType" id="contentType" value="{$contentType}" width="30" />
  </div>

  <div class="field">
   <label for="contentChannel">{$locale->tr("label_content_channel")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_content_channel")}</div>
   <input class="text" type="text" name="contentChannel" id="contentChannel" value="{$contentChannel}" width="30" />
  </div>

  <!-- suggestion -->
  <div class="field">
   <label for="suggestionEnabled">{$locale->tr("label_suggestion_enable")}</label>
   <span class="required"></span>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="suggestionEnabled" id="suggestionEnabled" {if $suggestionEnabled} checked="checked" {/if} value="1" />{$locale->tr("googleadsense_plugin_suggestion_enabled")}
   </div>
  </div>

  <div class="field">
   <label for="suggestionWidth">{$locale->tr("label_suggestion_width")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_suggestion_width")}</div>
   <input class="text" type="text" name="suggestionWidth" id="suggestionWidth" value="{$suggestionWidth}" width="5" />
  </div>

  <div class="field">
   <label for="suggestionHeight">{$locale->tr("label_suggestion_height")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_suggestion_height")}</div>
   <input class="text" type="text" name="suggestionHeight" id="suggestionHeight" value="{$suggestionHeight}" width="5" />
  </div>

  <div class="field">
   <label for="suggestionFormat">{$locale->tr("label_suggestion_format")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_suggestion_format")}</div>
   <input class="text" type="text" name="suggestionFormat" id="suggestionFormat" value="{$suggestionFormat}" width="30" />
  </div>

  <div class="field">
   <label for="suggestionChoice">{$locale->tr("label_suggestion_choice")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_suggestion_choice")}</div>
   <input class="text" type="text" name="suggestionChoice" id="suggestionChoice" value="{$suggestionChoice}" width="30" />
  </div>

  <div class="field">
   <label for="suggestionChannel">{$locale->tr("label_suggestion_channel")}</label>
   <div class="formHelp">{$locale->tr("googleadsense_suggestion_channel")}</div>
   <input class="text" type="text" name="suggestionChannel" id="suggestionChannel" value="{$suggestionChannel}" width="30" />
  </div>

  <!-- search -->
  <div class="field">
   <label for="searchEnabled">{$locale->tr("label_search_enable")}</label>
   <span class="required"></span>
   <div class="formHelp">
    <input class="checkbox" type="checkbox" name="searchEnabled" id="searchEnabled" {if $searchEnabled} checked="checked" {/if} value="1" />{$locale->tr("googleadsense_plugin_search_enabled")}
   </div>
  </div>
 </div>

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