diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-11 18:25:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-11 18:25:03 -0300 |
commit | f6c43024fe6f16e7e25649084af3fbd1dc9951f3 (patch) | |
tree | c1a98f19901eeb59716a7a904a5476bc41b12797 /features | |
parent | 9c482d8051637d687022458b20fe07c77171c33e (diff) | |
download | muamba-f6c43024fe6f16e7e25649084af3fbd1dc9951f3.tar.gz muamba-f6c43024fe6f16e7e25649084af3fbd1dc9951f3.tar.bz2 |
Updating features
Diffstat (limited to 'features')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 1022 | ||||
-rw-r--r-- | features/muamba_system/muamba_system.features.field.inc | 18 |
2 files changed, 963 insertions, 77 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index 0bbed04..6b5a820 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -23,6 +23,7 @@ function muamba_interface_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['title'] = 'Minhas muambas'; + $handler->display->display_options['use_ajax'] = TRUE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['cache']['type'] = 'none'; @@ -155,6 +156,8 @@ function muamba_interface_views_default_views() { /* Display: Minhas (bloco) */ $handler = $view->new_display('block', 'Minhas (bloco)', 'block'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Minhas muambas'; $handler->display->display_options['display_description'] = 'Minhas muambas (bloco)'; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'full'; @@ -483,14 +486,17 @@ function muamba_interface_views_default_views() { $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', - 'title' => 'title', + 'title' => 'field_foto', + 'picture' => 'picture', + 'name' => 'picture', + 'status' => 'status', 'ops' => 'ops', ); $handler->display->display_options['style_options']['default'] = '-1'; $handler->display->display_options['style_options']['info'] = array( 'field_foto' => array( 'align' => '', - 'separator' => '', + 'separator' => '<br />', ), 'title' => array( 'sortable' => 0, @@ -498,6 +504,24 @@ function muamba_interface_views_default_views() { 'align' => '', 'separator' => '', ), + 'picture' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), 'ops' => array( 'align' => '', 'separator' => '', @@ -525,6 +549,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'] = '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; @@ -574,6 +599,29 @@ function muamba_interface_views_default_views() { $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'] = 1; + $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'; @@ -599,10 +647,34 @@ function muamba_interface_views_default_views() { $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'] = 1; + $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: Muamba: Status */ $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'muamba'; $handler->display->display_options['fields']['status']['field'] = 'status'; + $handler->display->display_options['fields']['status']['exclude'] = TRUE; $handler->display->display_options['fields']['status']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['status']['alter']['make_link'] = 0; $handler->display->display_options['fields']['status']['alter']['absolute'] = 0; @@ -667,6 +739,184 @@ 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; + + /* Display: Emprestei (bloco) */ + $handler = $view->new_display('block', 'Emprestei (bloco)', 'block_4'); + $handler->display->display_options['display_description'] = 'Muambas que emprestei (bloco)'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Itens por página'; + $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['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']['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']['group'] = 0; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Filter criterion: Conteúdo: Tipo */ + $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( + 'muamba' => 'muamba', + ); + /* Filter criterion: Usuário: Atual */ + $handler->display->display_options['filters']['uid_current']['id'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current']['table'] = 'users'; + $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current']['relationship'] = 'uid'; + $handler->display->display_options['filters']['uid_current']['value'] = '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']['relationship'] = 'nid'; + $handler->display->display_options['filters']['status_1']['value'] = array( + 1 => '1', + ); + + /* Display: Peguei (bloco) */ + $handler = $view->new_display('block', 'Peguei (bloco)', 'block_5'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Peguei emprestado'; + $handler->display->display_options['display_description'] = 'Peguei emprestado (bloco)'; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Itens por página'; + $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['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 */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['relationships']['uid']['required'] = 1; + /* Relação: Flags: bookmarks */ + $handler->display->display_options['relationships']['flag_content_rel']['id'] = 'flag_content_rel'; + $handler->display->display_options['relationships']['flag_content_rel']['table'] = 'node'; + $handler->display->display_options['relationships']['flag_content_rel']['field'] = 'flag_content_rel'; + $handler->display->display_options['relationships']['flag_content_rel']['required'] = 0; + $handler->display->display_options['relationships']['flag_content_rel']['flag'] = 'bookmarks'; + $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'] = ''; + $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'] = FALSE; + $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'] = ''; + $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']['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']['hide_empty'] = 0; + $handler->display->display_options['fields']['title']['empty_zero'] = 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']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['ops']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['ops']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['ops']['alter']['external'] = 0; + $handler->display->display_options['fields']['ops']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['ops']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['ops']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['ops']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['ops']['alter']['ellipsis'] = 1; + $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_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['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']['group'] = 0; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Filter criterion: Conteúdo: Tipo */ + $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( + 'muamba' => 'muamba', + ); + $handler->display->display_options['filters']['type']['group'] = 0; + /* Filter criterion: Usuário: Atual */ + $handler->display->display_options['filters']['uid_current']['id'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current']['table'] = 'users'; + $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; + $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: Status */ + $handler->display->display_options['filters']['status_2']['id'] = 'status_2'; + $handler->display->display_options['filters']['status_2']['table'] = 'muamba'; + $handler->display->display_options['filters']['status_2']['field'] = 'status'; + $handler->display->display_options['filters']['status_2']['value'] = array( + 1 => '1', + ); + $handler->display->display_options['filters']['status_2']['group'] = 0; $translatables['muambas'] = array( t('Master'), t('Minhas muambas'), @@ -694,10 +944,15 @@ function muamba_interface_views_default_views() { t('Favoritas (bloco)'), t('Favoritos'), t('Muambas favoritas (bloco)'), - t('Foto'), t('Item'), t('Dono(a)'), + t('Disponível?'), t('Status'), + t('Emprestei (bloco)'), + t('Muambas que emprestei (bloco)'), + t('Peguei (bloco)'), + t('Peguei emprestado'), + t('Peguei emprestado (bloco)'), ); $export['muambas'] = $view; @@ -714,6 +969,7 @@ function muamba_interface_views_default_views() { /* Display: Defaults */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->display->display_options['title'] = 'Grupos'; + $handler->display->display_options['use_ajax'] = TRUE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; @@ -729,24 +985,55 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['columns'] = array( - 'title' => 'title', + 'field_logo' => 'field_logo', + 'title' => 'field_logo', + 'field_descricao' => 'field_descricao', 'created' => 'created', + 'group_access' => 'group_access', + 'group_group' => 'group_group', ); $handler->display->display_options['style_options']['default'] = 'title'; $handler->display->display_options['style_options']['info'] = array( + 'field_logo' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '<br />', + ), 'title' => array( 'sortable' => 1, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'field_descricao' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), 'created' => array( 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'group_access' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'group_group' => array( + 'sortable' => 1, + 'default_sort_order' => 'asc', '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; /* Relação: Grupo: Node group */ $handler->display->display_options['relationships']['og_rel']['id'] = 'og_rel'; $handler->display->display_options['relationships']['og_rel']['table'] = 'node'; @@ -851,9 +1138,159 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['state']['expose']['label'] = 'Group: Group\'s state'; $handler->display->display_options['filters']['state']['expose']['operator'] = 'state_op'; - /* Display: Page */ - $handler = $view->new_display('page', 'Page', 'page_1'); - $handler->display->display_options['path'] = 'node'; + /* Display: Todos */ + $handler = $view->new_display('page', 'Todos', 'page_1'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Todos os grupos'; + $handler->display->display_options['display_description'] = 'Todos os grupos'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Campo: Conteúdo: Logo */ + $handler->display->display_options['fields']['field_logo']['id'] = 'field_logo'; + $handler->display->display_options['fields']['field_logo']['table'] = 'field_data_field_logo'; + $handler->display->display_options['fields']['field_logo']['field'] = 'field_logo'; + $handler->display->display_options['fields']['field_logo']['label'] = 'Grupo'; + $handler->display->display_options['fields']['field_logo']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['external'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['field_logo']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['field_logo']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['trim'] = 0; + $handler->display->display_options['fields']['field_logo']['alter']['html'] = 0; + $handler->display->display_options['fields']['field_logo']['element_label_colon'] = 1; + $handler->display->display_options['fields']['field_logo']['element_default_classes'] = 1; + $handler->display->display_options['fields']['field_logo']['hide_empty'] = 0; + $handler->display->display_options['fields']['field_logo']['empty_zero'] = 0; + $handler->display->display_options['fields']['field_logo']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_logo']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_logo']['settings'] = array( + 'image_style' => 'thumbnail', + 'image_link' => 'content', + ); + $handler->display->display_options['fields']['field_logo']['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'] = 'Nome'; + $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'] = 1; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1; + $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'] = 1; + $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: Descrição */ + $handler->display->display_options['fields']['field_descricao']['id'] = 'field_descricao'; + $handler->display->display_options['fields']['field_descricao']['table'] = 'field_data_field_descricao'; + $handler->display->display_options['fields']['field_descricao']['field'] = 'field_descricao'; + $handler->display->display_options['fields']['field_descricao']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['external'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['field_descricao']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['field_descricao']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['trim'] = 0; + $handler->display->display_options['fields']['field_descricao']['alter']['html'] = 0; + $handler->display->display_options['fields']['field_descricao']['element_label_colon'] = 1; + $handler->display->display_options['fields']['field_descricao']['element_default_classes'] = 1; + $handler->display->display_options['fields']['field_descricao']['hide_empty'] = 0; + $handler->display->display_options['fields']['field_descricao']['empty_zero'] = 0; + $handler->display->display_options['fields']['field_descricao']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['field_descricao']['field_api_classes'] = 0; + /* Campo: Organic groups group: Created */ + $handler->display->display_options['fields']['created']['id'] = 'created'; + $handler->display->display_options['fields']['created']['table'] = 'og'; + $handler->display->display_options['fields']['created']['field'] = 'created'; + $handler->display->display_options['fields']['created']['relationship'] = 'og_rel'; + $handler->display->display_options['fields']['created']['label'] = 'Since'; + $handler->display->display_options['fields']['created']['exclude'] = TRUE; + $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['created']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['created']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['created']['alter']['external'] = 0; + $handler->display->display_options['fields']['created']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['created']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['created']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['created']['alter']['trim'] = 0; + $handler->display->display_options['fields']['created']['alter']['html'] = 0; + $handler->display->display_options['fields']['created']['element_label_colon'] = 1; + $handler->display->display_options['fields']['created']['element_default_classes'] = 1; + $handler->display->display_options['fields']['created']['hide_empty'] = 0; + $handler->display->display_options['fields']['created']['empty_zero'] = 0; + $handler->display->display_options['fields']['created']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['created']['date_format'] = 'time ago'; + /* Campo: Conteúdo: Acesso */ + $handler->display->display_options['fields']['group_access']['id'] = 'group_access'; + $handler->display->display_options['fields']['group_access']['table'] = 'field_data_group_access'; + $handler->display->display_options['fields']['group_access']['field'] = 'group_access'; + $handler->display->display_options['fields']['group_access']['label'] = 'Visibilidade'; + $handler->display->display_options['fields']['group_access']['exclude'] = TRUE; + $handler->display->display_options['fields']['group_access']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['external'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['group_access']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['group_access']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['trim'] = 0; + $handler->display->display_options['fields']['group_access']['alter']['html'] = 0; + $handler->display->display_options['fields']['group_access']['element_label_colon'] = 1; + $handler->display->display_options['fields']['group_access']['element_default_classes'] = 1; + $handler->display->display_options['fields']['group_access']['hide_empty'] = 0; + $handler->display->display_options['fields']['group_access']['empty_zero'] = 0; + $handler->display->display_options['fields']['group_access']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['group_access']['field_api_classes'] = 0; + /* Campo: Conteúdo: Participação */ + $handler->display->display_options['fields']['group_group']['id'] = 'group_group'; + $handler->display->display_options['fields']['group_group']['table'] = 'field_data_group_group'; + $handler->display->display_options['fields']['group_group']['field'] = 'group_group'; + $handler->display->display_options['fields']['group_group']['label'] = 'Inscrição'; + $handler->display->display_options['fields']['group_group']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['external'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['group_group']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['group_group']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['trim'] = 0; + $handler->display->display_options['fields']['group_group']['alter']['html'] = 0; + $handler->display->display_options['fields']['group_group']['element_label_colon'] = 1; + $handler->display->display_options['fields']['group_group']['element_default_classes'] = 1; + $handler->display->display_options['fields']['group_group']['hide_empty'] = 0; + $handler->display->display_options['fields']['group_group']['empty_zero'] = 0; + $handler->display->display_options['fields']['group_group']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['group_group']['type'] = 'og_group_subscribe'; + $handler->display->display_options['fields']['group_group']['field_api_classes'] = 0; + $handler->display->display_options['path'] = 'og'; /* Display: Feed */ $handler = $view->new_display('feed', 'Feed', 'feed_1'); @@ -883,7 +1320,11 @@ function muamba_interface_views_default_views() { t('Descrição'), t('Since'), t('Group: Group\'s state'), - t('Page'), + t('Todos'), + t('Todos os grupos'), + t('Grupo'), + t('Visibilidade'), + t('Inscrição'), t('Feed'), ); $export['og_list'] = $view; @@ -901,6 +1342,7 @@ function muamba_interface_views_default_views() { /* Display: Master */ $handler = $view->new_display('default', 'Master', 'default'); $handler->display->display_options['title'] = 'Transações'; + $handler->display->display_options['use_ajax'] = TRUE; $handler->display->display_options['use_more_text'] = 'mais'; $handler->display->display_options['access']['type'] = 'none'; $handler->display->display_options['cache']['type'] = 'none'; @@ -918,7 +1360,14 @@ function muamba_interface_views_default_views() { $handler->display->display_options['style_plugin'] = 'table'; $handler->display->display_options['style_options']['columns'] = array( 'mid' => 'mid', + 'field_foto' => 'field_foto', + 'title' => 'title', + 'picture_1' => 'picture_1', + 'name_1' => 'picture_1', + 'picture' => 'picture', + 'name' => 'picture', 'status' => 'status', + 'changed' => 'changed', ); $handler->display->display_options['style_options']['default'] = '-1'; $handler->display->display_options['style_options']['info'] = array( @@ -928,12 +1377,52 @@ function muamba_interface_views_default_views() { 'align' => '', 'separator' => '', ), + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'picture_1' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name_1' => 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' => '', + ), 'status' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), + 'changed' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), ); $handler->display->display_options['style_options']['override'] = 1; $handler->display->display_options['style_options']['sticky'] = 0; @@ -981,6 +1470,7 @@ function muamba_interface_views_default_views() { $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']['relationship'] = 'nid'; + $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; @@ -1007,11 +1497,12 @@ function muamba_interface_views_default_views() { $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: Content revision: Título */ + /* Campo: Conteúdo: Título */ $handler->display->display_options['fields']['title']['id'] = 'title'; - $handler->display->display_options['fields']['title']['table'] = 'node_revision'; + $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['relationship'] = 'nid'; + $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; @@ -1029,13 +1520,36 @@ function muamba_interface_views_default_views() { $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'] = 0; - $handler->display->display_options['fields']['title']['link_to_node_revision'] = 0; + $handler->display->display_options['fields']['title']['link_to_node'] = 1; + /* Campo: Usuário: Foto */ + $handler->display->display_options['fields']['picture_1']['id'] = 'picture_1'; + $handler->display->display_options['fields']['picture_1']['table'] = 'users'; + $handler->display->display_options['fields']['picture_1']['field'] = 'picture'; + $handler->display->display_options['fields']['picture_1']['relationship'] = 'uid'; + $handler->display->display_options['fields']['picture_1']['label'] = 'Quem pediu'; + $handler->display->display_options['fields']['picture_1']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['picture_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['picture_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['picture_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['picture_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['picture_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['picture_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['picture_1']['empty_zero'] = 0; + $handler->display->display_options['fields']['picture_1']['hide_alter_empty'] = 0; /* Campo: Usuário: Nome */ $handler->display->display_options['fields']['name_1']['id'] = 'name_1'; $handler->display->display_options['fields']['name_1']['table'] = 'users'; $handler->display->display_options['fields']['name_1']['field'] = 'name'; $handler->display->display_options['fields']['name_1']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name_1']['label'] = 'Quem pediu'; $handler->display->display_options['fields']['name_1']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['name_1']['alter']['make_link'] = 0; $handler->display->display_options['fields']['name_1']['alter']['absolute'] = 0; @@ -1055,6 +1569,29 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['name_1']['hide_alter_empty'] = 0; $handler->display->display_options['fields']['name_1']['link_to_user'] = 1; $handler->display->display_options['fields']['name_1']['overwrite_anonymous'] = 0; + /* 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'] = 'owner'; + $handler->display->display_options['fields']['picture']['label'] = 'Dono'; + $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'] = 1; + $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'; @@ -1101,6 +1638,28 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['hide_empty'] = 0; $handler->display->display_options['fields']['status']['empty_zero'] = 0; $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0; + /* Campo: Muamba: Alterado */ + $handler->display->display_options['fields']['changed']['id'] = 'changed'; + $handler->display->display_options['fields']['changed']['table'] = 'muamba'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['changed']['alter']['external'] = 0; + $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; + $handler->display->display_options['fields']['changed']['alter']['html'] = 0; + $handler->display->display_options['fields']['changed']['element_label_colon'] = 1; + $handler->display->display_options['fields']['changed']['element_default_classes'] = 1; + $handler->display->display_options['fields']['changed']['hide_empty'] = 0; + $handler->display->display_options['fields']['changed']['empty_zero'] = 0; + $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; /* Filter criterion: Muamba: Ativo */ $handler->display->display_options['filters']['active']['id'] = 'active'; $handler->display->display_options['filters']['active']['table'] = 'muamba'; @@ -1118,37 +1677,174 @@ function muamba_interface_views_default_views() { $handler = $view->new_display('page', 'Geral', 'page'); $handler->display->display_options['path'] = 'transacoes'; - /* Display: Enviadas */ - $handler = $view->new_display('block', 'Enviadas', 'block_1'); + /* Display: Pedi */ + $handler = $view->new_display('block', 'Pedi', 'block_1'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Coisas que pedi'; + $handler->display->display_options['display_description'] = 'Muambas que pedi'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'mid' => 'mid', + 'field_foto' => 'field_foto', + 'title_1' => 'field_foto', + 'picture' => 'picture', + 'name' => 'picture', + 'status' => 'status', + 'changed' => 'changed', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'mid' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title_1' => 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' => '', + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'changed' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + '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']['fields'] = FALSE; /* Campo: Muamba: Id */ $handler->display->display_options['fields']['mid']['id'] = 'mid'; $handler->display->display_options['fields']['mid']['table'] = 'muamba'; $handler->display->display_options['fields']['mid']['field'] = 'mid'; - /* Campo: Content revision: Título */ - $handler->display->display_options['fields']['title']['id'] = 'title'; - $handler->display->display_options['fields']['title']['table'] = 'node_revision'; - $handler->display->display_options['fields']['title']['field'] = 'title'; - $handler->display->display_options['fields']['title']['relationship'] = 'nid'; - $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'] = 1; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1; - $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'] = 1; - $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'] = 0; - $handler->display->display_options['fields']['title']['link_to_node_revision'] = 0; + $handler->display->display_options['fields']['mid']['exclude'] = TRUE; + $handler->display->display_options['fields']['mid']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['mid']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['mid']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['mid']['alter']['external'] = 0; + $handler->display->display_options['fields']['mid']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['mid']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['mid']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['mid']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['mid']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim'] = 0; + $handler->display->display_options['fields']['mid']['alter']['html'] = 0; + $handler->display->display_options['fields']['mid']['element_label_colon'] = 1; + $handler->display->display_options['fields']['mid']['element_default_classes'] = 1; + $handler->display->display_options['fields']['mid']['hide_empty'] = 0; + $handler->display->display_options['fields']['mid']['empty_zero'] = 0; + $handler->display->display_options['fields']['mid']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['mid']['format_plural'] = 0; + /* 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']['relationship'] = 'nid'; + $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'] = 1; + $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_1']['id'] = 'title_1'; + $handler->display->display_options['fields']['title_1']['table'] = 'node'; + $handler->display->display_options['fields']['title_1']['field'] = 'title'; + $handler->display->display_options['fields']['title_1']['relationship'] = 'nid'; + $handler->display->display_options['fields']['title_1']['label'] = 'Item'; + $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['title_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['title_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; + $handler->display->display_options['fields']['title_1']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['title_1']['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'] = 'owner'; + $handler->display->display_options['fields']['picture']['label'] = 'Dono'; + $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'] = 1; + $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'; @@ -1195,6 +1891,29 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['hide_empty'] = 0; $handler->display->display_options['fields']['status']['empty_zero'] = 0; $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0; + /* Campo: Muamba: Alterado */ + $handler->display->display_options['fields']['changed']['id'] = 'changed'; + $handler->display->display_options['fields']['changed']['table'] = 'muamba'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['label'] = 'Última atualização'; + $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['changed']['alter']['external'] = 0; + $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; + $handler->display->display_options['fields']['changed']['alter']['html'] = 0; + $handler->display->display_options['fields']['changed']['element_label_colon'] = 1; + $handler->display->display_options['fields']['changed']['element_default_classes'] = 1; + $handler->display->display_options['fields']['changed']['hide_empty'] = 0; + $handler->display->display_options['fields']['changed']['empty_zero'] = 0; + $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Usuário: Atual */ $handler->display->display_options['filters']['uid_current']['id'] = 'uid_current'; @@ -1203,42 +1922,180 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['uid_current']['relationship'] = 'uid'; $handler->display->display_options['filters']['uid_current']['value'] = '1'; - /* Display: Recebidas */ - $handler = $view->new_display('block', 'Recebidas', 'block_2'); + /* Display: Me pediram */ + $handler = $view->new_display('block', 'Me pediram', 'block_2'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Coisas que me pediram'; + $handler->display->display_options['display_description'] = 'Muambas que me pediram'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'mid' => 'mid', + 'field_foto' => 'field_foto', + 'title_1' => 'field_foto', + 'picture' => 'picture', + 'name_1' => 'picture', + 'status' => 'status', + 'changed' => 'changed', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'mid' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'field_foto' => array( + 'align' => '', + 'separator' => '<br />', + ), + 'title_1' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'picture' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name_1' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'changed' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + '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']['fields'] = FALSE; /* Campo: Muamba: Id */ $handler->display->display_options['fields']['mid']['id'] = 'mid'; $handler->display->display_options['fields']['mid']['table'] = 'muamba'; $handler->display->display_options['fields']['mid']['field'] = 'mid'; - /* Campo: Content revision: Título */ - $handler->display->display_options['fields']['title']['id'] = 'title'; - $handler->display->display_options['fields']['title']['table'] = 'node_revision'; - $handler->display->display_options['fields']['title']['field'] = 'title'; - $handler->display->display_options['fields']['title']['relationship'] = 'nid'; - $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'] = 1; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1; - $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'] = 1; - $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'] = 0; - $handler->display->display_options['fields']['title']['link_to_node_revision'] = 0; + $handler->display->display_options['fields']['mid']['exclude'] = TRUE; + $handler->display->display_options['fields']['mid']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['mid']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['mid']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['mid']['alter']['external'] = 0; + $handler->display->display_options['fields']['mid']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['mid']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['mid']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['mid']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['mid']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['mid']['alter']['trim'] = 0; + $handler->display->display_options['fields']['mid']['alter']['html'] = 0; + $handler->display->display_options['fields']['mid']['element_label_colon'] = 1; + $handler->display->display_options['fields']['mid']['element_default_classes'] = 1; + $handler->display->display_options['fields']['mid']['hide_empty'] = 0; + $handler->display->display_options['fields']['mid']['empty_zero'] = 0; + $handler->display->display_options['fields']['mid']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['mid']['format_plural'] = 0; + /* 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']['relationship'] = 'nid'; + $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'] = 1; + $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' => '', + ); + $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_1']['id'] = 'title_1'; + $handler->display->display_options['fields']['title_1']['table'] = 'node'; + $handler->display->display_options['fields']['title_1']['field'] = 'title'; + $handler->display->display_options['fields']['title_1']['relationship'] = 'nid'; + $handler->display->display_options['fields']['title_1']['label'] = 'Item'; + $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['title_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['title_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; + $handler->display->display_options['fields']['title_1']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['title_1']['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'] = 'Quem pediu'; + $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'] = 1; + $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_1']['id'] = 'name_1'; $handler->display->display_options['fields']['name_1']['table'] = 'users'; $handler->display->display_options['fields']['name_1']['field'] = 'name'; $handler->display->display_options['fields']['name_1']['relationship'] = 'uid'; + $handler->display->display_options['fields']['name_1']['label'] = 'Quem pediu'; $handler->display->display_options['fields']['name_1']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['name_1']['alter']['make_link'] = 0; $handler->display->display_options['fields']['name_1']['alter']['absolute'] = 0; @@ -1279,6 +2136,28 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['status']['hide_empty'] = 0; $handler->display->display_options['fields']['status']['empty_zero'] = 0; $handler->display->display_options['fields']['status']['hide_alter_empty'] = 0; + /* Campo: Muamba: Alterado */ + $handler->display->display_options['fields']['changed']['id'] = 'changed'; + $handler->display->display_options['fields']['changed']['table'] = 'muamba'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['changed']['alter']['external'] = 0; + $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; + $handler->display->display_options['fields']['changed']['alter']['html'] = 0; + $handler->display->display_options['fields']['changed']['element_label_colon'] = 1; + $handler->display->display_options['fields']['changed']['element_default_classes'] = 1; + $handler->display->display_options['fields']['changed']['hide_empty'] = 0; + $handler->display->display_options['fields']['changed']['empty_zero'] = 0; + $handler->display->display_options['fields']['changed']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Usuário: Atual */ $handler->display->display_options['filters']['uid_current']['id'] = 'uid_current'; @@ -1304,15 +2183,20 @@ function muamba_interface_views_default_views() { t('Id'), t('.'), t(','), - t('Foto'), - t('Título'), - t('Nome'), + t('Item'), + t('Quem pediu'), t('Dono'), t('Status'), + t('Alterado'), t('Ativas'), t('Geral'), - t('Enviadas'), - t('Recebidas'), + t('Pedi'), + t('Coisas que pedi'), + t('Muambas que pedi'), + t('Última atualização'), + t('Me pediram'), + t('Coisas que me pediram'), + t('Muambas que me pediram'), ); $export['transacoes'] = $view; diff --git a/features/muamba_system/muamba_system.features.field.inc b/features/muamba_system/muamba_system.features.field.inc index 98dffb8..0c3a897 100644 --- a/features/muamba_system/muamba_system.features.field.inc +++ b/features/muamba_system/muamba_system.features.field.inc @@ -311,7 +311,7 @@ function muamba_system_field_default_fields() { 'bundle' => 'clube', 'default_value' => array( 0 => array( - 'value' => 0, + 'value' => '0', ), ), 'deleted' => '0', @@ -334,8 +334,8 @@ function muamba_system_field_default_fields() { ), 'entity_type' => 'node', 'field_name' => 'group_access', - 'label' => 'Group visibility', - 'required' => TRUE, + 'label' => 'Acesso', + 'required' => 1, 'settings' => array( 'user_register_form' => FALSE, ), @@ -350,6 +350,7 @@ function muamba_system_field_default_fields() { ), ), 'widget' => array( + 'active' => 1, 'module' => 'options', 'settings' => array(), 'type' => 'options_buttons', @@ -389,7 +390,7 @@ function muamba_system_field_default_fields() { 'bundle' => 'clube', 'default_value' => array( 0 => array( - 'value' => 1, + 'value' => '1', ), ), 'deleted' => '0', @@ -412,8 +413,8 @@ function muamba_system_field_default_fields() { ), 'entity_type' => 'node', 'field_name' => 'group_group', - 'label' => 'Group type', - 'required' => TRUE, + 'label' => 'Participação', + 'required' => 1, 'settings' => array( 'user_register_form' => FALSE, ), @@ -430,6 +431,7 @@ function muamba_system_field_default_fields() { ), ), 'widget' => array( + 'active' => 1, 'module' => 'options', 'settings' => array(), 'type' => 'options_buttons', @@ -810,15 +812,15 @@ function muamba_system_field_default_fields() { // Translatables // Included for use with string extractors like potx. + t('Acesso'); t('Comment'); t('Descrição'); t('Foto'); - t('Group type'); - t('Group visibility'); t('Groups audience'); t('Grupos'); t('Logo'); t('Logotipo do clube'); + t('Participação'); t('Request message'); t('This is the text a user may send to the group administrators.'); t('Visibilidade'); |