2 function chLocation(newLocation) { document.location = newLocation; }
5 {$forms.dropdownOptionsForm.open}
6 <table cellspacing="0" cellpadding="7" border="0" width="720">
9 {if $user->can('manage_custom_fields')}
10 <table cellspacing="1" cellpadding="3" border="0" width="100%">
12 <td width="70%" class="tableHeader">{$i18n.label.thing_name}</td>
13 <td class="tableHeader">{$i18n.label.edit}</td>
14 <td class="tableHeader">{$i18n.label.delete}</td>
17 {foreach $options as $key=>$val}
18 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
19 <td>{$val|escape}</td>
20 <td><a href="cf_dropdown_option_edit.php?id={$key}">{$i18n.label.edit}</a></td>
21 <td><a href="cf_dropdown_option_delete.php?id={$key}">{$i18n.label.delete}</a></td>
32 <input type="button" onclick="chLocation('cf_dropdown_option_add.php?field_id={$field_id}');" value="{$i18n.button.add}">
41 {$forms.dropdownOptionsForm.close}