diff options
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 454 |
1 files changed, 426 insertions, 28 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 1f6e927..a510fbc 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -68,7 +68,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['label'] = ''; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; @@ -81,7 +81,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; @@ -99,17 +99,24 @@ function muamba_interface_views_default_views() { $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']['label'] = ''; + $handler->display->display_options['fields']['title']['label'] = 'Item'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title']['alter']['external'] = 0; + $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['element_label_colon'] = 0; + $handler->display->display_options['fields']['title']['element_default_classes'] = 1; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; /* Critério de ordenação: Conteúdo: Data de publicação */ $handler->display->display_options['sorts']['created']['id'] = 'created'; @@ -205,11 +212,138 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Todos -'; $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'default'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'field_foto' => 'field_foto', + 'title' => 'field_foto', + 'edit_node' => 'edit_node', + 'delete_node' => 'edit_node', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'edit_node' => array( + 'align' => '', + 'separator' => ' | ', + ), + 'delete_node' => array( + 'align' => '', + 'separator' => '', + ), + ); + $handler->display->display_options['style_options']['override'] = 1; + $handler->display->display_options['style_options']['sticky'] = 0; + $handler->display->display_options['style_options']['empty_table'] = 0; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Foto */ + $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; + $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; + $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; + $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['external'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['field_foto']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; + $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; + $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; + $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; + $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; + $handler->display->display_options['fields']['field_foto']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_foto']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_foto']['settings'] = array( + 'image_style' => 'thumbnail', + 'image_link' => 'content', + ); + $handler->display->display_options['fields']['field_foto']['group_rows'] = 1; + $handler->display->display_options['fields']['field_foto']['delta_offset'] = '0'; + $handler->display->display_options['fields']['field_foto']['delta_reversed'] = 0; + $handler->display->display_options['fields']['field_foto']['field_api_classes'] = 0; + /* Campo: Conteúdo: Título */ + $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']['label'] = 'Item'; + $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title']['alter']['external'] = 0; + $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; + $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim'] = 0; + $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['element_label_colon'] = 0; + $handler->display->display_options['fields']['title']['element_default_classes'] = 1; + $handler->display->display_options['fields']['title']['hide_empty'] = 0; + $handler->display->display_options['fields']['title']['empty_zero'] = 0; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['title']['link_to_node'] = 1; + /* Campo: Conteúdo: Link "editar" */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['label'] = 'Ações'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['external'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['edit_node']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['edit_node']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['trim'] = 0; + $handler->display->display_options['fields']['edit_node']['alter']['html'] = 0; + $handler->display->display_options['fields']['edit_node']['element_label_colon'] = 0; + $handler->display->display_options['fields']['edit_node']['element_default_classes'] = 1; + $handler->display->display_options['fields']['edit_node']['hide_empty'] = 0; + $handler->display->display_options['fields']['edit_node']['empty_zero'] = 0; + $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = 0; + /* Campo: Conteúdo: Link "apagar" */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['external'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['delete_node']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['delete_node']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['trim'] = 0; + $handler->display->display_options['fields']['delete_node']['alter']['html'] = 0; + $handler->display->display_options['fields']['delete_node']['element_label_colon'] = 0; + $handler->display->display_options['fields']['delete_node']['element_default_classes'] = 1; + $handler->display->display_options['fields']['delete_node']['hide_empty'] = 0; + $handler->display->display_options['fields']['delete_node']['empty_zero'] = 0; + $handler->display->display_options['fields']['delete_node']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( 0 => 'AND', 1 => 'OR', @@ -259,6 +393,50 @@ function muamba_interface_views_default_views() { $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Muambas disponíveis'; $handler->display->display_options['display_description'] = 'Muambas disponíveis'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'field_foto' => 'field_foto', + 'title' => 'field_foto', + 'picture' => 'picture', + 'name' => 'picture', + 'ops' => 'ops', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'picture' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'ops' => array( + 'align' => '', + 'separator' => '', + ), + ); + $handler->display->display_options['style_options']['override'] = 1; + $handler->display->display_options['style_options']['sticky'] = 0; + $handler->display->display_options['style_options']['empty_table'] = 0; + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['relationships'] = FALSE; /* Relação: Conteúdo: Autor */ $handler->display->display_options['relationships']['uid']['id'] = 'uid'; @@ -281,7 +459,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['label'] = ''; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; @@ -294,7 +472,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; @@ -312,24 +490,79 @@ function muamba_interface_views_default_views() { $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']['label'] = ''; + $handler->display->display_options['fields']['title']['label'] = 'Item'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title']['alter']['external'] = 0; + $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['element_label_colon'] = 0; + $handler->display->display_options['fields']['title']['element_default_classes'] = 1; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; + /* Campo: Usuário: Foto */ + $handler->display->display_options['fields']['picture']['id'] = 'picture'; + $handler->display->display_options['fields']['picture']['table'] = 'users'; + $handler->display->display_options['fields']['picture']['field'] = 'picture'; + $handler->display->display_options['fields']['picture']['relationship'] = 'uid'; + $handler->display->display_options['fields']['picture']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['picture']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['picture']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['picture']['alter']['external'] = 0; + $handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim'] = 0; + $handler->display->display_options['fields']['picture']['alter']['html'] = 0; + $handler->display->display_options['fields']['picture']['element_label_colon'] = 0; + $handler->display->display_options['fields']['picture']['element_default_classes'] = 1; + $handler->display->display_options['fields']['picture']['hide_empty'] = 0; + $handler->display->display_options['fields']['picture']['empty_zero'] = 0; + $handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['name']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['name']['alter']['external'] = 0; + $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim'] = 0; + $handler->display->display_options['fields']['name']['alter']['html'] = 0; + $handler->display->display_options['fields']['name']['element_label_colon'] = 0; + $handler->display->display_options['fields']['name']['element_default_classes'] = 1; + $handler->display->display_options['fields']['name']['hide_empty'] = 0; + $handler->display->display_options['fields']['name']['empty_zero'] = 0; + $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['name']['link_to_user'] = 1; + $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; /* Campo: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; $handler->display->display_options['fields']['ops']['field'] = 'ops'; $handler->display->display_options['fields']['ops']['relationship'] = 'flag_content_rel'; - $handler->display->display_options['fields']['ops']['label'] = ''; + $handler->display->display_options['fields']['ops']['label'] = 'Favoritos'; $handler->display->display_options['fields']['ops']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['ops']['alter']['make_link'] = 0; $handler->display->display_options['fields']['ops']['alter']['absolute'] = 0; @@ -342,7 +575,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['ops']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['ops']['alter']['trim'] = 0; $handler->display->display_options['fields']['ops']['alter']['html'] = 0; - $handler->display->display_options['fields']['ops']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['ops']['element_label_colon'] = 0; $handler->display->display_options['fields']['ops']['element_default_classes'] = 1; $handler->display->display_options['fields']['ops']['hide_empty'] = 0; $handler->display->display_options['fields']['ops']['empty_zero'] = 0; @@ -410,10 +643,34 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Todos -'; $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'default'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'field_foto' => 'field_foto', + 'title' => 'field_foto', + 'ops' => 'ops', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'ops' => array( + 'align' => '', + 'separator' => '', + ), + ); + $handler->display->display_options['style_options']['override'] = 1; + $handler->display->display_options['style_options']['sticky'] = 0; + $handler->display->display_options['style_options']['empty_table'] = 0; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['relationships'] = FALSE; /* Relação: Conteúdo: Autor */ @@ -432,7 +689,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['label'] = ''; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; @@ -445,7 +702,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; @@ -463,24 +720,31 @@ function muamba_interface_views_default_views() { $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']['label'] = ''; + $handler->display->display_options['fields']['title']['label'] = 'Item'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title']['alter']['external'] = 0; + $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['element_label_colon'] = 0; + $handler->display->display_options['fields']['title']['element_default_classes'] = 1; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; /* Campo: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; $handler->display->display_options['fields']['ops']['field'] = 'ops'; $handler->display->display_options['fields']['ops']['relationship'] = 'flag_content_rel'; - $handler->display->display_options['fields']['ops']['label'] = ''; + $handler->display->display_options['fields']['ops']['label'] = 'Favoritos'; $handler->display->display_options['fields']['ops']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['ops']['alter']['make_link'] = 0; $handler->display->display_options['fields']['ops']['alter']['absolute'] = 0; @@ -493,7 +757,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['ops']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['ops']['alter']['trim'] = 0; $handler->display->display_options['fields']['ops']['alter']['html'] = 0; - $handler->display->display_options['fields']['ops']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['ops']['element_label_colon'] = 0; $handler->display->display_options['fields']['ops']['element_default_classes'] = 1; $handler->display->display_options['fields']['ops']['hide_empty'] = 0; $handler->display->display_options['fields']['ops']['empty_zero'] = 0; @@ -1335,10 +1599,48 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Todos -'; $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'default'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'field_foto' => 'field_foto', + 'title' => 'field_foto', + 'picture' => 'picture', + 'name' => 'picture', + 'ops' => 'ops', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'picture' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'ops' => array( + 'align' => '', + 'separator' => '', + ), + ); + $handler->display->display_options['style_options']['override'] = 1; + $handler->display->display_options['style_options']['sticky'] = 0; + $handler->display->display_options['style_options']['empty_table'] = 0; $handler->display->display_options['defaults']['style_options'] = FALSE; $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['row_plugin'] = 'fields'; $handler->display->display_options['defaults']['row_options'] = FALSE; $handler->display->display_options['defaults']['relationships'] = FALSE; /* Relação: Conteúdo: Autor */ @@ -1357,7 +1659,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['label'] = ''; + $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; @@ -1370,7 +1672,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; @@ -1388,24 +1690,102 @@ function muamba_interface_views_default_views() { $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']['label'] = ''; + $handler->display->display_options['fields']['title']['label'] = 'Item'; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title']['alter']['external'] = 0; + $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; + $handler->display->display_options['fields']['title']['element_label_colon'] = 0; + $handler->display->display_options['fields']['title']['element_default_classes'] = 1; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 1; + /* Campo: Usuário: Foto */ + $handler->display->display_options['fields']['picture']['id'] = 'picture'; + $handler->display->display_options['fields']['picture']['table'] = 'users'; + $handler->display->display_options['fields']['picture']['field'] = 'picture'; + $handler->display->display_options['fields']['picture']['relationship'] = 'uid'; + $handler->display->display_options['fields']['picture']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['picture']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['picture']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['picture']['alter']['external'] = 0; + $handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['picture']['alter']['trim'] = 0; + $handler->display->display_options['fields']['picture']['alter']['html'] = 0; + $handler->display->display_options['fields']['picture']['element_label_colon'] = 0; + $handler->display->display_options['fields']['picture']['element_default_classes'] = 1; + $handler->display->display_options['fields']['picture']['hide_empty'] = 0; + $handler->display->display_options['fields']['picture']['empty_zero'] = 0; + $handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0; + /* Campo: Usuário: Nome */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'users'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name']['label'] = 'Dono(a)'; + $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['name']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['name']['alter']['external'] = 0; + $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['name']['alter']['trim'] = 0; + $handler->display->display_options['fields']['name']['alter']['html'] = 0; + $handler->display->display_options['fields']['name']['element_label_colon'] = 0; + $handler->display->display_options['fields']['name']['element_default_classes'] = 1; + $handler->display->display_options['fields']['name']['hide_empty'] = 0; + $handler->display->display_options['fields']['name']['empty_zero'] = 0; + $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['name']['link_to_user'] = 1; + $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; + /* Campo: Muamba: Ativo */ + $handler->display->display_options['fields']['active']['id'] = 'active'; + $handler->display->display_options['fields']['active']['table'] = 'muamba'; + $handler->display->display_options['fields']['active']['field'] = 'active'; + $handler->display->display_options['fields']['active']['label'] = 'Disponível?'; + $handler->display->display_options['fields']['active']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['active']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['active']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['active']['alter']['external'] = 0; + $handler->display->display_options['fields']['active']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['active']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['active']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['active']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['active']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['active']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['active']['alter']['trim'] = 0; + $handler->display->display_options['fields']['active']['alter']['html'] = 0; + $handler->display->display_options['fields']['active']['element_label_colon'] = 0; + $handler->display->display_options['fields']['active']['element_default_classes'] = 1; + $handler->display->display_options['fields']['active']['hide_empty'] = 0; + $handler->display->display_options['fields']['active']['empty_zero'] = 0; + $handler->display->display_options['fields']['active']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['active']['not'] = 1; /* Campo: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; $handler->display->display_options['fields']['ops']['field'] = 'ops'; $handler->display->display_options['fields']['ops']['relationship'] = 'flag_content_rel'; - $handler->display->display_options['fields']['ops']['label'] = ''; + $handler->display->display_options['fields']['ops']['label'] = 'Favoritos'; $handler->display->display_options['fields']['ops']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['ops']['alter']['make_link'] = 0; $handler->display->display_options['fields']['ops']['alter']['absolute'] = 0; @@ -1418,18 +1798,22 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['ops']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['ops']['alter']['trim'] = 0; $handler->display->display_options['fields']['ops']['alter']['html'] = 0; - $handler->display->display_options['fields']['ops']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['ops']['element_label_colon'] = 0; $handler->display->display_options['fields']['ops']['element_default_classes'] = 1; $handler->display->display_options['fields']['ops']['hide_empty'] = 0; $handler->display->display_options['fields']['ops']['empty_zero'] = 0; $handler->display->display_options['fields']['ops']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['ops']['link_type'] = 'toggle'; + $handler->display->display_options['filter_groups']['groups'] = array( + 0 => 'AND', + 1 => 'OR', + ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ $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']['value'] = '1'; $handler->display->display_options['filters']['status']['group'] = 0; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ @@ -1447,6 +1831,18 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['uid_current']['relationship'] = 'uid'; $handler->display->display_options['filters']['uid_current']['value'] = '0'; $handler->display->display_options['filters']['uid_current']['group'] = 0; + /* Filter criterion: Muamba: Ativo */ + $handler->display->display_options['filters']['active']['id'] = 'active'; + $handler->display->display_options['filters']['active']['table'] = 'muamba'; + $handler->display->display_options['filters']['active']['field'] = 'active'; + $handler->display->display_options['filters']['active']['value'] = '1'; + $handler->display->display_options['filters']['active']['group'] = 1; + /* Filter criterion: Muamba: Status */ + $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; + $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; + $handler->display->display_options['filters']['status_1']['field'] = 'status'; + $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; + $handler->display->display_options['filters']['status_1']['group'] = 1; $translatables['muambas'] = array( t('Master'), t('Minhas muambas'), @@ -1463,19 +1859,23 @@ function muamba_interface_views_default_views() { t('Nenhum resultado encontrado'), t('autor'), t('Muamba node'), + t('Item'), t('Minhas'), t('Minhas (bloco)'), t('Minhas muambas (bloco)'), + t('Ações'), + t('Link "apagar"'), t('Disponíveis'), t('Muambas disponíveis'), t('flag'), + t('Dono(a)'), + t('Favoritos'), t('Disponíveis (bloco)'), t('Muambas disponíveis (bloco)'), t('Emprestei (bloco)'), t('Emprestei'), t('Muambas que emprestei (bloco)'), t('Muamba requester'), - t('Item'), t('Emprestado para'), t('Empresado para'), t('Última atualização'), @@ -1484,10 +1884,8 @@ function muamba_interface_views_default_views() { t('Peguei emprestado (bloco)'), t('Muamba item owner'), t('Dono'), - t('Favoritos'), t('Favoritas (bloco)'), t('Muambas favoritas (bloco)'), - t('Dono(a)'), t('Disponível?'), t('Status'), t('Todas (bloco)'), |