2 function chLocation(newLocation) { document.location = newLocation; }
5 <table cellspacing="0" cellpadding="7" border="0" width="720">
8 {if $user->can('manage_custom_fields')}
9 <table cellspacing="1" cellpadding="3" border="0" width="100%">
11 <td width="80%" class="tableHeader">{$i18n.label.thing_name}</td>
16 {foreach $options as $key=>$val}
17 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
18 <td>{$val|escape}</td>
19 <td><a href="cf_dropdown_option_edit.php?id={$key}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
20 <td><a href="cf_dropdown_option_delete.php?id={$key}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
31 <input type="button" onclick="chLocation('cf_dropdown_option_add.php?field_id={$field_id}');" value="{$i18n.button.add}">