{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=CategoryCloud title=$locale->tr("categorycloud_plugin")}
<form name="categoryCloudPluginConfig" 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("categorycloud_plugin_enabled")}
   </div>
  </div>
  
  <div class="field">
   <label for="width">{$locale->tr("min_font_size")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("categorycloud_min_font")}</div>
   <input class="text" type="text" name="minFont" id="minFont" value="{$minFont}" width="10" />
  </div>

 <div class="field">
   <label for="width">{$locale->tr("max_font_size")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("categorycloud_max_font")}</div>
   <input class="text" type="text" name="maxFont" id="maxFont" value="{$maxFont}" width="10" />
  </div>

  <div class="field">
   <label for="width">{$locale->tr("min_font_weight")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("categorycloud_min_weight")}</div>
   <input class="text" type="text" name="minWeight" id="minWeight" value="{$minWeight}" width="10" />
  </div>

 <div class="field">
   <label for="width">{$locale->tr("max_font_weight")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("categorycloud_max_weight")}</div>
   <input class="text" type="text" name="maxWeight" id="maxWeight" value="{$maxWeight}" width="10" />
  </div>

 </fieldset>

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