{assign var="sortArgs" value="action=$actionID&query=$query&queryColumn=$queryColumn&offset=$offset"} {assign var="configGroupID" value=$smarty.request.configGroupID} {assign var="filterArgs" value="configGroupID=$configGroupID"} {php}$GLOBALS['__pagePath'] = array('TRANS_MANAGE_SYSTEM', 'TRANS_SHOW_ATTRIBUTES', '');{/php} {include file="$tplDirectory/header.tpl" parentName="TRANS_MANAGE_ATTRIBUTES" childName="TRANS_SHOW_ATTRIBUTES" sideNavMajor="system" sideNavMinor="attributes"} {"TRANS_ATTRIBUTE_INFO"|lmsg} {include file="$tplDirectory/widgets/table/listHeaderSort.tpl" headerName="TRANS_ID" sortColumn="attributeID"} {include file="$tplDirectory/widgets/table/listHeaderSort.tpl" headerName="TRANS_ATTRIBUTE_KEY" sortColumn="attributeName"} {assign var="attributeSubtypes" value=$types.attributeSubtype} {include file="$tplDirectory/widgets/table/listHeaderFilter.tpl" filterName="TRANS_SUBTYPE" filterColumn="attributeSubtype" filterOptions="$attributeSubtypes"} {include file="$tplDirectory/widgets/table/listHeaderText.tpl" headerName="TRANS_ASSOCIATION"} {include file="$tplDirectory/widgets/table/listHeaderSort.tpl" headerName="TRANS_CUSTOM_QUESTION" sortColumn="questionID"} {include file="$tplDirectory/widgets/table/listHeaderText.tpl" headerName="TRANS_ACTIONS"} {section name=i loop=$attributes} {assign var="attributeID" value=$attributes[i].attributeID} {if $className=="alt1"} {assign var="className" value="alt2"} {else} {assign var="className" value="alt1"} {/if} {sectionelse} {/section}
{"TRANS_ADDITIONAL_DATA"|lmsg}
  {include file="$tplDirectory/widgets/quickAddLink.tpl" addActionName="AddAttributeResponse" addName="TRANS_NAME" addColumn="attributeName" addValue="unnamed" extraparam="attributeType" extravalue="0" addMessage="TRANS_NEW_CUSTOM_ATTRIBUTE" }
{$attributeID} {include file="$tplDirectory/widgets/quickEditLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_NAME" editColumn="attributeName" editValue=$attributes[i].attributeName|safetyhtml} {$attributes[i].attributeName|safetyhtml} {assign var="attributeSubtype" value=$attributes[i].attributeSubtype} {if $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_PRODUCT} {if $attributes[i].productID} {assign var="switchable" value=0} {else} {assign var="switchable" value=1} {/if} {elseif $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_ORDERFORM} {if $attributes[i].orderFormID} {assign var="switchable" value=0} {else} {assign var="switchable" value=1} {/if} {elseif $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_PANEL} {if $attributes[i].configGroupID} {assign var="switchable" value=0} {else} {assign var="switchable" value=1} {/if} {else} {assign var="switchable" value=1} {/if} {if $switchable} {include file="$tplDirectory/widgets/quickEditSelectLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_SUBTYPE" editColumn="attributeSubtype" editOptions=$attributeSubtypes editSelected=$attributes[i].attributeSubtype|safetyhtml} {/if} {if $attributeSubtypes.$attributeSubtype} {$attributeSubtypes.$attributeSubtype|safetyhtml} {else} {"TRANS_NULL"|lmsg} {/if} {if $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_PRODUCT_ATTRIBUTE} {include file="$tplDirectory/widgets/quickEditSelectLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_PRODUCT" editColumn="productID" editOptions=$products editSelected=$attributes[i].productID allowNull=1} {if $attributes[i].productID} {assign var="pid" value=$attributes[i].productID} {$products.$pid} {else} {"TRANS_NONE"|lmsg} {/if} {elseif $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_ORDER_FORM_ATTRIBUTE} {include file="$tplDirectory/widgets/quickEditSelectLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_ORDER_FORM" editColumn="orderFormID" editOptions=$orderForms editSelected=$attributes[i].orderFormID allowNull=1} {if $attributes[i].orderFormID} {assign var="oid" value=$attributes[i].orderFormID} {$orderForms.$oid} {else} {"TRANS_NONE"|lmsg} {/if} {elseif $attributeSubtypes.$attributeSubtype == $smarty.const.TRANS_PANEL_ATTRIBUTE} {include file="$tplDirectory/widgets/quickEditSelectLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_PANEL" editColumn="configGroupID" editOptions=$panelOptions editSelected=$attributes[i].configGroupID allowNull=1} {if $attributes[i].configGroupID} {assign var="cgid" value=$attributes[i].configGroupID} {$panelOptions.$cgid} {else} {"TRANS_NONE"|lmsg} {/if} {else} {"TRANS_NONE"|lmsg} {/if} {include file="$tplDirectory/widgets/quickEditSelectLink.tpl" useEditIcon=1 editID=$attributeID editActionName="EditAttributeResponse" editKey="attributeID" editName="TRANS_QUESTION" editColumn="questionID" editOptions=$questions editSelected=$attributes[i].questionID allowNull=1} {if $attributes[i].questionID} {assign var="qid" value=$attributes[i].questionID} {$questions.$qid|safetyhtml} {else} {"TRANS_NONE"|lmsg} {/if} {strip} {include file="$tplDirectory/widgets/actionLink.tpl" page="orderforms.php" actionName="RemoveAttribute" args="attributeID=$attributeID" icoImage="remove" icoWidth="" icoHeight="" icoStyle="" altText="TRANS_REMOVE" titleText="" linkText="TRANS_REMOVE" noSpace="1" } {/strip}
{strip}   {"TRANS_ATTRIBUTE_ID"|lmsg} {$attributeID} ({"TRANS_ADDITIONAL_INFORMATION"|lmsg}) {/strip}
{assign var="questionID" value=$attributes[i].questionID} {if $questionHTML.$questionID} {/if}
{"TRANS_QUESTION"|lmsg} {$questionHTML.$questionID}
{"TRANS_NORESULTS"|lmsg}
{include file="$tplDirectory/widgets/paginationLinks.tpl"} {include file="$tplDirectory/footer.tpl"}