name = 'admin_contents';
$view->description = 'Administrative view for content';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Admin Content';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Contenu';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['use_more_text'] = 'plus';
$handler->display->display_options['access']['type'] = 'role';
$handler->display->display_options['access']['role'] = array(
3 => '3',
4 => '4',
);
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['distinct'] = TRUE;
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Filtrer';
$handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'réinitialiser';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
$handler->display->display_options['pager']['type'] = 'mini';
$handler->display->display_options['pager']['options']['items_per_page'] = '20';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
$handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
$handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'views_bulk_operations' => 'views_bulk_operations',
'field_emvideo' => 'field_emvideo',
'type' => 'title',
'title' => 'title',
'field_poid' => 'field_poid',
'edit_node' => 'title',
'sid' => 'sid',
'sid_1' => 'sid',
'scheduled' => 'sid',
'field_episodes' => 'field_episodes',
'field_eclairages' => 'field_eclairages',
'field_thematique' => 'field_thematique',
'translate_node' => 'translate_node',
'changed' => 'changed',
'delete_node' => 'delete_node',
);
$handler->display->display_options['style_options']['default'] = 'changed';
$handler->display->display_options['style_options']['info'] = array(
'views_bulk_operations' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_emvideo' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'type' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '
',
'empty_column' => 0,
),
'title' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '
',
'empty_column' => 0,
),
'field_poid' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'edit_node' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'sid' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '
',
'empty_column' => 0,
),
'sid_1' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'scheduled' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_episodes' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_eclairages' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_thematique' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'translate_node' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'changed' => array(
'sortable' => 0,
'default_sort_order' => 'desc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'delete_node' => array(
'align' => '',
'separator' => '',
'empty_column' => 0,
),
);
$handler->display->display_options['style_options']['override'] = FALSE;
/* Header: Global: Result summary */
$handler->display->display_options['header']['result']['id'] = 'result';
$handler->display->display_options['header']['result']['table'] = 'views';
$handler->display->display_options['header']['result']['field'] = 'result';
/* Field: Bulk operations: Content */
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
$handler->display->display_options['fields']['views_bulk_operations']['label'] = '';
$handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0';
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['row_clickable'] = 1;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
$handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
'action::workflow_vbo_given_state_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 1,
'override_label' => 0,
'label' => '',
),
'action::node_unpublish_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
'action::node_publish_action' => array(
'selected' => 1,
'postpone_processing' => 0,
'skip_confirmation' => 0,
'override_label' => 0,
'label' => '',
),
);
/* Field: Content: Video */
$handler->display->display_options['fields']['field_emvideo']['id'] = 'field_emvideo';
$handler->display->display_options['fields']['field_emvideo']['table'] = 'field_data_field_emvideo';
$handler->display->display_options['fields']['field_emvideo']['field'] = 'field_emvideo';
$handler->display->display_options['fields']['field_emvideo']['click_sort_column'] = 'video_url';
$handler->display->display_options['fields']['field_emvideo']['type'] = 'video_embed_field_thumbnail';
$handler->display->display_options['fields']['field_emvideo']['settings'] = array(
'image_style' => 'thumbnail',
'image_link' => '',
);
/* Field: Content: Type */
$handler->display->display_options['fields']['type']['id'] = 'type';
$handler->display->display_options['fields']['type']['table'] = 'node';
$handler->display->display_options['fields']['type']['field'] = 'type';
$handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Content: Poid */
$handler->display->display_options['fields']['field_poid']['id'] = 'field_poid';
$handler->display->display_options['fields']['field_poid']['table'] = 'field_data_field_poid';
$handler->display->display_options['fields']['field_poid']['field'] = 'field_poid';
$handler->display->display_options['fields']['field_poid']['settings'] = array(
'thousand_separator' => '',
'prefix_suffix' => 1,
);
/* Field: Content: Edit link */
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['label'] = '';
$handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]';
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
/* Field: Workflow node: Current state ID */
$handler->display->display_options['fields']['sid']['id'] = 'sid';
$handler->display->display_options['fields']['sid']['table'] = 'workflow_node';
$handler->display->display_options['fields']['sid']['field'] = 'sid';
$handler->display->display_options['fields']['sid']['label'] = 'Current state';
/* Field: Workflow scheduled: Scheduled state Name */
$handler->display->display_options['fields']['sid_1']['id'] = 'sid_1';
$handler->display->display_options['fields']['sid_1']['table'] = 'workflow_scheduled_transition';
$handler->display->display_options['fields']['sid_1']['field'] = 'sid';
$handler->display->display_options['fields']['sid_1']['label'] = 'Scheduled state';
$handler->display->display_options['fields']['sid_1']['exclude'] = TRUE;
$handler->display->display_options['fields']['sid_1']['alter']['text'] = '[sid_1] : [scheduled]';
$handler->display->display_options['fields']['sid_1']['hide_empty'] = TRUE;
/* Field: Workflow scheduled: Scheduled time */
$handler->display->display_options['fields']['scheduled']['id'] = 'scheduled';
$handler->display->display_options['fields']['scheduled']['table'] = 'workflow_scheduled_transition';
$handler->display->display_options['fields']['scheduled']['field'] = 'scheduled';
$handler->display->display_options['fields']['scheduled']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['scheduled']['alter']['text'] = '[sid_1] : [scheduled]';
$handler->display->display_options['fields']['scheduled']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['scheduled']['empty_zero'] = TRUE;
$handler->display->display_options['fields']['scheduled']['date_format'] = 'custom';
$handler->display->display_options['fields']['scheduled']['custom_date_format'] = 'd/m/Y h:m';
$handler->display->display_options['fields']['scheduled']['second_date_format'] = 'long';
/* Field: Content: À la maison commune */
$handler->display->display_options['fields']['field_episodes']['id'] = 'field_episodes';
$handler->display->display_options['fields']['field_episodes']['table'] = 'field_data_field_episodes';
$handler->display->display_options['fields']['field_episodes']['field'] = 'field_episodes';
$handler->display->display_options['fields']['field_episodes']['settings'] = array(
'link' => 1,
);
$handler->display->display_options['fields']['field_episodes']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_episodes']['multi_type'] = 'ol';
/* Field: Content: éclairages */
$handler->display->display_options['fields']['field_eclairages']['id'] = 'field_eclairages';
$handler->display->display_options['fields']['field_eclairages']['table'] = 'field_data_field_eclairages';
$handler->display->display_options['fields']['field_eclairages']['field'] = 'field_eclairages';
$handler->display->display_options['fields']['field_eclairages']['settings'] = array(
'link' => 1,
);
$handler->display->display_options['fields']['field_eclairages']['delta_offset'] = '0';
$handler->display->display_options['fields']['field_eclairages']['multi_type'] = 'ol';
/* Field: Content: Thématique */
$handler->display->display_options['fields']['field_thematique']['id'] = 'field_thematique';
$handler->display->display_options['fields']['field_thematique']['table'] = 'field_data_field_thematique';
$handler->display->display_options['fields']['field_thematique']['field'] = 'field_thematique';
$handler->display->display_options['fields']['field_thematique']['settings'] = array(
'link' => 1,
);
/* Field: Content translation: Translate link */
$handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
$handler->display->display_options['fields']['translate_node']['table'] = 'node';
$handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
$handler->display->display_options['fields']['translate_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['translate_node']['alter']['text'] = '[translate_node]';
$handler->display->display_options['fields']['translate_node']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['translate_node']['text'] = 'traduire';
/* Field: Content: Updated date */
$handler->display->display_options['fields']['changed']['id'] = 'changed';
$handler->display->display_options['fields']['changed']['table'] = 'node';
$handler->display->display_options['fields']['changed']['field'] = 'changed';
$handler->display->display_options['fields']['changed']['date_format'] = 'short';
/* Field: Content: Delete link */
$handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
$handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
$handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['delete_node']['alter']['text'] = '[delete_node]';
$handler->display->display_options['fields']['delete_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['delete_node']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['delete_node']['text'] = 'supprimer';
$handler->display->display_options['filter_groups']['groups'] = array(
1 => 'AND',
2 => 'AND',
);
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'documentair' => 'documentair',
'page' => 'page',
'thematique' => 'thematique',
'episode' => 'episode',
);
$handler->display->display_options['filters']['type']['group'] = 1;
$handler->display->display_options['filters']['type']['exposed'] = TRUE;
$handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['label'] = 'Type';
$handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
$handler->display->display_options['filters']['type']['expose']['remember'] = TRUE;
$handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
3 => 0,
4 => 0,
);
$handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE;
/* Filter criterion: current user can update */
$handler->display->display_options['filters']['php']['id'] = 'php';
$handler->display->display_options['filters']['php']['table'] = 'views';
$handler->display->display_options['filters']['php']['field'] = 'php';
$handler->display->display_options['filters']['php']['ui_name'] = 'current user can update';
$handler->display->display_options['filters']['php']['group'] = 1;
$handler->display->display_options['filters']['php']['use_php_setup'] = 0;
$handler->display->display_options['filters']['php']['php_filter'] = 'global $user;
//dsm($data);
return !(node_access(\'update\', node_load($data->nid), $user));
';
/* Filter criterion: Workflow node: Current state ID */
$handler->display->display_options['filters']['sid']['id'] = 'sid';
$handler->display->display_options['filters']['sid']['table'] = 'workflow_node';
$handler->display->display_options['filters']['sid']['field'] = 'sid';
$handler->display->display_options['filters']['sid']['exposed'] = TRUE;
$handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op';
$handler->display->display_options['filters']['sid']['expose']['label'] = 'Current state';
$handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op';
$handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid';
$handler->display->display_options['filters']['sid']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
3 => 0,
4 => 0,
);
/* Display: Page : all */
$handler = $view->new_display('page', 'Page : all', 'page');
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'mini';
$handler->display->display_options['pager']['options']['items_per_page'] = '30';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page'] = TRUE;
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = TRUE;
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
$handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
$handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
$handler->display->display_options['path'] = 'admin/content/nodes';
$handler->display->display_options['menu']['type'] = 'tab';
$handler->display->display_options['menu']['title'] = 'Content';
$handler->display->display_options['menu']['weight'] = '-100';
$handler->display->display_options['menu']['context'] = 0;
$handler->display->display_options['tab_options']['type'] = 'normal';
$handler->display->display_options['tab_options']['title'] = 'dashboard';
$handler->display->display_options['tab_options']['weight'] = '0';
/* Display: Block */
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Recent Content';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Type */
$handler->display->display_options['fields']['type']['id'] = 'type';
$handler->display->display_options['fields']['type']['table'] = 'node';
$handler->display->display_options['fields']['type']['field'] = 'type';
$handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE;
/* Field: Content: Edit link */
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
$handler->display->display_options['fields']['edit_node']['label'] = 'Modifier';
$handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]';
$handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE;
/* Field: Content: Published */
$handler->display->display_options['fields']['status']['id'] = 'status';
$handler->display->display_options['fields']['status']['table'] = 'node';
$handler->display->display_options['fields']['status']['field'] = 'status';
$handler->display->display_options['fields']['status']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['status']['hide_alter_empty'] = FALSE;
$handler->display->display_options['fields']['status']['not'] = 0;
/* Field: Content: Language */
$handler->display->display_options['fields']['language']['id'] = 'language';
$handler->display->display_options['fields']['language']['table'] = 'node';
$handler->display->display_options['fields']['language']['field'] = 'language';
$handler->display->display_options['fields']['language']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['language']['hide_alter_empty'] = FALSE;
/* Field: Content translation: Translate link */
$handler->display->display_options['fields']['translate_node']['id'] = 'translate_node';
$handler->display->display_options['fields']['translate_node']['table'] = 'node';
$handler->display->display_options['fields']['translate_node']['field'] = 'translate_node';
$handler->display->display_options['fields']['translate_node']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['translate_node']['hide_alter_empty'] = FALSE;
$handler->display->display_options['fields']['translate_node']['text'] = 'Traduire';
$translatables['admin_contents'] = array(
t('Master'),
t('Contenu'),
t('plus'),
t('Filtrer'),
t('réinitialiser'),
t('Trier par'),
t('Asc'),
t('Desc'),
t('Éléments par page'),
t('- Tout -'),
t('Décalage'),
t('« premier'),
t('‹ précédent'),
t('suivant ›'),
t('dernier »'),
t('Displaying @start - @end of @total'),
t('- Choose an operation -'),
t('Video'),
t('Type'),
t('Title'),
t('Poid'),
t('[edit_node]'),
t('Current state'),
t('Scheduled state'),
t('[sid_1] : [scheduled]'),
t('Scheduled time'),
t('À la maison commune'),
t('éclairages'),
t('Thématique'),
t('Translate link'),
t('[translate_node]'),
t('traduire'),
t('Updated date'),
t('Delete link'),
t('[delete_node]'),
t('supprimer'),
t('Page : all'),
t('more'),
t('Block'),
t('Recent Content'),
t('Modifier'),
t('Published'),
t('Language'),
t('Traduire'),
);
$export['admin_contents'] = $view;
return $export;
}