{* $Id: product_features.tpl 1699 2006-05-06 07:55:11Z zeke $ *} {capture name="mainbox"} {include file="common_templates/select_language.tpl"}
{if $fields} {foreach from=$fields item="field"} {/foreach} {else} {/if}
{if $field.field_type == 'S'} {include file="buttons/button.tpl" but_style="text" but_text=$lang.variants but_href="$index_script?$target_name=product_features&field_id=`$field.field_id`"} {else} {/if}

{$lang.no_product_features_found}


{if $fields} {if 'manage_catalog'|fn_check_privileges:true}
{include file="buttons/update.tpl" but_onclick="javascript:document.update_fields_form.submit()" but_type="input"}     {include file="buttons/delete_selected.tpl" but_onclick="javascript: fn_delete_selected('update_fields_form','delete','','delete_checkbox','',false);" but_arrow="on"}
{/if} {/if}

{include file="common_templates/subheader.tpl" title=$lang.add_new_feature}
{$lang.position_short} {$lang.description} {$lang.type} {$lang.avail}  
{include file="buttons/multiple_buttons.tpl" item_id="add_product_features" tag_level="1"}
  {* DONT DELETE THIS TABLE. ITS REALLY NEEDED!*}
{include file="buttons/multiple_buttons.tpl" item_id="add_field_variants" tag_level="2"}
{if 'manage_catalog'|fn_check_privileges:true}

{include file="buttons/add_new.tpl" but_onclick="javascript:document.add_fields_form.submit()" but_type="input"} {/if}
{/capture} {include file="common_templates/mainbox.tpl" title=$lang.product_features content=$smarty.capture.mainbox}