diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-17 16:52:56 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-17 16:52:56 -0200 |
commit | 98772d184d617610f7fa01080c80aad5b8e5db07 (patch) | |
tree | 0872fdae29ae9170d05090255eeb876577b11035 /features/muamba_interface/muamba_interface.views_default.inc | |
parent | 45f1a0b7502be657980b7c02648187721ab2e081 (diff) | |
download | muamba-98772d184d617610f7fa01080c80aad5b8e5db07.tar.gz muamba-98772d184d617610f7fa01080c80aad5b8e5db07.tar.bz2 |
Updating features
Diffstat (limited to 'features/muamba_interface/muamba_interface.views_default.inc')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 2315 |
1 files changed, 130 insertions, 2185 deletions
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,290 +2097,26 @@ 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; - /* 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; - - /* 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; - $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'; - $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']['columns'] = array( - 'field_foto' => 'field_foto', - 'title' => 'field_foto', - 'picture' => 'picture', - 'name' => 'picture', - 'ops' => 'ops', - ); - $handler->display->display_options['style_options']['default'] = '-1'; - $handler->display->display_options['style_options']['info'] = array( - 'field_foto' => array( - 'align' => '', - 'separator' => '<br />', - ), - 'title' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'picture' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'name' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'ops' => array( - 'align' => '', - 'separator' => '', - ), - ); - $handler->display->display_options['style_options']['override'] = 1; - $handler->display->display_options['style_options']['sticky'] = 0; - $handler->display->display_options['style_options']['empty_table'] = 0; - $handler->display->display_options['defaults']['style_options'] = FALSE; - $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['defaults']['row_options'] = FALSE; - $handler->display->display_options['defaults']['relationships'] = FALSE; - /* Relação: Conteúdo: Autor */ - $handler->display->display_options['relationships']['uid']['id'] = 'uid'; - $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; + $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'), @@ -2434,7 +2134,6 @@ function muamba_interface_views_default_views() { t('autor'), t('Muamba node'), t('Item'), - t('Tudo'), t('Minhas'), t('Minhas (bloco)'), t('Minhas muambas (bloco)'), @@ -2458,7 +2157,6 @@ function muamba_interface_views_default_views() { t('Muambas que emprestei (bloco)'), t('Emprestado para'), t('Empresado para'), - t('Status'), t('Última atualização'), t('Peguei (bloco)'), t('Peguei emprestado'), @@ -2470,1011 +2168,10 @@ function muamba_interface_views_default_views() { 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' => '<br />', - ), - 'title' => array( - 'sortable' => 1, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'field_descricao' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'created' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'group_access' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'group_group' => array( - 'sortable' => 1, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - ); - $handler->display->display_options['style_options']['override'] = 1; - $handler->display->display_options['style_options']['sticky'] = 0; - $handler->display->display_options['style_options']['empty_table'] = 0; - /* Relação: Grupo: Node group */ - $handler->display->display_options['relationships']['og_rel']['id'] = 'og_rel'; - $handler->display->display_options['relationships']['og_rel']['table'] = 'node'; - $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' => '<br />', - ), - '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'; @@ -3506,6 +2203,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Todos -'; $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Deslocamento'; $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; $handler->display->display_options['style_options']['columns'] = array( 'mid' => 'mid', 'field_foto' => 'field_foto', @@ -3650,6 +2348,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; @@ -3831,6 +2530,7 @@ function muamba_interface_views_default_views() { $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']['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'; @@ -3894,6 +2594,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; @@ -4093,6 +2794,7 @@ function muamba_interface_views_default_views() { $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', @@ -4203,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; @@ -4283,7 +2986,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,28 +3003,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'; @@ -4367,7 +3047,10 @@ 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'; @@ -4375,11 +3058,13 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; $handler->display->display_options['filters']['uid_current']['relationship'] = 'uid'; $handler->display->display_options['filters']['uid_current']['value'] = '1'; + $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'; @@ -4387,8 +3072,8 @@ function muamba_interface_views_default_views() { $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']['status']['group'] = 1; /* Display: Me pediram (bloco) */ $handler = $view->new_display('block', 'Me pediram (bloco)', 'block_2'); @@ -4397,6 +3082,7 @@ function muamba_interface_views_default_views() { $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', @@ -4507,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; @@ -4587,7 +3274,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; @@ -4605,28 +3291,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'; @@ -4670,7 +3334,10 @@ 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'; @@ -4678,11 +3345,13 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['uid_current']['field'] = 'uid_current'; $handler->display->display_options['filters']['uid_current']['relationship'] = 'owner'; $handler->display->display_options['filters']['uid_current']['value'] = '1'; + $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'; @@ -4690,6 +3359,7 @@ function muamba_interface_views_default_views() { $handler->display->display_options['filters']['status']['value'] = array( 0 => '0', ); + $handler->display->display_options['filters']['status']['group'] = 1; /* Display: Histórico (bloco) */ $handler = $view->new_display('block', 'Histórico (bloco)', 'block_3'); @@ -4698,6 +3368,7 @@ function muamba_interface_views_default_views() { $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', @@ -4829,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; @@ -5025,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; @@ -5047,7 +3718,6 @@ function muamba_interface_views_default_views() { $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; @@ -5065,10 +3735,9 @@ 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( - 0 => 'OR', - 1 => 'AND', + 1 => 'OR', + 2 => 'AND', ); $handler->display->display_options['defaults']['filters'] = FALSE; /* Filter criterion: Usuário: Atual */ @@ -5077,737 +3746,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'] = 'owner'; $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: 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_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'] = 1; - - /* Display: Devolvi (bloco) */ - $handler = $view->new_display('block', 'Devolvi (bloco)', 'block_4'); - $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['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'table'; - $handler->display->display_options['style_options']['columns'] = array( - 'mid' => 'mid', - 'field_foto' => 'field_foto', - 'title_1' => 'field_foto', - 'picture' => 'picture', - 'name' => 'picture', - 'status' => 'status', - 'changed' => 'changed', - ); - $handler->display->display_options['style_options']['default'] = '-1'; - $handler->display->display_options['style_options']['info'] = array( - 'mid' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'field_foto' => array( - 'align' => '', - 'separator' => '<br />', - ), - 'title_1' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'picture' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'name' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'status' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - 'changed' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - ), - ); - $handler->display->display_options['style_options']['override'] = 1; - $handler->display->display_options['style_options']['sticky'] = 0; - $handler->display->display_options['style_options']['empty_table'] = 0; - $handler->display->display_options['defaults']['style_options'] = FALSE; - $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['defaults']['row_options'] = FALSE; - $handler->display->display_options['defaults']['fields'] = FALSE; - /* Campo: Muamba: Id */ - $handler->display->display_options['fields']['mid']['id'] = 'mid'; - $handler->display->display_options['fields']['mid']['table'] = 'muamba'; - $handler->display->display_options['fields']['mid']['field'] = 'mid'; - $handler->display->display_options['fields']['mid']['exclude'] = TRUE; - $handler->display->display_options['fields']['mid']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['mid']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['mid']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['mid']['alter']['external'] = 0; - $handler->display->display_options['fields']['mid']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['mid']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['mid']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['mid']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['mid']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['mid']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['mid']['alter']['trim'] = 0; - $handler->display->display_options['fields']['mid']['alter']['html'] = 0; - $handler->display->display_options['fields']['mid']['element_label_colon'] = 1; - $handler->display->display_options['fields']['mid']['element_default_classes'] = 1; - $handler->display->display_options['fields']['mid']['hide_empty'] = 0; - $handler->display->display_options['fields']['mid']['empty_zero'] = 0; - $handler->display->display_options['fields']['mid']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['mid']['format_plural'] = 0; - /* Campo: Conteúdo: Foto */ - $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; - $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['relationship'] = 'nid'; - $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; - $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 1; - $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_foto']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['click_sort_column'] = 'fid'; - $handler->display->display_options['fields']['field_foto']['settings'] = array( - 'image_style' => 'thumbnail', - 'image_link' => 'content', - ); - $handler->display->display_options['fields']['field_foto']['group_rows'] = 1; - $handler->display->display_options['fields']['field_foto']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_foto']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_foto']['field_api_classes'] = 0; - /* Campo: Conteúdo: Título */ - $handler->display->display_options['fields']['title_1']['id'] = 'title_1'; - $handler->display->display_options['fields']['title_1']['table'] = 'node'; - $handler->display->display_options['fields']['title_1']['field'] = 'title'; - $handler->display->display_options['fields']['title_1']['relationship'] = 'nid'; - $handler->display->display_options['fields']['title_1']['label'] = 'Item'; - $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['external'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; - $handler->display->display_options['fields']['title_1']['element_label_colon'] = 1; - $handler->display->display_options['fields']['title_1']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; - $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; - $handler->display->display_options['fields']['title_1']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title_1']['link_to_node'] = 1; - /* Campo: Usuário: Foto */ - $handler->display->display_options['fields']['picture']['id'] = 'picture'; - $handler->display->display_options['fields']['picture']['table'] = 'users'; - $handler->display->display_options['fields']['picture']['field'] = 'picture'; - $handler->display->display_options['fields']['picture']['relationship'] = 'owner'; - $handler->display->display_options['fields']['picture']['label'] = 'Dono(a)'; - $handler->display->display_options['fields']['picture']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['picture']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['picture']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['picture']['alter']['external'] = 0; - $handler->display->display_options['fields']['picture']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['picture']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['picture']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['picture']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['picture']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['picture']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['picture']['alter']['trim'] = 0; - $handler->display->display_options['fields']['picture']['alter']['html'] = 0; - $handler->display->display_options['fields']['picture']['element_label_colon'] = 1; - $handler->display->display_options['fields']['picture']['element_default_classes'] = 1; - $handler->display->display_options['fields']['picture']['hide_empty'] = 0; - $handler->display->display_options['fields']['picture']['empty_zero'] = 0; - $handler->display->display_options['fields']['picture']['hide_alter_empty'] = 0; - /* Campo: Usuário: Nome */ - $handler->display->display_options['fields']['name']['id'] = 'name'; - $handler->display->display_options['fields']['name']['table'] = 'users'; - $handler->display->display_options['fields']['name']['field'] = 'name'; - $handler->display->display_options['fields']['name']['relationship'] = 'owner'; - $handler->display->display_options['fields']['name']['label'] = 'Dono(a)'; - $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['name']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['name']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['name']['alter']['external'] = 0; - $handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['name']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['name']['alter']['trim'] = 0; - $handler->display->display_options['fields']['name']['alter']['html'] = 0; - $handler->display->display_options['fields']['name']['element_label_colon'] = 1; - $handler->display->display_options['fields']['name']['element_default_classes'] = 1; - $handler->display->display_options['fields']['name']['hide_empty'] = 0; - $handler->display->display_options['fields']['name']['empty_zero'] = 0; - $handler->display->display_options['fields']['name']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['name']['link_to_user'] = 1; - $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0; - /* Campo: Muamba: Status */ - $handler->display->display_options['fields']['status']['id'] = 'status'; - $handler->display->display_options['fields']['status']['table'] = 'muamba'; - $handler->display->display_options['fields']['status']['field'] = 'status'; - $handler->display->display_options['fields']['status']['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; - $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: 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; - $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'; - /* 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'; - /* 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( - 4 => '4', - 5 => '5', - 6 => '6', - ); - - /* 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ções da transação'; - $handler->display->display_options['defaults']['style_plugin'] = FALSE; - $handler->display->display_options['style_plugin'] = 'table'; - $handler->display->display_options['style_options']['columns'] = array( - 'mid' => 'mid', - 'field_foto' => 'field_foto', - 'title_1' => 'field_foto', - 'picture' => 'picture', - 'name_1' => 'picture', - 'picture_1' => 'picture_1', - 'name' => 'picture_1', - '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( - 'mid' => array( - 'sortable' => 0, - 'default_sort_order' => 'asc', - 'align' => '', - 'separator' => '', - 'empty_column' => 0, - ), - 'field_foto' => array( - 'align' => '', - 'separator' => '<br />', - '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; - $handler->display->display_options['style_options']['sticky'] = 0; - $handler->display->display_options['style_options']['empty_table'] = 0; - $handler->display->display_options['defaults']['style_options'] = FALSE; - $handler->display->display_options['defaults']['row_plugin'] = FALSE; - $handler->display->display_options['defaults']['row_options'] = FALSE; - $handler->display->display_options['defaults']['fields'] = FALSE; - /* Campo: Muamba: Id */ - $handler->display->display_options['fields']['mid']['id'] = 'mid'; - $handler->display->display_options['fields']['mid']['table'] = 'muamba'; - $handler->display->display_options['fields']['mid']['field'] = 'mid'; - $handler->display->display_options['fields']['mid']['exclude'] = TRUE; - $handler->display->display_options['fields']['mid']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['mid']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['mid']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['mid']['alter']['external'] = 0; - $handler->display->display_options['fields']['mid']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['mid']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['mid']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['mid']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['mid']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['mid']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['mid']['alter']['trim'] = 0; - $handler->display->display_options['fields']['mid']['alter']['html'] = 0; - $handler->display->display_options['fields']['mid']['element_label_colon'] = 1; - $handler->display->display_options['fields']['mid']['element_default_classes'] = 1; - $handler->display->display_options['fields']['mid']['hide_empty'] = 0; - $handler->display->display_options['fields']['mid']['empty_zero'] = 0; - $handler->display->display_options['fields']['mid']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['mid']['format_plural'] = 0; - /* Campo: Conteúdo: Foto */ - $handler->display->display_options['fields']['field_foto']['id'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['table'] = 'field_data_field_foto'; - $handler->display->display_options['fields']['field_foto']['field'] = 'field_foto'; - $handler->display->display_options['fields']['field_foto']['relationship'] = 'nid'; - $handler->display->display_options['fields']['field_foto']['label'] = 'Item'; - $handler->display->display_options['fields']['field_foto']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['external'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['field_foto']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['trim'] = 0; - $handler->display->display_options['fields']['field_foto']['alter']['html'] = 0; - $handler->display->display_options['fields']['field_foto']['element_label_colon'] = 1; - $handler->display->display_options['fields']['field_foto']['element_default_classes'] = 1; - $handler->display->display_options['fields']['field_foto']['hide_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['empty_zero'] = 0; - $handler->display->display_options['fields']['field_foto']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['field_foto']['click_sort_column'] = 'fid'; - $handler->display->display_options['fields']['field_foto']['settings'] = array( - 'image_style' => 'thumbnail', - 'image_link' => 'content', - ); - $handler->display->display_options['fields']['field_foto']['group_rows'] = 1; - $handler->display->display_options['fields']['field_foto']['delta_offset'] = '0'; - $handler->display->display_options['fields']['field_foto']['delta_reversed'] = 0; - $handler->display->display_options['fields']['field_foto']['field_api_classes'] = 0; - /* Campo: Conteúdo: Título */ - $handler->display->display_options['fields']['title_1']['id'] = 'title_1'; - $handler->display->display_options['fields']['title_1']['table'] = 'node'; - $handler->display->display_options['fields']['title_1']['field'] = 'title'; - $handler->display->display_options['fields']['title_1']['relationship'] = 'nid'; - $handler->display->display_options['fields']['title_1']['label'] = 'Item'; - $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['external'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; - $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; - $handler->display->display_options['fields']['title_1']['element_label_colon'] = 1; - $handler->display->display_options['fields']['title_1']['element_default_classes'] = 1; - $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; - $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; - $handler->display->display_options['fields']['title_1']['hide_alter_empty'] = 0; - $handler->display->display_options['fields']['title_1']['link_to_node'] = 1; - /* Campo: Usuário: Foto */ - $handler->display->display_options['fields']['picture']['id'] = 'picture'; - $handler->display->display_options['fields']['picture']['table'] = 'users'; - $handler->display->display_options['fields']['picture']['field'] = 'picture'; - $handler->display->display_options['fields']['picture']['relationship'] = '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']['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'; - $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; - $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'; - $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']['label'] = 'Última atualização'; - $handler->display->display_options['fields']['changed']['alter']['alter_text'] = 0; - $handler->display->display_options['fields']['changed']['alter']['make_link'] = 0; - $handler->display->display_options['fields']['changed']['alter']['absolute'] = 0; - $handler->display->display_options['fields']['changed']['alter']['external'] = 0; - $handler->display->display_options['fields']['changed']['alter']['replace_spaces'] = 0; - $handler->display->display_options['fields']['changed']['alter']['trim_whitespace'] = 0; - $handler->display->display_options['fields']['changed']['alter']['nl2br'] = 0; - $handler->display->display_options['fields']['changed']['alter']['word_boundary'] = 1; - $handler->display->display_options['fields']['changed']['alter']['ellipsis'] = 1; - $handler->display->display_options['fields']['changed']['alter']['strip_tags'] = 0; - $handler->display->display_options['fields']['changed']['alter']['trim'] = 0; - $handler->display->display_options['fields']['changed']['alter']['html'] = 0; - $handler->display->display_options['fields']['changed']['element_label_colon'] = 0; - $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; - /* 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'] = 0; - $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: 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['defaults']['filters'] = FALSE; + $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; |