diff options
Diffstat (limited to 'features/muamba_interface')
-rw-r--r-- | features/muamba_interface/muamba_interface.pages_default.inc | 80 | ||||
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 561 |
2 files changed, 615 insertions, 26 deletions
diff --git a/features/muamba_interface/muamba_interface.pages_default.inc b/features/muamba_interface/muamba_interface.pages_default.inc index 87fe35f..f52b56c 100644 --- a/features/muamba_interface/muamba_interface.pages_default.inc +++ b/features/muamba_interface/muamba_interface.pages_default.inc @@ -202,6 +202,38 @@ function muamba_interface_default_page_manager_pages() { $pane->pid = 'new-1'; $pane->panel = 'middle'; $pane->type = 'views'; + $pane->subtype = 'transacoes'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '10', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_3', + 'override_title' => 1, + 'override_title_text' => 'Histórico', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['middle'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'middle'; + $pane->type = 'views'; $pane->subtype = 'og_list'; $pane->shown = TRUE; $pane->access = array( @@ -240,11 +272,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 0; - $display->content['new-1'] = $pane; - $display->panels['middle'][0] = 'new-1'; + $pane->position = 1; + $display->content['new-2'] = $pane; + $display->panels['middle'][1] = 'new-2'; $pane = new stdClass; - $pane->pid = 'new-2'; + $pane->pid = 'new-3'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'og_list'; @@ -272,11 +304,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 1; - $display->content['new-2'] = $pane; - $display->panels['middle'][1] = 'new-2'; + $pane->position = 2; + $display->content['new-3'] = $pane; + $display->panels['middle'][2] = 'new-3'; $pane = new stdClass; - $pane->pid = 'new-3'; + $pane->pid = 'new-4'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'og_user_groups'; @@ -317,11 +349,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 2; - $display->content['new-3'] = $pane; - $display->panels['middle'][2] = 'new-3'; + $pane->position = 3; + $display->content['new-4'] = $pane; + $display->panels['middle'][3] = 'new-4'; $pane = new stdClass; - $pane->pid = 'new-4'; + $pane->pid = 'new-5'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'muambas'; @@ -349,11 +381,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 3; - $display->content['new-4'] = $pane; - $display->panels['middle'][3] = 'new-4'; + $pane->position = 4; + $display->content['new-5'] = $pane; + $display->panels['middle'][4] = 'new-5'; $pane = new stdClass; - $pane->pid = 'new-5'; + $pane->pid = 'new-6'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'transacoes'; @@ -381,11 +413,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 4; - $display->content['new-5'] = $pane; - $display->panels['middle'][4] = 'new-5'; + $pane->position = 5; + $display->content['new-6'] = $pane; + $display->panels['middle'][5] = 'new-6'; $pane = new stdClass; - $pane->pid = 'new-6'; + $pane->pid = 'new-7'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'transacoes'; @@ -413,11 +445,11 @@ function muamba_interface_default_page_manager_pages() { ); $pane->css = array(); $pane->extras = array(); - $pane->position = 5; - $display->content['new-6'] = $pane; - $display->panels['middle'][5] = 'new-6'; + $pane->position = 6; + $display->content['new-7'] = $pane; + $display->panels['middle'][6] = 'new-7'; $display->hide_title = PANELS_TITLE_FIXED; - $display->title_pane = 'new-6'; + $display->title_pane = 'new-7'; $handler->conf['display'] = $display; $page->default_handlers[$handler->name] = $handler; $pages['principal'] = $page; diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index a28799b..cacdaca 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -2303,6 +2303,225 @@ function muamba_interface_views_default_views() { /* Display: Geral */ $handler = $view->new_display('page', 'Geral', 'page'); + $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'; + $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']['id'] = 'title'; + $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; + $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: 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; + $handler->display->display_options['fields']['name_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['name_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['name_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['name_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['name_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['name_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['name_1']['empty_zero'] = 0; + $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(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'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['relationship'] = 'owner'; + $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'] = 1; + $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: 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']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['status']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['status']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['status']['alter']['external'] = 0; + $handler->display->display_options['fields']['status']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['status']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['status']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['status']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['status']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim'] = 0; + $handler->display->display_options['fields']['status']['alter']['html'] = 0; + $handler->display->display_options['fields']['status']['element_label_colon'] = 1; + $handler->display->display_options['fields']['status']['element_default_classes'] = 1; + $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['path'] = 'transacoes'; /* Display: Pedi */ @@ -2455,7 +2674,7 @@ function muamba_interface_views_default_views() { $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']['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; @@ -2478,7 +2697,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['name']['table'] = 'users'; $handler->display->display_options['fields']['name']['field'] = 'name'; $handler->display->display_options['fields']['name']['relationship'] = 'owner'; - $handler->display->display_options['fields']['name']['label'] = 'Dono'; + $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; @@ -2549,6 +2768,11 @@ function muamba_interface_views_default_views() { $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: 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'; /* Display: Me pediram */ $handler = $view->new_display('block', 'Me pediram', 'block_2'); @@ -2793,6 +3017,335 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; $handler->display->display_options['filters']['uid_current']['relationship'] = 'owner'; $handler->display->display_options['filters']['uid_current']['value'] = '1'; + /* 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'; + + /* Display: Histórico */ + $handler = $view->new_display('block', 'Histórico', 'block_3'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Transações passadas'; + $handler->display->display_options['display_description'] = 'Histórico de transações'; + $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', + 'picture_1' => 'picture_1', + 'name' => 'picture_1', + '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' => '', + ), + 'picture_1' => 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'; + $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; + $handler->display->display_options['fields']['name_1']['alter']['external'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['name_1']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['name_1']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['trim'] = 0; + $handler->display->display_options['fields']['name_1']['alter']['html'] = 0; + $handler->display->display_options['fields']['name_1']['element_label_colon'] = 1; + $handler->display->display_options['fields']['name_1']['element_default_classes'] = 1; + $handler->display->display_options['fields']['name_1']['hide_empty'] = 0; + $handler->display->display_options['fields']['name_1']['empty_zero'] = 0; + $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_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'] = 'owner'; + $handler->display->display_options['fields']['picture_1']['label'] = 'Dono(a)'; + $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']['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'] = 'owner'; + $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'] = 1; + $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: 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']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['status']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['status']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['status']['alter']['external'] = 0; + $handler->display->display_options['fields']['status']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['status']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['status']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['status']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['status']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['status']['alter']['trim'] = 0; + $handler->display->display_options['fields']['status']['alter']['html'] = 0; + $handler->display->display_options['fields']['status']['element_label_colon'] = 1; + $handler->display->display_options['fields']['status']['element_default_classes'] = 1; + $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['filter_groups']['groups'] = array( + 0 => 'OR', + 1 => 'AND', + ); + $handler->display->display_options['defaults']['filters'] = FALSE; + /* 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'] = 'owner'; + $handler->display->display_options['filters']['uid_current']['value'] = '1'; + $handler->display->display_options['filters']['uid_current']['group'] = 0; + /* Filter criterion: Usuário: Atual */ + $handler->display->display_options['filters']['uid_current_1']['id'] = 'uid_current_1'; + $handler->display->display_options['filters']['uid_current_1']['table'] = 'users'; + $handler->display->display_options['filters']['uid_current_1']['field'] = 'uid_current'; + $handler->display->display_options['filters']['uid_current_1']['relationship'] = 'uid'; + $handler->display->display_options['filters']['uid_current_1']['value'] = '1'; + $handler->display->display_options['filters']['uid_current_1']['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'] = '0'; + $handler->display->display_options['filters']['active']['group'] = 1; $translatables['transacoes'] = array( t('Master'), t('Transações'), @@ -2818,11 +3371,15 @@ function muamba_interface_views_default_views() { t('Alterado'), t('Ativas'), t('Geral'), + t('Dono(a)'), t('Pedi'), t('Muambas que pedi'), t('Última atualização'), t('Me pediram'), t('Muambas que me pediram'), + t('Histórico'), + t('Transações passadas'), + t('Histórico de transações'), ); $export['transacoes'] = $view; |