diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-22 18:20:33 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-22 18:20:33 -0200 |
commit | a7d2dc7637a923f4b5ba5530b7328e8a55f22985 (patch) | |
tree | 3d4e95c8146ece52cd248293f992e63445377eb5 /features | |
parent | 1baa58bdadaad694ec52e92829da52ae901ab466 (diff) | |
download | muamba-a7d2dc7637a923f4b5ba5530b7328e8a55f22985.tar.gz muamba-a7d2dc7637a923f4b5ba5530b7328e8a55f22985.tar.bz2 |
Messages icon in actions handler
Diffstat (limited to 'features')
-rw-r--r-- | features/muamba_interface/muamba_interface.views_default.inc | 273 |
1 files changed, 273 insertions, 0 deletions
diff --git a/features/muamba_interface/muamba_interface.views_default.inc b/features/muamba_interface/muamba_interface.views_default.inc index ef6a1d7..c9cc281 100644 --- a/features/muamba_interface/muamba_interface.views_default.inc +++ b/features/muamba_interface/muamba_interface.views_default.inc @@ -123,6 +123,12 @@ 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'; @@ -2123,6 +2129,269 @@ function muamba_interface_views_default_views() { $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['defaults']['arguments'] = FALSE; + /* Filtro contextual: Conteúdo: Nid */ + $handler->display->display_options['arguments']['nid']['id'] = 'nid'; + $handler->display->display_options['arguments']['nid']['table'] = 'node'; + $handler->display->display_options['arguments']['nid']['field'] = 'nid'; + $handler->display->display_options['arguments']['nid']['default_action'] = 'not found'; + $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed'; + $handler->display->display_options['arguments']['nid']['default_argument_skip_url'] = 0; + $handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0'; + $handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary'; + $handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25'; + $handler->display->display_options['arguments']['nid']['break_phrase'] = 0; + $handler->display->display_options['arguments']['nid']['not'] = 0; + $handler->display->display_options['filter_groups']['groups'] = array( + 0 => 'AND', + 1 => 'OR', + ); + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Filter criterion: Conteúdo: Publicado */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = '1'; + $handler->display->display_options['filters']['status']['group'] = 0; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Filter criterion: Conteúdo: Tipo */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'muamba' => 'muamba', + ); + $handler->display->display_options['filters']['type']['group'] = 0; + /* Filter criterion: Muamba: Ativo */ + $handler->display->display_options['filters']['active']['id'] = 'active'; + $handler->display->display_options['filters']['active']['table'] = 'muamba'; + $handler->display->display_options['filters']['active']['field'] = 'active'; + $handler->display->display_options['filters']['active']['value'] = '1'; + $handler->display->display_options['filters']['active']['group'] = 1; + /* Filter criterion: Muamba: Status */ + $handler->display->display_options['filters']['status_1']['id'] = 'status_1'; + $handler->display->display_options['filters']['status_1']['table'] = 'muamba'; + $handler->display->display_options['filters']['status_1']['field'] = 'status'; + $handler->display->display_options['filters']['status_1']['operator'] = 'empty'; + $handler->display->display_options['filters']['status_1']['group'] = 1; $translatables['muambas'] = array( t('Master'), t('Minhas muambas'), @@ -2140,6 +2409,7 @@ function muamba_interface_views_default_views() { t('autor'), t('Muamba node'), t('Item'), + t('Tudo'), t('Minhas'), t('Minhas (bloco)'), t('Minhas muambas (bloco)'), @@ -2175,6 +2445,9 @@ 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; |