require('setup_job_types_header.php');
change_status::change("job_types","jobt_ypes");
?>
common_main_header::get_header();
$status = (empty($_GET['status'])) ? 1 : $_GET['status'];
$context = array(
"status" => $status
);
$context['list_config'] = array(
"method" => $_GET['method'],
"order" => (empty($_GET['order'])) ? "ASC" : $_GET['order'],
"avail_edit" => common_ref_status::check_edit("job_types",$status,"setup_job_types_edit"),
"avail_status" => acl::permission("setup_job_types_edit"),
"link_view" => "setup_job_types_details",
"link_edit" => "setup_job_types_edit",
"show_search" => true,
"show_pagination" => false,
"sortable" => true
);
$context['columns']["id"] = array("title" => "ID","view" => true);
$context['columns']["description"] = array("title" => "Name","wrapper_head" => '
',"wrapper_tail" => '
');
$context['columns']["submitter"] = array("title" => "Submitter");
$context['columns']["date_submitted"] = array("title" => "Last Modified");
$obj = new list_job_types($context);
$obj->get_data()->build_table_list();
?>