|
@@ -23,7 +23,6 @@ function materio_content_types_views_default_views() {
|
|
|
/* Display: Master */
|
|
|
$handler = $view->new_display('default', 'Master', 'default');
|
|
|
$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',
|
|
@@ -32,17 +31,7 @@ function materio_content_types_views_default_views() {
|
|
|
$handler->display->display_options['cache']['type'] = 'none';
|
|
|
$handler->display->display_options['query']['type'] = 'views_query';
|
|
|
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
|
|
- $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
|
|
|
- $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'] = 'full';
|
|
|
- $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'] = 'default';
|
|
|
$handler->display->display_options['row_plugin'] = 'fields';
|
|
|
$handler->display->display_options['row_options']['inline'] = array(
|
|
@@ -50,7 +39,7 @@ function materio_content_types_views_default_views() {
|
|
|
'title' => 'title',
|
|
|
);
|
|
|
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
|
|
|
- /* Champ: Contenu : Référence Materio */
|
|
|
+ /* Field: Content: Référence Materio */
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
|
|
@@ -58,7 +47,7 @@ function materio_content_types_views_default_views() {
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['alter']['text'] = '[field_reference_materio] ';
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['element_label_colon'] = FALSE;
|
|
|
$handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE;
|
|
|
- /* Champ: Contenu : Titre */
|
|
|
+ /* 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';
|
|
@@ -68,19 +57,19 @@ function materio_content_types_views_default_views() {
|
|
|
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
|
|
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
|
|
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
|
|
|
- /* Critère de tri: Contenu : Date de publication */
|
|
|
+ /* Sort criterion: Content: Post date */
|
|
|
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
|
|
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
|
|
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
|
|
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
|
|
- /* Critère de filtrage: Contenu : Publié */
|
|
|
+ /* Filter criterion: Content: Published */
|
|
|
$handler->display->display_options['filters']['status']['id'] = 'status';
|
|
|
$handler->display->display_options['filters']['status']['table'] = 'node';
|
|
|
$handler->display->display_options['filters']['status']['field'] = 'status';
|
|
|
$handler->display->display_options['filters']['status']['value'] = 1;
|
|
|
$handler->display->display_options['filters']['status']['group'] = 1;
|
|
|
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
|
|
- /* Critère de filtrage: Contenu : Type */
|
|
|
+ /* 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';
|
|
@@ -114,19 +103,19 @@ function materio_content_types_views_default_views() {
|
|
|
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
|
|
$translatables['entity_reference_materiaux_breves'] = array(
|
|
|
t('Master'),
|
|
|
- t('plus'),
|
|
|
- t('Appliquer'),
|
|
|
- t('Réinitialiser'),
|
|
|
- t('Trier par'),
|
|
|
+ t('more'),
|
|
|
+ t('Apply'),
|
|
|
+ t('Reset'),
|
|
|
+ t('Sort by'),
|
|
|
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('Items per page'),
|
|
|
+ t('- All -'),
|
|
|
+ t('Offset'),
|
|
|
+ t('« first'),
|
|
|
+ t('‹ previous'),
|
|
|
+ t('next ›'),
|
|
|
+ t('last »'),
|
|
|
t('[field_reference_materio] '),
|
|
|
t('[field_reference_materio][title]'),
|
|
|
t('Entity Reference'),
|