__('Delete'), '2' => __('Duplicate') ); set_default_action(); switch (get_request_var('action')) { case 'save': vdef_form_save(); break; case 'actions': vdef_form_actions(); break; case 'item_remove_confirm': vdef_item_remove_confirm(); break; case 'item_remove': vdef_item_remove(); break; case 'item_movedown': get_filter_request_var('vdef_id'); item_movedown(); header('Location: vdef.php?header=false&action=edit&id=' . get_request_var('vdef_id')); break; case 'item_moveup': get_filter_request_var('vdef_id'); item_moveup(); header('Location: vdef.php?header=false&action=edit&id=' . get_request_var('vdef_id')); break; case 'item_edit': top_header(); vdef_item_edit(); bottom_footer(); break; case 'edit': top_header(); vdef_edit(); bottom_footer(); break; case 'ajax_dnd': vdef_item_dnd(); break; default: top_header(); vdef(); bottom_footer(); break; } /* -------------------------- Global Form Functions -------------------------- */ function draw_vdef_preview($vdef_id) { ?>
vdef=
" . __n('Click \'Continue\' to delete the following VDEF.', 'Click \'Continue\' to delete following VDEFs.', sizeof($vdef_array)) . "
" . __n('Click \'Continue\' to duplicate the following VDEF. You can optionally change the title format for the new VDEF.', 'Click \'Continue\' to duplicate following VDEFs. You can optionally change the title format for the new VDEFs.', sizeof($vdef_array)) . "
" . __('Title Format:') . "
"; form_text_box("title_format", "
VDEF Name: ''
: