1 {$forms.customFieldsForm.open}
2 <table cellspacing="0" cellpadding="7" border="0" width="720">
5 {if $user->can('manage_custom_fields')}
6 <table cellspacing="1" cellpadding="3" border="0" width="100%">
8 <td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
9 <td class="tableHeader">{$i18n.label.type}</td>
10 <td class="tableHeader">{$i18n.menu.options}</td>
11 <td class="tableHeader">{$i18n.label.edit}</td>
12 <td class="tableHeader">{$i18n.label.delete}</td>
15 {foreach $custom_fields as $field}
16 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
17 <td>{$field['label']|escape}</td>
18 {if CustomFields::TYPE_TEXT == $field['type']}
19 <td>{$i18n.label.type_text}</td>
21 {elseif CustomFields::TYPE_DROPDOWN == $field['type']}
22 <td>{$i18n.label.type_dropdown}</td>
23 <td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
25 <td><a href="cf_custom_field_edit.php?id={$field['id']}">{$i18n.label.edit}</a></td>
26 <td><a href="cf_custom_field_delete.php?id={$field['id']}">{$i18n.label.delete}</a></td>
33 <tr><td align="center"><br>{$forms.customFieldsForm.btn_add.control}</td></tr>
39 {$forms.customFieldsForm.close}