$view = new view; $view->name = 'admin_nodes_terms'; $view->description = ''; $view->tag = 'admin'; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'title' => array( 'label' => 'Заголовок', 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'tid' => array( 'label' => 'All terms', 'type' => 'separator', 'separator' => ', ', 'empty' => '', 'link_to_taxonomy' => 1, 'limit' => 0, 'vids' => array( '4' => 0, '151' => 0, '136' => 0, ), 'exclude' => 0, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'blog' => 'blog', 'article' => 'article', 'page' => 'page', 'work' => 'work', ), 'group' => '0', 'exposed' => TRUE, 'expose' => array( 'use_operator' => 0, 'operator' => 'type_op', 'identifier' => 'type', 'label' => 'Node: Тип', 'optional' => 1, 'single' => 0, 'remember' => 1, 'reduce' => 0, ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'role', 'role' => array( '3' => 3, '4' => 4, ), )); $handler->override_option('items_per_page', 25); $handler->override_option('use_pager', '1'); $handler->override_option('style_plugin', 'bulk'); $handler->override_option('style_options', array( 'grouping' => '', 'override' => 1, 'sticky' => 0, 'order' => 'asc', 'columns' => array( 'title' => 'title', 'tid' => 'tid', 'tid_1' => 'tid_1', 'tid_2' => 'tid_2', ), 'info' => array( 'title' => array( 'sortable' => 1, 'separator' => '', ), 'tid' => array( 'separator' => '', ), 'tid_1' => array( 'separator' => '', ), 'tid_2' => array( 'separator' => '', ), ), 'default' => '-1', 'execution_type' => '2', 'display_type' => '0', 'skip_confirmation' => 0, 'display_result' => 1, 'selected_operations' => array( 'c775ce4cea01fb1d3491f61c7cb2c2b2' => 'c775ce4cea01fb1d3491f61c7cb2c2b2', '837cbe58fd9af30cf48e5c9de552d925' => 0, '7a9a34556136a4e6d403cacfe0573d64' => 0, '2590ff43ab3648737ccd1865cd76084e' => 0, 'd0746f09756440a699f4a721c7683290' => 0, 'b26a99d8d89001e5998b3651fa7b10ba' => 0, '339302ab7ef2adc1a3a9844e15e76967' => 0, 'e865a3ac236dc71e38301049a0f356e8' => 0, '2fd6d151e013faf3099170a3bb1284d4' => 0, 'bf6b6cafe38816388f6606b93b881f16' => 0, 'c240117f80fc27a29633c29df38c3802' => 0, 'e52c7d4b8ccc8fd7b8f7a59ca8e0e013' => 0, '89e1dc80a113f85c7f752867b8ff10fe' => 0, 'ffd4dd7c59102655f73303c040b08914' => 0, '44601207cad7f7db21f92437c9e84938' => 0, ), )); $handler = $view->new_display('page', 'Страница', 'page_1'); $handler->override_option('path', 'admin_nodes_terms'); $handler->override_option('menu', array( 'type' => 'normal', 'title' => 'Admin nodes', 'weight' => '0', 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'weight' => 0, ));