/** * Copyright: dtbaker 2012 * 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 */ $group_id = (int) $_REQUEST['group_id']; $group = array(); if ($group_id > 0) { if (class_exists('module_security', false)) { module_security::check_page(array('category' => 'Group', 'page_name' => 'Groups', 'module' => 'group', 'feature' => 'edit')); } $group = module_group::get_group($group_id); } else { } if (!$group) { die('Creating groups this way is disabled'); $group_id = 'new'; $group = array('group_id' => 'new', 'name' => '', 'default_text' => ''); module_security::sanatise_data('group', $group); } ?> <form action="" method="post"> <?php module_form::prevent_exit(array('valid_exits' => array('.submit_button'))); ?>