static function settings_page() { $settings = Kanban_Option::get_all(); if (is_serialized($settings['allowed_users'])) { $settings['allowed_users'] = unserialize($settings['allowed_users']); } $all_users = get_users(); $all_users_arr = array(); foreach ($all_users as $user) { $all_users_arr[$user->ID] = Kanban_User::get_username_long($user); } $statuses = Kanban_Status::get_all(); $statuses = Kanban_Utils::order_array_of_objects_by_property($statuses, 'position', 'int'); $estimates = Kanban_Estimate::get_all(); $estimates = Kanban_Utils::order_array_of_objects_by_property($estimates, 'position', 'int'); $template = Kanban_Template::find_template('admin/settings'); include_once $template; }