* Licence: Please check CodeCanyon.net for licence details. * More licence clarification available here: http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca * Package Date: 2015-11-25 02:55:20 * IP Address: 67.79.165.254 */ if (!module_config::can_i('view', 'Settings')) { redirect_browser(_BASE_HREF); } $ticket_types = module_ticket::get_types(false); if (isset($_REQUEST['ticket_type_id']) && $_REQUEST['ticket_type_id']) { $show_other_settings = false; $ticket_type_id = (int) $_REQUEST['ticket_type_id']; if ($ticket_type_id > 0) { $ticket_type = module_ticket::get_ticket_type($ticket_type_id); } else { $ticket_type = array(); } if (!$ticket_type) { $ticket_type = array('name' => '', 'public' => '1', 'default_user_id' => 0); } ?> <form action="" method="post"> <input type="hidden" name="_process" value="save_ticket_type"> <input type="hidden" name="ticket_type_id" value="<?php echo $ticket_type_id; ?> " />