$storyboard_config_api->updateButton('ShowInFooter'); if (!empty($_POST['status_cols'])) { foreach ($_POST['status_cols'] as $status_cols) { $status_cols = gpc_get_int_array('status_cols'); if (plugin_config_get('status_cols') != $status_cols) { plugin_config_set('status_cols', $status_cols); } } } } /** * Add a type */ if ($option_addtype) { if (isset($_POST['type'])) { $storyboard_db_api->insert_type($_POST['type'], 'type'); } } /** * Delete a type */ if ($option_deltype) { if (isset($_POST['types'])) { $type_string = $_POST['types']; $type_id = $storyboard_db_api->select_typeid_by_typestring($type_string, 'type'); $storyboard_db_api->delete_type($type_string, 'type'); } } /** * Change a type */