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 class="tableHeader">{$i18n.label.thing_name}</td>
9 <td class="tableHeader">{$i18n.label.entity}</td>
10 <td class="tableHeader">{$i18n.label.type}</td>
11 <td class="tableHeader">{$i18n.menu.options}</td>
16 {foreach $custom_fields as $field}
17 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
18 <td>{$field['label']|escape}</td>
19 {if CustomFields::ENTITY_TIME == $field['entity_type']}
20 <td>{$i18n.entity.time}</td>
21 {elseif CustomFields::ENTITY_USER == $field['entity_type']}
22 <td>{$i18n.entity.user}</td>
26 {if CustomFields::TYPE_TEXT == $field['type']}
27 <td>{$i18n.label.type_text}</td>
29 {elseif CustomFields::TYPE_DROPDOWN == $field['type']}
30 <td>{$i18n.label.type_dropdown}</td>
31 <td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
33 <td><a href="cf_custom_field_edit.php?id={$field['id']}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
34 <td><a href="cf_custom_field_delete.php?id={$field['id']}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
41 <tr><td align="center"><br>{$forms.customFieldsForm.btn_add.control}</td></tr>
47 {$forms.customFieldsForm.close}