{include file="$admintemplatepath/header.template"}
{include file="$admintemplatepath/navigation.template" showOpt=TagCloud title=$locale->tr("tagcloud_plugin")}
<form name="tagCloudPluginConfig" 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}
           {user_cannot_override
               key=plugin_tagcloud_enabled}disabled="disabled"
           {/user_cannot_override}
           value="1" />{$locale->tr("tagcloud_plugin_enabled")} 
   </div>
  </div>
  
  <div class="field">
   <label for="width">{$locale->tr("max_articles")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("tagcloud_articles")}</div>
   <input class="text" type="text" name="articles" id="articles"
          {user_cannot_override
              key=plugin_tagcloud_max_articles}readonly="readonly"
          {/user_cannot_override}
          value="{$articles}" width="10" /> 
  </div>

  <div class="field">
   <label for="width">{$locale->tr("max_keywords")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("tagcloud_keywords")}</div>
   <input class="text" type="text" name="keyword" id="keyword"
           {user_cannot_override
               key=plugin_tagcloud_max_keywords}readonly="readonly"
           {/user_cannot_override}
          value="{$keyword}" width="10" /> 
  </div>

  <div class="field">
   <label for="width">{$locale->tr("min_font_size")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("tagcloud_min_font")}</div>
   <input class="text" type="text" name="minFont" id="minFont"
           {user_cannot_override
               key=plugin_tagcloud_min_size}readonly="readonly"
           {/user_cannot_override}
           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("tagcloud_max_font")}</div>
   <input class="text" type="text" name="maxFont" id="maxFont"
           {user_cannot_override
               key=plugin_tagcloud_max_size}readonly="readonly"
           {/user_cannot_override}
          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("tagcloud_min_weight")}</div>
   <input class="text" type="text" name="minWeight" id="minWeight"
           {user_cannot_override
               key=plugin_tagcloud_min_weight}readonly="readonly"
           {/user_cannot_override}
          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("tagcloud_max_weight")}</div>
   <input class="text" type="text" name="maxWeight" id="maxWeight"
           {user_cannot_override
               key=plugin_tagcloud_max_weight}readonly="readonly"
           {/user_cannot_override}
          value="{$maxWeight}" width="10" /> 
  </div>

 <div class="field">
   <label for="width">{$locale->tr("min_word_length")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("tagcloud_min_word_length")}</div>
   <input class="text" type="text" name="minWordLength"
           {user_cannot_override
               key=plugin_tagcloud_min_word_length}readonly="readonly"
           {/user_cannot_override}
          id="minWordLength" value="{$minWordLength}" width="3" /> 
  </div>

 
 <div class="field">
   <label for="width">{$locale->tr("banned_keywords")}</label>
   <span class="required">*</span>
   <div class="formHelp">{$locale->tr("tagcloud_banned_keywords")}</div>
   <input class="text" type="text" name="bannedKeywords"
           {user_cannot_override
               key=plugin_tagcloud_banned_keywords}readonly="readonly"
           {/user_cannot_override}
          id="bannedKeywords" value="{$bannedKeywords}" width="10" /> 
  </div>

 
 </fieldset>

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