From 98772d184d617610f7fa01080c80aad5b8e5db07 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 17 Jan 2012 16:52:56 -0200 Subject: Updating features --- features/muamba_interface/muamba_interface.info | 14 +- .../muamba_interface.strongarm.inc | 27 - .../muamba_interface.views_default.inc | 3195 ++++---------------- 3 files changed, 575 insertions(+), 2661 deletions(-) diff --git a/features/muamba_interface/muamba_interface.info b/features/muamba_interface/muamba_interface.info index b673d8b..b0c6250 100644 --- a/features/muamba_interface/muamba_interface.info +++ b/features/muamba_interface/muamba_interface.info @@ -1,4 +1,9 @@ +name = "Muamba Interface" +description = "Muamba Interface Feature" core = "7.x" +package = "Features" +php = "5.2.4" +version = "7.x-0.1" dependencies[] = "block" dependencies[] = "captcha" dependencies[] = "contact" @@ -13,7 +18,6 @@ dependencies[] = "page_manager" dependencies[] = "panels_mini" dependencies[] = "strongarm" dependencies[] = "views" -description = "Muamba Interface Feature" features[ctools][] = "page_manager:pages_default:1" features[ctools][] = "panels_mini:panels_default:1" features[ctools][] = "strongarm:strongarm:1" @@ -32,7 +36,6 @@ features[user_permission][] = "access site-wide contact form" features[user_permission][] = "access user contact forms" features[user_permission][] = "administer contact forms" features[variable][] = "captcha_default_challenge" -features[variable][] = "captcha_placement_map_cache" features[variable][] = "colorbox_caption_trim" features[variable][] = "colorbox_caption_trim_length" features[variable][] = "colorbox_compression_type" @@ -84,11 +87,4 @@ features[variable][] = "user_picture_guidelines" features[variable][] = "user_picture_path" features[variable][] = "user_picture_style" features[views_view][] = "muambas" -features[views_view][] = "og_list" -features[views_view][] = "og_members" -features[views_view][] = "og_user_groups" features[views_view][] = "transacoes" -name = "Muamba Interface" -package = "Features" -php = "5.2.4" -version = "7.x-0.1" diff --git a/features/muamba_interface/muamba_interface.strongarm.inc b/features/muamba_interface/muamba_interface.strongarm.inc index e0bc43a..daee190 100644 --- a/features/muamba_interface/muamba_interface.strongarm.inc +++ b/features/muamba_interface/muamba_interface.strongarm.inc @@ -17,33 +17,6 @@ function muamba_interface_strongarm() { $strongarm->value = 'image_captcha/Image'; $export['captcha_default_challenge'] = $strongarm; - $strongarm = new stdClass; - $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ - $strongarm->api_version = 1; - $strongarm->name = 'captcha_placement_map_cache'; - $strongarm->value = array( - 'comment_form' => array( - 'path' => array(), - 'key' => NULL, - 'weight' => 18.9, - ), - 'user_register_form' => array( - 'path' => array( - 0 => 'actions', - ), - 'key' => 'submit', - 'weight' => NULL, - ), - 'contact_site_form' => array( - 'path' => array( - 0 => 'actions', - ), - 'key' => 'submit', - 'weight' => NULL, - ), - ); - $export['captcha_placement_map_cache'] = $strongarm; - $strongarm = new stdClass; $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ $strongarm->api_version = 1; diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index b6596a0..0137aab 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -91,6 +91,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -123,12 +124,6 @@ function muamba_interface_views_default_views() { $handler->display->display_options['sorts']['created']['table'] = 'node'; $handler->display->display_options['sorts']['created']['field'] = 'created'; $handler->display->display_options['sorts']['created']['order'] = 'DESC'; - /* Filtro contextual: Conteúdo: Nid */ - $handler->display->display_options['arguments']['nid']['id'] = 'nid'; - $handler->display->display_options['arguments']['nid']['table'] = 'node'; - $handler->display->display_options['arguments']['nid']['field'] = 'nid'; - $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary'; /* Filter criterion: Conteúdo: Publicado */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'node'; @@ -149,18 +144,20 @@ 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'] = '0'; + $handler->display->display_options['filters']['uid_current']['group'] = '0'; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; $handler->display->display_options['filters']['status_1']['field'] = 'status'; $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; + $handler->display->display_options['filters']['status_1']['group'] = '0'; /* Display: Minhas */ $handler = $view->new_display('page', 'Minhas', 'page'); $handler->display->display_options['display_description'] = 'Minhas muambas'; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', + 1 => 'AND', + 2 => 'OR', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ @@ -168,7 +165,7 @@ function muamba_interface_views_default_views() { $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -177,14 +174,14 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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'; - $handler->display->display_options['filters']['uid_current']['group'] = 0; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; @@ -194,13 +191,13 @@ function muamba_interface_views_default_views() { 2 => '2', 3 => '3', ); - $handler->display->display_options['filters']['status_1']['group'] = 1; + $handler->display->display_options['filters']['status_1']['group'] = 2; /* 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']['operator'] = 'empty'; - $handler->display->display_options['filters']['status_2']['group'] = 1; + $handler->display->display_options['filters']['status_2']['group'] = 2; $handler->display->display_options['path'] = 'minhas'; /* Display: Minhas (bloco) */ @@ -219,6 +216,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -280,6 +278,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -396,8 +395,8 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['total']['empty_zero'] = 0; $handler->display->display_options['fields']['total']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', + 1 => 'AND', + 2 => 'OR', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ @@ -405,7 +404,7 @@ function muamba_interface_views_default_views() { $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -414,14 +413,14 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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'; - $handler->display->display_options['filters']['uid_current']['group'] = 0; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; @@ -431,16 +430,16 @@ function muamba_interface_views_default_views() { 2 => '2', 3 => '3', ); - $handler->display->display_options['filters']['status_1']['group'] = 1; + $handler->display->display_options['filters']['status_1']['group'] = 2; /* 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']['operator'] = 'empty'; - $handler->display->display_options['filters']['status_2']['group'] = 1; + $handler->display->display_options['filters']['status_2']['group'] = 2; /* Display: Disponíveis */ - $handler = $view->new_display('page', 'Disponíveis', 'disponiveis'); + $handler = $view->new_display('page', 'Disponíveis', 'page_1'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Muambas disponíveis'; $handler->display->display_options['display_description'] = 'Muambas disponíveis'; @@ -451,6 +450,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -566,6 +566,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -709,8 +710,8 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', + 1 => 'AND', + 2 => 'OR', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ @@ -718,7 +719,7 @@ function muamba_interface_views_default_views() { $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -727,20 +728,20 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; $handler->display->display_options['filters']['status_1']['field'] = 'status'; $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; - $handler->display->display_options['filters']['status_1']['group'] = 1; + $handler->display->display_options['filters']['status_1']['group'] = 2; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_2']['id'] = 'status_2'; $handler->display->display_options['filters']['status_2']['table'] = 'muamba'; @@ -752,11 +753,11 @@ function muamba_interface_views_default_views() { 4 => '4', 6 => '6', ); - $handler->display->display_options['filters']['status_2']['group'] = 1; + $handler->display->display_options['filters']['status_2']['group'] = 2; $handler->display->display_options['path'] = 'disponiveis'; /* Display: Disponíveis (bloco) */ - $handler = $view->new_display('block', 'Disponíveis (bloco)', 'disponiveis_bloco'); + $handler = $view->new_display('block', 'Disponíveis (bloco)', 'block_1'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Muambas disponíveis'; $handler->display->display_options['display_description'] = 'Muambas disponíveis (bloco)'; @@ -775,6 +776,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -843,6 +845,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -940,8 +943,8 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['nothing']['empty_zero'] = 0; $handler->display->display_options['fields']['nothing']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', + 1 => 'AND', + 2 => 'OR', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ @@ -949,7 +952,7 @@ function muamba_interface_views_default_views() { $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -958,14 +961,14 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; @@ -977,7 +980,7 @@ function muamba_interface_views_default_views() { 4 => '4', 6 => '6', ); - $handler->display->display_options['filters']['status_1']['group'] = 1; + $handler->display->display_options['filters']['status_1']['group'] = 2; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_2']['id'] = 'status_2'; $handler->display->display_options['filters']['status_2']['table'] = 'muamba'; @@ -989,7 +992,7 @@ function muamba_interface_views_default_views() { 4 => '4', 6 => '6', ); - $handler->display->display_options['filters']['status_2']['group'] = 1; + $handler->display->display_options['filters']['status_2']['group'] = 2; /* Display: Emprestei (bloco) */ $handler = $view->new_display('block', 'Emprestei (bloco)', 'block_4'); @@ -1004,6 +1007,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -1091,6 +1095,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -1166,27 +1171,6 @@ 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: 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'] = 1; /* Campo: Muamba: Alterado */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'muamba'; @@ -1231,14 +1215,17 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'AND', + 2 => 'AND', + ); $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -1247,26 +1234,29 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); + $handler->display->display_options['filters']['type']['group'] = 1; /* 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'; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; $handler->display->display_options['filters']['status_1']['field'] = 'status'; + $handler->display->display_options['filters']['status_1']['relationship'] = 'nid'; $handler->display->display_options['filters']['status_1']['value'] = array( 1 => '1', - 4 => '4', - 6 => '6', ); + $handler->display->display_options['filters']['status_1']['group'] = 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'; + $handler->display->display_options['filters']['active']['group'] = 1; /* Display: Peguei (bloco) */ $handler = $view->new_display('block', 'Peguei (bloco)', 'block_5'); @@ -1281,6 +1271,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -1340,11 +1331,6 @@ function muamba_interface_views_default_views() { $handler->display->display_options['relationships']['owner']['table'] = 'muamba'; $handler->display->display_options['relationships']['owner']['field'] = 'owner'; $handler->display->display_options['relationships']['owner']['required'] = 0; - /* Relação: Muamba: Muamba requester user */ - $handler->display->display_options['relationships']['uid_1']['id'] = 'uid_1'; - $handler->display->display_options['relationships']['uid_1']['table'] = 'muamba'; - $handler->display->display_options['relationships']['uid_1']['field'] = 'uid'; - $handler->display->display_options['relationships']['uid_1']['required'] = 0; $handler->display->display_options['defaults']['fields'] = FALSE; /* Campo: Conteúdo: Foto */ $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; @@ -1373,6 +1359,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -1454,7 +1441,6 @@ function muamba_interface_views_default_views() { $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'] = 'Favoritos'; - $handler->display->display_options['fields']['ops']['exclude'] = TRUE; $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; @@ -1473,27 +1459,6 @@ function muamba_interface_views_default_views() { $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'; - /* 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'] = 1; /* Campo: Muamba: Alterado */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'muamba'; @@ -1538,14 +1503,17 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'AND', + 2 => 'AND', + ); $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -1554,30 +1522,22 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* 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', - 4 => '4', - 6 => '6', ); - $handler->display->display_options['filters']['status_2']['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_1'; - $handler->display->display_options['filters']['uid_current_1']['value'] = '1'; + $handler->display->display_options['filters']['status_2']['group'] = 1; /* Display: Favoritas (bloco) */ $handler = $view->new_display('block', 'Favoritas (bloco)', 'block_3'); @@ -1596,6 +1556,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -1707,6 +1668,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -1782,28 +1744,6 @@ 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: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 0; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; /* Campo: Flags: Flag link */ $handler->display->display_options['fields']['ops']['id'] = 'ops'; $handler->display->display_options['fields']['ops']['table'] = 'flag_content'; @@ -1828,6 +1768,28 @@ function muamba_interface_views_default_views() { $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'; + /* Campo: Muamba: Availability */ + $handler->display->display_options['fields']['available']['id'] = 'available'; + $handler->display->display_options['fields']['available']['table'] = 'muamba'; + $handler->display->display_options['fields']['available']['field'] = 'available'; + $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; + $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; + $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; + $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; + $handler->display->display_options['fields']['available']['alter']['external'] = 0; + $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; + $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; + $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; + $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; + $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; + $handler->display->display_options['fields']['available']['alter']['trim'] = 0; + $handler->display->display_options['fields']['available']['alter']['html'] = 0; + $handler->display->display_options['fields']['available']['element_label_colon'] = 0; + $handler->display->display_options['fields']['available']['element_default_classes'] = 1; + $handler->display->display_options['fields']['available']['hide_empty'] = 0; + $handler->display->display_options['fields']['available']['empty_zero'] = 0; + $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; /* Campo: Muamba: Ações */ $handler->display->display_options['fields']['actions']['id'] = 'actions'; $handler->display->display_options['fields']['actions']['table'] = 'muamba'; @@ -1849,13 +1811,17 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'AND', + 2 => 'AND', + ); $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -1864,24 +1830,20 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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; + $handler->display->display_options['filters']['uid_current']['group'] = 1; /* Display: Todas (bloco) */ $handler = $view->new_display('block', 'Todas (bloco)', 'block_2'); $handler->display->display_options['defaults']['title'] = FALSE; $handler->display->display_options['title'] = 'Todas as muambas'; $handler->display->display_options['display_description'] = 'Todas as muambas (bloco)'; - $handler->display->display_options['defaults']['query'] = FALSE; - $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['distinct'] = TRUE; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; $handler->display->display_options['defaults']['pager'] = FALSE; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['pager']['options']['items_per_page'] = '5'; @@ -1890,6 +1852,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['defaults']['style_plugin'] = FALSE; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'field_foto' => 'field_foto', 'title' => 'field_foto', @@ -1972,6 +1935,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -2115,8 +2079,8 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', + 1 => 'AND', + 2 => 'OR', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Conteúdo: Publicado */ @@ -2124,7 +2088,7 @@ function muamba_interface_views_default_views() { $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']['group'] = 1; $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; /* Filter criterion: Conteúdo: Tipo */ $handler->display->display_options['filters']['type']['id'] = 'type'; @@ -2133,53 +2097,132 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['type']['value'] = array( 'muamba' => 'muamba', ); - $handler->display->display_options['filters']['type']['group'] = 0; + $handler->display->display_options['filters']['type']['group'] = 1; /* 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; + $handler->display->display_options['filters']['uid_current']['group'] = 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'; - $handler->display->display_options['filters']['active']['group'] = 1; + $handler->display->display_options['filters']['active']['group'] = 2; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; $handler->display->display_options['filters']['status_1']['field'] = 'status'; $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; - $handler->display->display_options['filters']['status_1']['group'] = 1; + $handler->display->display_options['filters']['status_1']['group'] = 2; + $translatables['muambas'] = array( + t('Master'), + t('Minhas muambas'), + t('mais'), + t('Aplicar'), + t('Restaurar'), + t('Ordenar por'), + t('Crescente'), + t('Desc'), + t('Itens por página'), + t('- Todos -'), + t('Deslocamento'), + t('Não há resultados'), + t('Nenhum resultado encontrado'), + t('autor'), + t('Muamba node'), + t('Item'), + t('Minhas'), + t('Minhas (bloco)'), + t('Minhas muambas (bloco)'), + t('Ações'), + t('Link "apagar"'), + t('Disponível?'), + t('Emprestei'), + t('[total] vez(es)'), + t('Disponíveis'), + t('Muambas disponíveis'), + t('flag'), + t('Muamba requester'), + t('Nid'), + t('Dono(a)'), + t('Favoritos'), + t('Disponibilidade'), + t('Disponíveis (bloco)'), + t('Muambas disponíveis (bloco)'), + t('requisitar'), + t('Emprestei (bloco)'), + t('Muambas que emprestei (bloco)'), + t('Emprestado para'), + t('Empresado para'), + t('Última atualização'), + t('Peguei (bloco)'), + t('Peguei emprestado'), + t('Peguei emprestado (bloco)'), + t('Muamba item owner'), + t('Dono'), + t('Favoritas (bloco)'), + t('Muambas favoritas (bloco)'), + t('Todas (bloco)'), + t('Todas as muambas'), + t('Todas as muambas (bloco)'), + ); + $export['muambas'] = $view; - /* Display: Info (bloco) */ - $handler = $view->new_display('block', 'Info (bloco)', 'info'); - $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Informações'; - $handler->display->display_options['display_description'] = 'Informação sobre uma muamba (bloco)'; - $handler->display->display_options['defaults']['query'] = FALSE; + $view = new view; + $view->name = 'transacoes'; + $view->description = ''; + $view->tag = 'default'; + $view->base_table = 'muamba'; + $view->human_name = 'Transações'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'Transações'; + $handler->display->display_options['use_ajax'] = TRUE; + $handler->display->display_options['use_more_text'] = 'mais'; + $handler->display->display_options['access']['type'] = 'role'; + $handler->display->display_options['access']['role'] = array( + 2 => '2', + ); + $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['distinct'] = TRUE; $handler->display->display_options['query']['options']['query_comment'] = FALSE; - $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; + $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; $handler->display->display_options['pager']['type'] = 'full'; - $handler->display->display_options['pager']['options']['items_per_page'] = '5'; + $handler->display->display_options['pager']['options']['items_per_page'] = '10'; $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'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( + 'mid' => 'mid', 'field_foto' => 'field_foto', - 'title' => 'field_foto', + 'title' => 'title', + 'picture_1' => 'picture_1', + 'name_1' => 'picture_1', 'picture' => 'picture', 'name' => 'picture', - 'ops' => 'ops', + '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' => '
', @@ -2190,6 +2233,18 @@ function muamba_interface_views_default_views() { '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', @@ -2202,1939 +2257,9 @@ function muamba_interface_views_default_views() { 'align' => '', 'separator' => '', ), - 'ops' => array( - 'align' => '', - 'separator' => '', - ), - ); - $handler->display->display_options['style_options']['override'] = 1; - $handler->display->display_options['style_options']['sticky'] = 0; - $handler->display->display_options['style_options']['empty_table'] = 0; - $handler->display->display_options['defaults']['style_options'] = FALSE; - $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['defaults']['row_options'] = FALSE; - $handler->display->display_options['defaults']['relationships'] = FALSE; - /* Relação: Conteúdo: Autor */ - $handler->display->display_options['relationships']['uid']['id'] = 'uid'; - $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'] = 'Item'; - $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 0; - $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_foto']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['click_sort_column'] = 'fid'; - $handler->display->display_options['fields']['field_foto']['settings'] = array( - 'image_style' => 'thumbnail', - 'image_link' => 'content', - ); - $handler->display->display_options['fields']['field_foto']['group_rows'] = 1; - $handler->display->display_options['fields']['field_foto']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_foto']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_foto']['field_api_classes'] = 0; - /* Campo: Conteúdo: Título */ - $handler->display->display_options['fields']['title']['id'] = 'title'; - $handler->display->display_options['fields']['title']['table'] = 'node'; - $handler->display->display_options['fields']['title']['field'] = 'title'; - $handler->display->display_options['fields']['title']['label'] = 'Item'; - $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title']['alter']['external'] = 0; - $handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; - $handler->display->display_options['fields']['title']['element_label_colon'] = 0; - $handler->display->display_options['fields']['title']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title']['hide_empty'] = 0; - $handler->display->display_options['fields']['title']['empty_zero'] = 0; - $handler->display->display_options['fields']['title']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title']['link_to_node'] = 1; - /* Campo: Usuário: Foto */ - $handler->display->display_options['fields']['picture']['id'] = 'picture'; - $handler->display->display_options['fields']['picture']['table'] = 'users'; - $handler->display->display_options['fields']['picture']['field'] = 'picture'; - $handler->display->display_options['fields']['picture']['relationship'] = 'uid'; - $handler->display->display_options['fields']['picture']['label'] = 'Dono(a)'; - $handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['picture']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['picture']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['picture']['alter']['external'] = 0; - $handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['picture']['alter']['trim'] = 0; - $handler->display->display_options['fields']['picture']['alter']['html'] = 0; - $handler->display->display_options['fields']['picture']['element_label_colon'] = 0; - $handler->display->display_options['fields']['picture']['element_default_classes'] = 1; - $handler->display->display_options['fields']['picture']['hide_empty'] = 0; - $handler->display->display_options['fields']['picture']['empty_zero'] = 0; - $handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0; - /* Campo: Usuário: Nome */ - $handler->display->display_options['fields']['name']['id'] = 'name'; - $handler->display->display_options['fields']['name']['table'] = 'users'; - $handler->display->display_options['fields']['name']['field'] = 'name'; - $handler->display->display_options['fields']['name']['relationship'] = 'uid'; - $handler->display->display_options['fields']['name']['label'] = 'Dono(a)'; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; - $handler->display->display_options['fields']['name']['element_label_colon'] = 0; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['name']['link_to_user'] = 1; - $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; - /* Campo: Muamba: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 0; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; - /* Campo: Muamba: Ações */ - $handler->display->display_options['fields']['actions']['id'] = 'actions'; - $handler->display->display_options['fields']['actions']['table'] = 'muamba'; - $handler->display->display_options['fields']['actions']['field'] = 'actions'; - $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['actions']['alter']['external'] = 0; - $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; - $handler->display->display_options['fields']['actions']['alter']['html'] = 0; - $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; - $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; - $handler->display->display_options['fields']['actions']['hide_empty'] = 0; - $handler->display->display_options['fields']['actions']['empty_zero'] = 0; - $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; - $handler->display->display_options['defaults']['arguments'] = FALSE; - /* Filtro contextual: Conteúdo: Nid */ - $handler->display->display_options['arguments']['nid']['id'] = 'nid'; - $handler->display->display_options['arguments']['nid']['table'] = 'node'; - $handler->display->display_options['arguments']['nid']['field'] = 'nid'; - $handler->display->display_options['arguments']['nid']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['nid']['default_argument_skip_url'] = 0; - $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0'; - $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary'; - $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['nid']['break_phrase'] = 0; - $handler->display->display_options['arguments']['nid']['not'] = 0; - $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'AND', - 1 => 'OR', - ); - $handler->display->display_options['defaults']['filters'] = FALSE; - /* Filter criterion: Conteúdo: Publicado */ - $handler->display->display_options['filters']['status']['id'] = 'status'; - $handler->display->display_options['filters']['status']['table'] = 'node'; - $handler->display->display_options['filters']['status']['field'] = 'status'; - $handler->display->display_options['filters']['status']['value'] = '1'; - $handler->display->display_options['filters']['status']['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: Muamba: Ativo */ - $handler->display->display_options['filters']['active']['id'] = 'active'; - $handler->display->display_options['filters']['active']['table'] = 'muamba'; - $handler->display->display_options['filters']['active']['field'] = 'active'; - $handler->display->display_options['filters']['active']['value'] = '1'; - $handler->display->display_options['filters']['active']['group'] = 1; - /* Filter criterion: Muamba: Status */ - $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; - $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; - $handler->display->display_options['filters']['status_1']['field'] = 'status'; - $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; - $handler->display->display_options['filters']['status_1']['group'] = 1; - $translatables['muambas'] = array( - t('Master'), - t('Minhas muambas'), - t('mais'), - t('Aplicar'), - t('Restaurar'), - t('Ordenar por'), - t('Crescente'), - t('Desc'), - t('Itens por página'), - t('- Todos -'), - t('Deslocamento'), - t('Não há resultados'), - t('Nenhum resultado encontrado'), - t('autor'), - t('Muamba node'), - t('Item'), - t('Tudo'), - t('Minhas'), - t('Minhas (bloco)'), - t('Minhas muambas (bloco)'), - t('Ações'), - t('Link "apagar"'), - t('Disponível?'), - t('Emprestei'), - t('[total] vez(es)'), - t('Disponíveis'), - t('Muambas disponíveis'), - t('flag'), - t('Muamba requester'), - t('Nid'), - t('Dono(a)'), - t('Favoritos'), - t('Disponibilidade'), - t('Disponíveis (bloco)'), - t('Muambas disponíveis (bloco)'), - t('requisitar'), - t('Emprestei (bloco)'), - t('Muambas que emprestei (bloco)'), - t('Emprestado para'), - t('Empresado para'), - t('Status'), - t('Última atualização'), - t('Peguei (bloco)'), - t('Peguei emprestado'), - t('Peguei emprestado (bloco)'), - t('Muamba item owner'), - t('Dono'), - t('Favoritas (bloco)'), - t('Muambas favoritas (bloco)'), - t('Todas (bloco)'), - t('Todas as muambas'), - t('Todas as muambas (bloco)'), - t('Info (bloco)'), - t('Informações'), - t('Informação sobre uma muamba (bloco)'), - ); - $export['muambas'] = $view; - - $view = new view; - $view->name = 'og_list'; - $view->description = 'Show active groups that are nodes'; - $view->tag = 'og'; - $view->base_table = 'node'; - $view->human_name = 'OG list'; - $view->core = 0; - $view->api_version = '3.0'; - $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ - - /* 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'] = 'role'; - $handler->display->display_options['access']['role'] = array( - 2 => '2', - ); - $handler->display->display_options['cache']['type'] = 'none'; - $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; - $handler->display->display_options['exposed_form']['type'] = 'basic'; - $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; - $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; - $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; - $handler->display->display_options['pager']['type'] = 'full'; - $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['style_plugin'] = 'table'; - $handler->display->display_options['style_options']['columns'] = array( - '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' => '
', - ), - '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'; - $handler->display->display_options['relationships']['og_rel']['field'] = 'og_rel'; - $handler->display->display_options['relationships']['og_rel']['required'] = 0; - /* 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']['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' => '', - ); - $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: OG 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']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['created']['alter']['make_link'] = 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']['hide_empty'] = 0; - $handler->display->display_options['fields']['created']['empty_zero'] = 0; - $handler->display->display_options['fields']['created']['date_format'] = 'time ago'; - /* Filter criterion: OG group: State */ - $handler->display->display_options['filters']['state']['id'] = 'state'; - $handler->display->display_options['filters']['state']['table'] = 'og'; - $handler->display->display_options['filters']['state']['field'] = 'state'; - $handler->display->display_options['filters']['state']['relationship'] = 'og_rel'; - $handler->display->display_options['filters']['state']['value'] = array( - 1 => '1', - ); - $handler->display->display_options['filters']['state']['expose']['label'] = 'Group: Group\'s state'; - $handler->display->display_options['filters']['state']['expose']['operator'] = 'state_op'; - - /* 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: OG 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'); - $handler->display->display_options['pager']['type'] = 'some'; - $handler->display->display_options['style_plugin'] = 'rss'; - $handler->display->display_options['row_plugin'] = 'node_rss'; - $handler->display->display_options['path'] = 'group-list/feed'; - $handler->display->display_options['displays'] = array( - 'page_1' => 'page_1', - 'default' => 0, - ); - - /* Display: Pública */ - $handler = $view->new_display('page', 'Pública', 'page_2'); - $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Todos os grupos'; - $handler->display->display_options['display_description'] = 'Lista pública'; - $handler->display->display_options['defaults']['access'] = FALSE; - $handler->display->display_options['access']['type'] = 'role'; - $handler->display->display_options['access']['role'] = array( - 1 => '1', - ); - $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: OG 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; - $handler->display->display_options['path'] = 'og'; - $translatables['og_list'] = array( - t('Defaults'), - t('Grupos'), - t('mais'), - t('Aplicar'), - t('Restaurar'), - t('Ordenar por'), - t('Crescente'), - t('Desc'), - t('Itens por página'), - t('- Todos -'), - t('Deslocamento'), - t('grupo'), - t('Logo'), - t('Nome'), - t('Descrição'), - t('Since'), - t('Group: Group\'s state'), - t('Todos'), - t('Todos os grupos'), - t('Grupo'), - t('Visibilidade'), - t('Inscrição'), - t('Feed'), - t('Pública'), - t('Lista pública'), - ); - $export['og_list'] = $view; - - $view = new view; - $view->name = 'og_members'; - $view->description = 'Newest group members.'; - $view->tag = 'og'; - $view->base_table = 'users'; - $view->human_name = 'OG members'; - $view->core = 0; - $view->api_version = '3.0'; - $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ - - /* Display: Defaults */ - $handler = $view->new_display('default', 'Defaults', 'default'); - $handler->display->display_options['use_more_text'] = 'mais'; - $handler->display->display_options['access']['type'] = 'role'; - $handler->display->display_options['access']['role'] = array( - 2 => '2', - ); - $handler->display->display_options['cache']['type'] = 'none'; - $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; - $handler->display->display_options['exposed_form']['type'] = 'basic'; - $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; - $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; - $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; - $handler->display->display_options['pager']['type'] = 'some'; - $handler->display->display_options['pager']['options']['items_per_page'] = '5'; - $handler->display->display_options['pager']['options']['offset'] = '0'; - $handler->display->display_options['style_plugin'] = 'default'; - $handler->display->display_options['row_plugin'] = 'fields'; - /* Relação: Group membership: Usuário group membership */ - $handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel'; - $handler->display->display_options['relationships']['og_membership_rel']['table'] = 'users'; - $handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel'; - $handler->display->display_options['relationships']['og_membership_rel']['required'] = 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']['label'] = ''; - $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']['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']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['link_to_user'] = 1; - $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; - /* Critério de ordenação: OG membership: Created */ - $handler->display->display_options['sorts']['created']['id'] = 'created'; - $handler->display->display_options['sorts']['created']['table'] = 'og_membership'; - $handler->display->display_options['sorts']['created']['field'] = 'created'; - $handler->display->display_options['sorts']['created']['relationship'] = 'og_membership_rel'; - $handler->display->display_options['sorts']['created']['order'] = 'DESC'; - /* Filtro contextual: OG membership: Grupo gid */ - $handler->display->display_options['arguments']['group']['id'] = 'group'; - $handler->display->display_options['arguments']['group']['table'] = 'og_membership'; - $handler->display->display_options['arguments']['group']['field'] = 'group'; - $handler->display->display_options['arguments']['group']['relationship'] = 'og_membership_rel'; - $handler->display->display_options['arguments']['group']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['group']['title_enable'] = 1; - $handler->display->display_options['arguments']['group']['title'] = '%1 group members'; - $handler->display->display_options['arguments']['group']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['group']['default_argument_skip_url'] = 0; - $handler->display->display_options['arguments']['group']['summary']['number_of_records'] = '0'; - $handler->display->display_options['arguments']['group']['summary']['format'] = 'default_summary'; - $handler->display->display_options['arguments']['group']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['group']['break_phrase'] = 0; - $handler->display->display_options['arguments']['group']['not'] = 0; - /* Filter criterion: Usuário: Ativo */ - $handler->display->display_options['filters']['status']['id'] = 'status'; - $handler->display->display_options['filters']['status']['table'] = 'users'; - $handler->display->display_options['filters']['status']['field'] = 'status'; - $handler->display->display_options['filters']['status']['value'] = '1'; - /* Filter criterion: OG membership: State */ - $handler->display->display_options['filters']['state']['id'] = 'state'; - $handler->display->display_options['filters']['state']['table'] = 'og_membership'; - $handler->display->display_options['filters']['state']['field'] = 'state'; - $handler->display->display_options['filters']['state']['relationship'] = 'og_membership_rel'; - $handler->display->display_options['filters']['state']['value'] = array( - 1 => '1', - ); - - /* Display: Block */ - $handler = $view->new_display('block', 'Block', 'block_1'); - - /* Display: Content pane */ - $handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1'); - $handler->display->display_options['defaults']['fields'] = FALSE; - /* 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']['label'] = ''; - $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'] = FALSE; - $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: 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']['label'] = ''; - $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'] = FALSE; - $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; - $handler->display->display_options['pane_title'] = 'Membros do grupo'; - $handler->display->display_options['allow']['use_pager'] = 0; - $handler->display->display_options['allow']['items_per_page'] = 0; - $handler->display->display_options['allow']['offset'] = 0; - $handler->display->display_options['allow']['link_to_view'] = 0; - $handler->display->display_options['allow']['more_link'] = 0; - $handler->display->display_options['allow']['path_override'] = 0; - $handler->display->display_options['allow']['title_override'] = 'title_override'; - $handler->display->display_options['allow']['exposed_form'] = 0; - $handler->display->display_options['allow']['fields_override'] = 0; - $handler->display->display_options['argument_input'] = array( - 'group' => array( - 'type' => 'context', - 'context' => 'entity:group.gid', - 'context_optional' => 0, - 'panel' => '0', - 'fixed' => '', - 'label' => 'Organic groups membership: Group gid', - ), - ); - $translatables['og_members'] = array( - t('Defaults'), - t('mais'), - t('Aplicar'), - t('Restaurar'), - t('Ordenar por'), - t('Crescente'), - t('Desc'), - t('group membership'), - t('Tudo'), - t('%1 group members'), - t('Block'), - t('Content pane'), - t('Membros do grupo'), - t('View panes'), - ); - $export['og_members'] = $view; - - $view = new view; - $view->name = 'og_user_groups'; - $view->description = 'Show groups of a user.'; - $view->tag = 'og'; - $view->base_table = 'node'; - $view->human_name = 'OG User groups'; - $view->core = 7; - $view->api_version = '3.0'; - $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ - - /* Display: Master */ - $handler = $view->new_display('default', 'Master', 'default'); - $handler->display->display_options['use_ajax'] = TRUE; - $handler->display->display_options['use_more_text'] = 'mais'; - $handler->display->display_options['access']['type'] = 'role'; - $handler->display->display_options['access']['role'] = array( - 2 => '2', - ); - $handler->display->display_options['cache']['type'] = 'none'; - $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; - $handler->display->display_options['exposed_form']['type'] = 'basic'; - $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; - $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; - $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; - $handler->display->display_options['pager']['type'] = 'full'; - $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['style_plugin'] = 'table'; - $handler->display->display_options['style_options']['columns'] = array( - 'title' => 'title', - 'state' => 'state', - ); - $handler->display->display_options['style_options']['default'] = '-1'; - $handler->display->display_options['style_options']['info'] = array( - 'title' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'state' => 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; - /* Comportamento quando sem resultados: Global: Área de texto */ - $handler->display->display_options['empty']['area']['id'] = 'area'; - $handler->display->display_options['empty']['area']['table'] = 'views'; - $handler->display->display_options['empty']['area']['field'] = 'area'; - $handler->display->display_options['empty']['area']['empty'] = FALSE; - $handler->display->display_options['empty']['area']['content'] = 'User is not a member of any group.'; - /* Relação: Grupo: Node group */ - $handler->display->display_options['relationships']['og_rel']['id'] = 'og_rel'; - $handler->display->display_options['relationships']['og_rel']['table'] = 'node'; - $handler->display->display_options['relationships']['og_rel']['field'] = 'og_rel'; - $handler->display->display_options['relationships']['og_rel']['required'] = 0; - /* Relação: OG group: OG membership */ - $handler->display->display_options['relationships']['og_membership']['id'] = 'og_membership'; - $handler->display->display_options['relationships']['og_membership']['table'] = 'og'; - $handler->display->display_options['relationships']['og_membership']['field'] = 'og_membership'; - $handler->display->display_options['relationships']['og_membership']['relationship'] = 'og_rel'; - $handler->display->display_options['relationships']['og_membership']['required'] = 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 do grupo'; - $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']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; - $handler->display->display_options['fields']['title']['element_label_colon'] = 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']['link_to_node'] = 1; - /* Campo: OG membership: Created */ - $handler->display->display_options['fields']['created']['id'] = 'created'; - $handler->display->display_options['fields']['created']['table'] = 'og_membership'; - $handler->display->display_options['fields']['created']['field'] = 'created'; - $handler->display->display_options['fields']['created']['relationship'] = 'og_membership'; - $handler->display->display_options['fields']['created']['label'] = 'Member since'; - $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']['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']['date_format'] = 'time ago'; - /* 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'; - /* Critério de ordenação: Conteúdo: Título */ - $handler->display->display_options['sorts']['title']['id'] = 'title'; - $handler->display->display_options['sorts']['title']['table'] = 'node'; - $handler->display->display_options['sorts']['title']['field'] = 'title'; - /* Filtro contextual: We pass to the "Entity ID" the User ID. */ - $handler->display->display_options['arguments']['etid']['id'] = 'etid'; - $handler->display->display_options['arguments']['etid']['table'] = 'og_membership'; - $handler->display->display_options['arguments']['etid']['field'] = 'etid'; - $handler->display->display_options['arguments']['etid']['relationship'] = 'og_membership'; - $handler->display->display_options['arguments']['etid']['ui_name'] = 'We pass to the "Entity ID" the User ID.'; - $handler->display->display_options['arguments']['etid']['default_action'] = 'default'; - $handler->display->display_options['arguments']['etid']['title_enable'] = 1; - $handler->display->display_options['arguments']['etid']['title'] = '%1 groups'; - $handler->display->display_options['arguments']['etid']['default_argument_type'] = 'current_user'; - $handler->display->display_options['arguments']['etid']['default_argument_skip_url'] = 0; - $handler->display->display_options['arguments']['etid']['summary']['number_of_records'] = '0'; - $handler->display->display_options['arguments']['etid']['summary']['format'] = 'default_summary'; - $handler->display->display_options['arguments']['etid']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['etid']['specify_validation'] = 1; - $handler->display->display_options['arguments']['etid']['validate']['type'] = 'user'; - $handler->display->display_options['arguments']['etid']['validate_options']['restrict_roles'] = 0; - $handler->display->display_options['arguments']['etid']['break_phrase'] = 0; - $handler->display->display_options['arguments']['etid']['not'] = 0; - /* 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: OG membership: State */ - $handler->display->display_options['filters']['state']['id'] = 'state'; - $handler->display->display_options['filters']['state']['table'] = 'og_membership'; - $handler->display->display_options['filters']['state']['field'] = 'state'; - $handler->display->display_options['filters']['state']['relationship'] = 'og_membership'; - $handler->display->display_options['filters']['state']['value'] = array( - 1 => '1', - ); - - /* Display: Page */ - $handler = $view->new_display('page', 'Page', 'page_1'); - $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Meus grupos'; - $handler->display->display_options['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'table'; - $handler->display->display_options['style_options']['columns'] = array( - 'field_logo' => 'field_logo', - 'title' => 'field_logo', - 'created' => 'created', - ); - $handler->display->display_options['style_options']['default'] = '-1'; - $handler->display->display_options['style_options']['info'] = array( - 'field_logo' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '
', - ), - 'title' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'created' => 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: 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 do grupo'; - $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']['nl2br'] = 0; - $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0; - $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0; - $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title']['alter']['html'] = 0; - $handler->display->display_options['fields']['title']['element_label_colon'] = 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']['link_to_node'] = 1; - /* Campo: OG membership: Created */ - $handler->display->display_options['fields']['created']['id'] = 'created'; - $handler->display->display_options['fields']['created']['table'] = 'og_membership'; - $handler->display->display_options['fields']['created']['field'] = 'created'; - $handler->display->display_options['fields']['created']['relationship'] = 'og_membership'; - $handler->display->display_options['fields']['created']['label'] = 'Member since'; - $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']['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']['date_format'] = 'time ago'; - $handler->display->display_options['defaults']['arguments'] = FALSE; - /* Filtro contextual: We pass to the "Entity ID" the User ID. */ - $handler->display->display_options['arguments']['etid']['id'] = 'etid'; - $handler->display->display_options['arguments']['etid']['table'] = 'og_membership'; - $handler->display->display_options['arguments']['etid']['field'] = 'etid'; - $handler->display->display_options['arguments']['etid']['relationship'] = 'og_membership'; - $handler->display->display_options['arguments']['etid']['ui_name'] = 'We pass to the "Entity ID" the User ID.'; - $handler->display->display_options['arguments']['etid']['default_action'] = 'default'; - $handler->display->display_options['arguments']['etid']['title'] = '%1 groups'; - $handler->display->display_options['arguments']['etid']['default_argument_type'] = 'current_user'; - $handler->display->display_options['arguments']['etid']['default_argument_skip_url'] = 0; - $handler->display->display_options['arguments']['etid']['summary']['number_of_records'] = '0'; - $handler->display->display_options['arguments']['etid']['summary']['format'] = 'default_summary'; - $handler->display->display_options['arguments']['etid']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['etid']['specify_validation'] = 1; - $handler->display->display_options['arguments']['etid']['validate']['type'] = 'user'; - $handler->display->display_options['arguments']['etid']['validate_options']['restrict_roles'] = 0; - $handler->display->display_options['arguments']['etid']['break_phrase'] = 0; - $handler->display->display_options['arguments']['etid']['not'] = 0; - $handler->display->display_options['path'] = 'user-groups'; - $translatables['og_user_groups'] = array( - t('Master'), - t('mais'), - t('Aplicar'), - t('Restaurar'), - t('Ordenar por'), - t('Crescente'), - t('Desc'), - t('Itens por página'), - t('- Todos -'), - t('Deslocamento'), - t('User is not a member of any group.'), - t('grupo'), - t('OG membership'), - t('Nome do grupo'), - t('Member since'), - t('Foto'), - t('Tudo'), - t('%1 groups'), - t('Page'), - t('Meus grupos'), - t('Grupo'), - ); - $export['og_user_groups'] = $view; - - $view = new view; - $view->name = 'transacoes'; - $view->description = ''; - $view->tag = 'default'; - $view->base_table = 'muamba'; - $view->human_name = 'Transações'; - $view->core = 7; - $view->api_version = '3.0'; - $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ - - /* Display: Master */ - $handler = $view->new_display('default', 'Master', 'default'); - $handler->display->display_options['title'] = 'Transações'; - $handler->display->display_options['use_ajax'] = TRUE; - $handler->display->display_options['use_more_text'] = 'mais'; - $handler->display->display_options['access']['type'] = 'role'; - $handler->display->display_options['access']['role'] = array( - 2 => '2', - ); - $handler->display->display_options['cache']['type'] = 'none'; - $handler->display->display_options['query']['type'] = 'views_query'; - $handler->display->display_options['query']['options']['query_comment'] = FALSE; - $handler->display->display_options['exposed_form']['type'] = 'basic'; - $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Restaurar'; - $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Ordenar por'; - $handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Crescente'; - $handler->display->display_options['pager']['type'] = 'full'; - $handler->display->display_options['pager']['options']['items_per_page'] = '10'; - $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['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( - 'mid' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'field_foto' => array( - 'align' => '', - 'separator' => '
', - ), - '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; - $handler->display->display_options['style_options']['empty_table'] = 0; - /* Comportamento quando sem resultados: Global: Área de texto */ - $handler->display->display_options['empty']['area']['id'] = 'area'; - $handler->display->display_options['empty']['area']['table'] = 'views'; - $handler->display->display_options['empty']['area']['field'] = 'area'; - $handler->display->display_options['empty']['area']['label'] = 'Não há resultados'; - $handler->display->display_options['empty']['area']['empty'] = FALSE; - $handler->display->display_options['empty']['area']['content'] = 'Nenhum resultado encontrado.'; - $handler->display->display_options['empty']['area']['format'] = 'filtered_html'; - $handler->display->display_options['empty']['area']['tokenize'] = 0; - /* Relação: Muamba: Muamba asset owner */ - $handler->display->display_options['relationships']['owner']['id'] = 'owner'; - $handler->display->display_options['relationships']['owner']['table'] = 'muamba'; - $handler->display->display_options['relationships']['owner']['field'] = 'owner'; - $handler->display->display_options['relationships']['owner']['required'] = 1; - /* Relação: Muamba: Muamba node asset */ - $handler->display->display_options['relationships']['nid']['id'] = 'nid'; - $handler->display->display_options['relationships']['nid']['table'] = 'muamba'; - $handler->display->display_options['relationships']['nid']['field'] = 'nid'; - $handler->display->display_options['relationships']['nid']['required'] = 1; - /* Relação: Muamba: Muamba requester user */ - $handler->display->display_options['relationships']['uid']['id'] = 'uid'; - $handler->display->display_options['relationships']['uid']['table'] = 'muamba'; - $handler->display->display_options['relationships']['uid']['field'] = 'uid'; - $handler->display->display_options['relationships']['uid']['required'] = 1; - /* 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'; - $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'; - $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'; - /* Critério de ordenação: Muamba: Alterado */ - $handler->display->display_options['sorts']['changed']['id'] = 'changed'; - $handler->display->display_options['sorts']['changed']['table'] = 'muamba'; - $handler->display->display_options['sorts']['changed']['field'] = 'changed'; - $handler->display->display_options['sorts']['changed']['order'] = 'DESC'; - /* Critério de ordenação: Muamba: Criado */ - $handler->display->display_options['sorts']['created']['id'] = 'created'; - $handler->display->display_options['sorts']['created']['table'] = 'muamba'; - $handler->display->display_options['sorts']['created']['field'] = 'created'; - $handler->display->display_options['sorts']['created']['order'] = 'DESC'; - /* 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']['exposed'] = TRUE; - $handler->display->display_options['filters']['active']['expose']['operator_id'] = ''; - $handler->display->display_options['filters']['active']['expose']['label'] = 'Ativas'; - $handler->display->display_options['filters']['active']['expose']['use_operator'] = FALSE; - $handler->display->display_options['filters']['active']['expose']['operator'] = 'active_op'; - $handler->display->display_options['filters']['active']['expose']['identifier'] = 'active'; - $handler->display->display_options['filters']['active']['expose']['required'] = 1; - $handler->display->display_options['filters']['active']['expose']['multiple'] = FALSE; - - /* 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: Criado */ - $handler->display->display_options['fields']['created']['id'] = 'created'; - $handler->display->display_options['fields']['created']['table'] = 'muamba'; - $handler->display->display_options['fields']['created']['field'] = 'created'; - $handler->display->display_options['fields']['created']['label'] = 'Quando'; - $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'] = 0; - $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'] = 'short'; - /* 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 (bloco) */ - $handler = $view->new_display('block', 'Pedi (bloco)', 'block_1'); - $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Muambas 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' => '
', - ), - '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', + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), @@ -4148,10 +2273,30 @@ function muamba_interface_views_default_views() { $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; + /* Comportamento quando sem resultados: Global: Área de texto */ + $handler->display->display_options['empty']['area']['id'] = 'area'; + $handler->display->display_options['empty']['area']['table'] = 'views'; + $handler->display->display_options['empty']['area']['field'] = 'area'; + $handler->display->display_options['empty']['area']['label'] = 'Não há resultados'; + $handler->display->display_options['empty']['area']['empty'] = FALSE; + $handler->display->display_options['empty']['area']['content'] = 'Nenhum resultado encontrado.'; + $handler->display->display_options['empty']['area']['format'] = 'filtered_html'; + $handler->display->display_options['empty']['area']['tokenize'] = 0; + /* Relação: Muamba: Muamba asset owner */ + $handler->display->display_options['relationships']['owner']['id'] = 'owner'; + $handler->display->display_options['relationships']['owner']['table'] = 'muamba'; + $handler->display->display_options['relationships']['owner']['field'] = 'owner'; + $handler->display->display_options['relationships']['owner']['required'] = 1; + /* Relação: Muamba: Muamba node asset */ + $handler->display->display_options['relationships']['nid']['id'] = 'nid'; + $handler->display->display_options['relationships']['nid']['table'] = 'muamba'; + $handler->display->display_options['relationships']['nid']['field'] = 'nid'; + $handler->display->display_options['relationships']['nid']['required'] = 1; + /* Relação: Muamba: Muamba requester user */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'muamba'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['relationships']['uid']['required'] = 1; /* Campo: Muamba: Id */ $handler->display->display_options['fields']['mid']['id'] = 'mid'; $handler->display->display_options['fields']['mid']['table'] = 'muamba'; @@ -4203,40 +2348,89 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; + $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']['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; @@ -4259,7 +2453,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(a)'; + $handler->display->display_options['fields']['name']['label'] = 'Dono'; $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; @@ -4283,7 +2477,6 @@ function muamba_interface_views_default_views() { $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; @@ -4301,33 +2494,10 @@ 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: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 1; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['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; @@ -4346,115 +2516,32 @@ function muamba_interface_views_default_views() { $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'; - /* Campo: Muamba: Ações */ - $handler->display->display_options['fields']['actions']['id'] = 'actions'; - $handler->display->display_options['fields']['actions']['table'] = 'muamba'; - $handler->display->display_options['fields']['actions']['field'] = 'actions'; - $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['actions']['alter']['external'] = 0; - $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; - $handler->display->display_options['fields']['actions']['alter']['html'] = 0; - $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; - $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; - $handler->display->display_options['fields']['actions']['hide_empty'] = 0; - $handler->display->display_options['fields']['actions']['empty_zero'] = 0; - $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; - $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'] = 'uid'; - $handler->display->display_options['filters']['uid_current']['value'] = '1'; + /* Critério de ordenação: Muamba: Alterado */ + $handler->display->display_options['sorts']['changed']['id'] = 'changed'; + $handler->display->display_options['sorts']['changed']['table'] = 'muamba'; + $handler->display->display_options['sorts']['changed']['field'] = 'changed'; + $handler->display->display_options['sorts']['changed']['order'] = 'DESC'; + /* Critério de ordenação: Muamba: Criado */ + $handler->display->display_options['sorts']['created']['id'] = 'created'; + $handler->display->display_options['sorts']['created']['table'] = 'muamba'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; /* 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'; - /* Filter criterion: Muamba: Status */ - $handler->display->display_options['filters']['status']['id'] = 'status'; - $handler->display->display_options['filters']['status']['table'] = 'muamba'; - $handler->display->display_options['filters']['status']['field'] = 'status'; - $handler->display->display_options['filters']['status']['operator'] = 'not in'; - $handler->display->display_options['filters']['status']['value'] = array( - 1 => '1', - 4 => '4', - ); + $handler->display->display_options['filters']['active']['group'] = '0'; + $handler->display->display_options['filters']['active']['exposed'] = TRUE; + $handler->display->display_options['filters']['active']['expose']['operator_id'] = ''; + $handler->display->display_options['filters']['active']['expose']['label'] = 'Ativas'; + $handler->display->display_options['filters']['active']['expose']['use_operator'] = FALSE; + $handler->display->display_options['filters']['active']['expose']['operator'] = 'active_op'; + $handler->display->display_options['filters']['active']['expose']['identifier'] = 'active'; + $handler->display->display_options['filters']['active']['expose']['required'] = 1; + $handler->display->display_options['filters']['active']['expose']['multiple'] = FALSE; - /* Display: Me pediram (bloco) */ - $handler = $view->new_display('block', 'Me pediram (bloco)', 'block_2'); - $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Muambas 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' => '
', - ), - '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; + /* 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'; @@ -4492,72 +2579,73 @@ function muamba_interface_views_default_views() { $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; + $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_column'] = 'fid'; + $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']['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; + $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'; @@ -4583,11 +2671,81 @@ 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(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: Criado */ + $handler->display->display_options['fields']['created']['id'] = 'created'; + $handler->display->display_options['fields']['created']['table'] = 'muamba'; + $handler->display->display_options['fields']['created']['field'] = 'created'; + $handler->display->display_options['fields']['created']['label'] = 'Quando'; + $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'] = 0; + $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'] = 'short'; /* 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; @@ -4605,28 +2763,6 @@ 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: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 1; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; /* Campo: Muamba: Alterado */ $handler->display->display_options['fields']['changed']['id'] = 'changed'; $handler->display->display_options['fields']['changed']['table'] = 'muamba'; @@ -4649,64 +2785,22 @@ function muamba_interface_views_default_views() { $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'; - /* Campo: Muamba: Ações */ - $handler->display->display_options['fields']['actions']['id'] = 'actions'; - $handler->display->display_options['fields']['actions']['table'] = 'muamba'; - $handler->display->display_options['fields']['actions']['field'] = 'actions'; - $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['actions']['alter']['external'] = 0; - $handler->display->display_options['fields']['actions']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['actions']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['actions']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['actions']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; - $handler->display->display_options['fields']['actions']['alter']['html'] = 0; - $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; - $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; - $handler->display->display_options['fields']['actions']['hide_empty'] = 0; - $handler->display->display_options['fields']['actions']['empty_zero'] = 0; - $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; - $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'; - /* 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'; - /* Filter criterion: Muamba: Status */ - $handler->display->display_options['filters']['status']['id'] = 'status'; - $handler->display->display_options['filters']['status']['table'] = 'muamba'; - $handler->display->display_options['filters']['status']['field'] = 'status'; - $handler->display->display_options['filters']['status']['value'] = array( - 0 => '0', - ); + $handler->display->display_options['path'] = 'transacoes'; - /* Display: Histórico (bloco) */ - $handler = $view->new_display('block', 'Histórico (bloco)', 'block_3'); + /* Display: Pedi (bloco) */ + $handler = $view->new_display('block', 'Pedi (bloco)', 'block_1'); $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['title'] = 'Muambas 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']['grouping'] = ''; $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', - 'created' => 'created', + 'name' => 'picture', 'status' => 'status', 'changed' => 'changed', ); @@ -4733,40 +2827,22 @@ function muamba_interface_views_default_views() { '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' => '', - ), - 'created' => array( - 'sortable' => 1, - 'default_sort_order' => 'desc', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), 'status' => array( - 'sortable' => 1, - 'default_sort_order' => 'desc', + 'sortable' => 0, + 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), 'changed' => array( - 'sortable' => 1, - 'default_sort_order' => 'desc', + 'sortable' => 0, + 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', ), @@ -4829,6 +2905,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -4861,8 +2938,8 @@ function muamba_interface_views_default_views() { $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']['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; @@ -4881,54 +2958,6 @@ function muamba_interface_views_default_views() { $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'; @@ -4953,29 +2982,6 @@ 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: Criado */ - $handler->display->display_options['fields']['created']['id'] = 'created'; - $handler->display->display_options['fields']['created']['table'] = 'muamba'; - $handler->display->display_options['fields']['created']['field'] = 'created'; - $handler->display->display_options['fields']['created']['label'] = 'Quando'; - $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'] = 0; - $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'] = 'short'; /* Campo: Muamba: Status */ $handler->display->display_options['fields']['status']['id'] = 'status'; $handler->display->display_options['fields']['status']['table'] = 'muamba'; @@ -5014,40 +3020,16 @@ function muamba_interface_views_default_views() { $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'] = 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'] = 'short'; - /* Campo: Muamba: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Atualmente disponível?'; - $handler->display->display_options['fields']['available']['exclude'] = TRUE; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 0; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['hide_alter_empty'] = 0; + $handler->display->display_options['fields']['changed']['date_format'] = 'raw time ago'; /* Campo: Muamba: Ações */ $handler->display->display_options['fields']['actions']['id'] = 'actions'; $handler->display->display_options['fields']['actions']['table'] = 'muamba'; $handler->display->display_options['fields']['actions']['field'] = 'actions'; - $handler->display->display_options['fields']['actions']['exclude'] = TRUE; $handler->display->display_options['fields']['actions']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['actions']['alter']['make_link'] = 0; $handler->display->display_options['fields']['actions']['alter']['absolute'] = 0; @@ -5060,51 +3042,53 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['actions']['alter']['trim'] = 0; $handler->display->display_options['fields']['actions']['alter']['html'] = 0; - $handler->display->display_options['fields']['actions']['element_label_colon'] = 0; + $handler->display->display_options['fields']['actions']['element_label_colon'] = 1; $handler->display->display_options['fields']['actions']['element_default_classes'] = 1; $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; $handler->display->display_options['filter_groups']['groups'] = array( - 0 => 'OR', 1 => 'AND', + 2 => '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']['relationship'] = 'uid'; $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; + $handler->display->display_options['filters']['uid_current']['group'] = 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'] = '0'; + $handler->display->display_options['filters']['active']['value'] = '1'; $handler->display->display_options['filters']['active']['group'] = 1; + /* Filter criterion: Muamba: Status */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'muamba'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['operator'] = 'not in'; + $handler->display->display_options['filters']['status']['value'] = array( + 1 => '1', + ); + $handler->display->display_options['filters']['status']['group'] = 1; - /* Display: Devolvi (bloco) */ - $handler = $view->new_display('block', 'Devolvi (bloco)', 'block_4'); + /* Display: Me pediram (bloco) */ + $handler = $view->new_display('block', 'Me pediram (bloco)', 'block_2'); $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Muambas que devolvi'; - $handler->display->display_options['display_description'] = 'Muambas que devolvi'; + $handler->display->display_options['title'] = 'Muambas 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']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'mid' => 'mid', 'field_foto' => 'field_foto', 'title_1' => 'field_foto', 'picture' => 'picture', - 'name' => 'picture', + 'name_1' => 'picture', 'status' => 'status', 'changed' => 'changed', ); @@ -5132,7 +3116,7 @@ function muamba_interface_views_default_views() { 'align' => '', 'separator' => '', ), - 'name' => array( + 'name_1' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', @@ -5209,6 +3193,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -5241,8 +3226,8 @@ function muamba_interface_views_default_views() { $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']['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; @@ -5261,35 +3246,34 @@ function muamba_interface_views_default_views() { $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; + $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: 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; @@ -5307,33 +3291,10 @@ 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: Availability */ - $handler->display->display_options['fields']['available']['id'] = 'available'; - $handler->display->display_options['fields']['available']['table'] = 'muamba'; - $handler->display->display_options['fields']['available']['field'] = 'available'; - $handler->display->display_options['fields']['available']['label'] = 'Disponível?'; - $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['available']['alter']['external'] = 0; - $handler->display->display_options['fields']['available']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['available']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['available']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['available']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['available']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['available']['alter']['trim'] = 0; - $handler->display->display_options['fields']['available']['alter']['html'] = 0; - $handler->display->display_options['fields']['available']['element_label_colon'] = 1; - $handler->display->display_options['fields']['available']['element_default_classes'] = 1; - $handler->display->display_options['fields']['available']['hide_empty'] = 0; - $handler->display->display_options['fields']['available']['empty_zero'] = 0; - $handler->display->display_options['fields']['available']['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; @@ -5373,36 +3334,41 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'AND', + 2 => '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'] = 'uid'; + $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'] = 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'; + $handler->display->display_options['filters']['active']['group'] = 1; /* Filter criterion: Muamba: Status */ $handler->display->display_options['filters']['status']['id'] = 'status'; $handler->display->display_options['filters']['status']['table'] = 'muamba'; $handler->display->display_options['filters']['status']['field'] = 'status'; $handler->display->display_options['filters']['status']['value'] = array( - 4 => '4', - 5 => '5', - 6 => '6', + 0 => '0', ); + $handler->display->display_options['filters']['status']['group'] = 1; - /* Display: Info (bloco) */ - $handler = $view->new_display('block', 'Info (bloco)', 'info'); + /* Display: Histórico (bloco) */ + $handler = $view->new_display('block', 'Histórico (bloco)', 'block_3'); $handler->display->display_options['defaults']['title'] = FALSE; - $handler->display->display_options['title'] = 'Informações'; - $handler->display->display_options['display_description'] = 'Informações da transação'; + $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']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'mid' => 'mid', 'field_foto' => 'field_foto', @@ -5414,8 +3380,6 @@ function muamba_interface_views_default_views() { 'created' => 'created', 'status' => 'status', 'changed' => 'changed', - 'available' => 'available', - 'actions' => 'actions', ); $handler->display->display_options['style_options']['default'] = '-1'; $handler->display->display_options['style_options']['info'] = array( @@ -5424,78 +3388,58 @@ function muamba_interface_views_default_views() { 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'field_foto' => array( 'align' => '', 'separator' => '
', - 'empty_column' => 0, ), 'title_1' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'picture' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'name_1' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'picture_1' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'name' => array( 'sortable' => 0, 'default_sort_order' => 'asc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'created' => array( 'sortable' => 1, 'default_sort_order' => 'desc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'status' => array( 'sortable' => 1, 'default_sort_order' => 'desc', 'align' => '', 'separator' => '', - 'empty_column' => 0, ), 'changed' => array( 'sortable' => 1, 'default_sort_order' => 'desc', 'align' => '', 'separator' => '', - 'empty_column' => 0, - ), - 'available' => array( - 'align' => '', - 'separator' => '', - 'empty_column' => 0, - ), - 'actions' => array( - 'align' => '', - 'separator' => '', - 'empty_column' => 0, ), ); $handler->display->display_options['style_options']['override'] = 1; @@ -5556,6 +3500,7 @@ function muamba_interface_views_default_views() { 'image_style' => 'thumbnail', 'image_link' => 'content', ); + $handler->display->display_options['fields']['field_foto']['group_column'] = 'fid'; $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; @@ -5607,7 +3552,6 @@ function muamba_interface_views_default_views() { $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; - $handler->display->display_options['fields']['picture']['link_photo_to_profile'] = 1; /* Campo: Usuário: Nome */ $handler->display->display_options['fields']['name_1']['id'] = 'name_1'; $handler->display->display_options['fields']['name_1']['table'] = 'users'; @@ -5656,7 +3600,6 @@ function muamba_interface_views_default_views() { $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; - $handler->display->display_options['fields']['picture_1']['link_photo_to_profile'] = 1; /* Campo: Usuário: Nome */ $handler->display->display_options['fields']['name']['id'] = 'name'; $handler->display->display_options['fields']['name']['table'] = 'users'; @@ -5754,7 +3697,6 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['available']['table'] = 'muamba'; $handler->display->display_options['fields']['available']['field'] = 'available'; $handler->display->display_options['fields']['available']['label'] = 'Atualmente disponível?'; - $handler->display->display_options['fields']['available']['exclude'] = TRUE; $handler->display->display_options['fields']['available']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['available']['alter']['make_link'] = 0; $handler->display->display_options['fields']['available']['alter']['absolute'] = 0; @@ -5793,21 +3735,31 @@ function muamba_interface_views_default_views() { $handler->display->display_options['fields']['actions']['hide_empty'] = 0; $handler->display->display_options['fields']['actions']['empty_zero'] = 0; $handler->display->display_options['fields']['actions']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['actions']['messages'] = 1; - $handler->display->display_options['defaults']['arguments'] = FALSE; - /* Filtro contextual: Muamba: Id */ - $handler->display->display_options['arguments']['mid']['id'] = 'mid'; - $handler->display->display_options['arguments']['mid']['table'] = 'muamba'; - $handler->display->display_options['arguments']['mid']['field'] = 'mid'; - $handler->display->display_options['arguments']['mid']['default_action'] = 'not found'; - $handler->display->display_options['arguments']['mid']['default_argument_type'] = 'fixed'; - $handler->display->display_options['arguments']['mid']['default_argument_skip_url'] = 0; - $handler->display->display_options['arguments']['mid']['summary']['number_of_records'] = '0'; - $handler->display->display_options['arguments']['mid']['summary']['format'] = 'default_summary'; - $handler->display->display_options['arguments']['mid']['summary_options']['items_per_page'] = '25'; - $handler->display->display_options['arguments']['mid']['break_phrase'] = 0; - $handler->display->display_options['arguments']['mid']['not'] = 0; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'OR', + 2 => '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'] = 1; + /* 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'] = 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'] = '0'; + $handler->display->display_options['filters']['active']['group'] = 2; $translatables['transacoes'] = array( t('Master'), t('Transações'), @@ -5839,7 +3791,6 @@ function muamba_interface_views_default_views() { t('Quando'), t('Pedi (bloco)'), t('Muambas que pedi'), - t('Disponível?'), t('Última atualização'), t('Ações'), t('Me pediram (bloco)'), @@ -5848,12 +3799,6 @@ function muamba_interface_views_default_views() { t('Transações passadas'), t('Histórico de transações'), t('Atualmente disponível?'), - t('Devolvi (bloco)'), - t('Muambas que devolvi'), - t('Info (bloco)'), - t('Informações'), - t('Informações da transação'), - t('Tudo'), ); $export['transacoes'] = $view; -- cgit v1.2.3