diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-31 18:38:34 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-31 18:38:34 -0200 |
commit | 67bc7654e7d24c807f6569db11d3a749ed8ab834 (patch) | |
tree | e8b712966681ec510654caa24da30207e82126d5 /features/muamba_interface | |
parent | eee4a85c92590b62a26d398ff2cca38367ed1742 (diff) | |
download | muamba-67bc7654e7d24c807f6569db11d3a749ed8ab834.tar.gz muamba-67bc7654e7d24c807f6569db11d3a749ed8ab834.tar.bz2 |
Adding mini-panels
Diffstat (limited to 'features/muamba_interface')
4 files changed, 517 insertions, 375 deletions
diff --git a/features/muamba_interface/muamba_interface.features.inc b/features/muamba_interface/muamba_interface.features.inc index aaca3ca..155a41e 100644 --- a/features/muamba_interface/muamba_interface.features.inc +++ b/features/muamba_interface/muamba_interface.features.inc @@ -13,6 +13,10 @@ function muamba_interface_ctools_plugin_api() { return array("version" => "1"); } list($module, $api) = func_get_args(); + if ($module == "panels_mini" && $api == "panels_default") { + return array("version" => "1"); + } + list($module, $api) = func_get_args(); if ($module == "strongarm" && $api == "strongarm") { return array("version" => "1"); } diff --git a/features/muamba_interface/muamba_interface.info b/features/muamba_interface/muamba_interface.info index d20af59..25e1663 100644 --- a/features/muamba_interface/muamba_interface.info +++ b/features/muamba_interface/muamba_interface.info @@ -10,10 +10,12 @@ dependencies[] = "l10n_update" dependencies[] = "menu" dependencies[] = "og" dependencies[] = "page_manager" +dependencies[] = "panels_mini" dependencies[] = "strongarm" dependencies[] = "views" description = "Muamba Interface Feature" features[ctools][] = "page_manager:pages_default:1" +features[ctools][] = "panels_mini:panels_default:1" features[ctools][] = "strongarm:strongarm:1" features[ctools][] = "views:views_default:3.0" features[menu_custom][] = "main-menu" @@ -22,6 +24,10 @@ features[menu_custom][] = "navigation" features[menu_custom][] = "user-menu" features[page_manager_handlers][] = "node_view_panel_context" features[page_manager_pages][] = "principal" +features[panels_mini][] = "emprestimos" +features[panels_mini][] = "grupos" +features[panels_mini][] = "muambas" +features[panels_mini][] = "negociacoes" features[user_permission][] = "access site-wide contact form" features[user_permission][] = "access user contact forms" features[user_permission][] = "administer contact forms" diff --git a/features/muamba_interface/muamba_interface.pages_default.inc b/features/muamba_interface/muamba_interface.pages_default.inc index c20ac0e..b663709 100644 --- a/features/muamba_interface/muamba_interface.pages_default.inc +++ b/features/muamba_interface/muamba_interface.pages_default.inc @@ -246,8 +246,8 @@ function muamba_interface_default_page_manager_pages() { $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'og_user_groups'; + $pane->type = 'panels_mini'; + $pane->subtype = 'grupos'; $pane->shown = TRUE; $pane->access = array( 'plugins' => array( @@ -264,20 +264,8 @@ function muamba_interface_default_page_manager_pages() { ), ); $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '0', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'page_1', 'override_title' => 1, - 'override_title_text' => 'Meus grupos', + 'override_title_text' => 'Grupos', ); $pane->cache = array(); $pane->style = array( @@ -291,8 +279,8 @@ function muamba_interface_default_page_manager_pages() { $pane = new stdClass; $pane->pid = 'new-3'; $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'og_list'; + $pane->type = 'panels_mini'; + $pane->subtype = 'emprestimos'; $pane->shown = TRUE; $pane->access = array( 'plugins' => array( @@ -309,20 +297,8 @@ function muamba_interface_default_page_manager_pages() { ), ); $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '0', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'page_1', 'override_title' => 1, - 'override_title_text' => 'Todos os grupos', + 'override_title_text' => 'Empréstimos', ); $pane->cache = array(); $pane->style = array( @@ -336,8 +312,8 @@ function muamba_interface_default_page_manager_pages() { $pane = new stdClass; $pane->pid = 'new-4'; $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'transacoes'; + $pane->type = 'panels_mini'; + $pane->subtype = 'negociacoes'; $pane->shown = TRUE; $pane->access = array( 'plugins' => array( @@ -354,20 +330,8 @@ function muamba_interface_default_page_manager_pages() { ), ); $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '10', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_3', 'override_title' => 1, - 'override_title_text' => 'Histórico', + 'override_title_text' => 'Negociações', ); $pane->cache = array(); $pane->style = array( @@ -381,7 +345,7 @@ function muamba_interface_default_page_manager_pages() { $pane = new stdClass; $pane->pid = 'new-5'; $pane->panel = 'middle'; - $pane->type = 'views'; + $pane->type = 'panels_mini'; $pane->subtype = 'muambas'; $pane->shown = TRUE; $pane->access = array( @@ -399,20 +363,8 @@ function muamba_interface_default_page_manager_pages() { ), ); $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '5', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_2', 'override_title' => 1, - 'override_title_text' => 'Todas', + 'override_title_text' => 'Muambas', ); $pane->cache = array(); $pane->style = array( @@ -423,323 +375,8 @@ function muamba_interface_default_page_manager_pages() { $pane->position = 4; $display->content['new-5'] = $pane; $display->panels['middle'][4] = 'new-5'; - $pane = new stdClass; - $pane->pid = 'new-6'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'transacoes'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '10', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_2', - 'override_title' => 1, - 'override_title_text' => 'Pediram', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 5; - $display->content['new-6'] = $pane; - $display->panels['middle'][5] = 'new-6'; - $pane = new stdClass; - $pane->pid = 'new-7'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'muambas'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '5', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block', - 'override_title' => 1, - 'override_title_text' => 'Minhas', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 6; - $display->content['new-7'] = $pane; - $display->panels['middle'][6] = 'new-7'; - $pane = new stdClass; - $pane->pid = 'new-8'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'muambas'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '5', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_4', - 'override_title' => 1, - 'override_title_text' => 'Emprestei', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 7; - $display->content['new-8'] = $pane; - $display->panels['middle'][7] = 'new-8'; - $pane = new stdClass; - $pane->pid = 'new-9'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'muambas'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '5', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_3', - 'override_title' => 1, - 'override_title_text' => 'Favoritos', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 8; - $display->content['new-9'] = $pane; - $display->panels['middle'][8] = 'new-9'; - $pane = new stdClass; - $pane->pid = 'new-10'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'muambas'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '10', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'page_1', - 'override_title' => 1, - 'override_title_text' => 'Disponíveis', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 9; - $display->content['new-10'] = $pane; - $display->panels['middle'][9] = 'new-10'; - $pane = new stdClass; - $pane->pid = 'new-11'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'muambas'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '5', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_5', - 'override_title' => 1, - 'override_title_text' => 'Peguei', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 10; - $display->content['new-11'] = $pane; - $display->panels['middle'][10] = 'new-11'; - $pane = new stdClass; - $pane->pid = 'new-12'; - $pane->panel = 'middle'; - $pane->type = 'views'; - $pane->subtype = 'transacoes'; - $pane->shown = TRUE; - $pane->access = array( - 'plugins' => array( - 0 => array( - 'name' => 'role', - 'settings' => array( - 'rids' => array( - 0 => 2, - ), - ), - 'context' => 'logged-in-user', - 'not' => FALSE, - ), - ), - ); - $pane->configuration = array( - 'override_pager_settings' => 0, - 'use_pager' => 1, - 'nodes_per_page' => '10', - 'pager_id' => '0', - 'offset' => '0', - 'more_link' => 0, - 'feed_icons' => 0, - 'panel_args' => 0, - 'link_to_view' => 0, - 'args' => '', - 'url' => '', - 'display' => 'block_1', - 'override_title' => 1, - 'override_title_text' => 'Pedi', - ); - $pane->cache = array(); - $pane->style = array( - 'settings' => NULL, - ); - $pane->css = array(); - $pane->extras = array(); - $pane->position = 11; - $display->content['new-12'] = $pane; - $display->panels['middle'][11] = 'new-12'; $display->hide_title = PANELS_TITLE_FIXED; - $display->title_pane = 'new-12'; + $display->title_pane = '0'; $handler->conf['display'] = $display; $page->default_handlers[$handler->name] = $handler; $pages['principal'] = $page; diff --git a/features/muamba_interface/muamba_interface.panels_default.inc b/features/muamba_interface/muamba_interface.panels_default.inc new file mode 100644 index 0000000..d277853 --- /dev/null +++ b/features/muamba_interface/muamba_interface.panels_default.inc @@ -0,0 +1,495 @@ +<?php +/** + * @file + * muamba_interface.panels_default.inc + */ + +/** + * Implements hook_default_panels_mini(). + */ +function muamba_interface_default_panels_mini() { + $export = array(); + + $mini = new stdClass; + $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ + $mini->api_version = 1; + $mini->name = 'emprestimos'; + $mini->category = 'Muamba'; + $mini->admin_title = 'Empréstimos'; + $mini->admin_description = 'Empréstimos de muambas'; + $mini->requiredcontexts = array(); + $mini->contexts = array(); + $mini->relationships = array(); + $display = new panels_display; + $display->layout = 'twocol_stacked'; + $display->layout_settings = array(); + $display->panel_settings = array( + 'style_settings' => array( + 'default' => NULL, + 'top' => NULL, + 'left' => NULL, + 'right' => NULL, + 'bottom' => NULL, + ), + ); + $display->cache = array(); + $display->title = ''; + $display->content = array(); + $display->panels = array(); + $pane = new stdClass; + $pane->pid = 'new-1'; + $pane->panel = 'left'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '5', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_5', + 'override_title' => 1, + 'override_title_text' => 'Peguei emprestado', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['left'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'right'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '5', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_4', + 'override_title' => 1, + 'override_title_text' => 'Emprestei', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-2'] = $pane; + $display->panels['right'][0] = 'new-2'; + $display->hide_title = PANELS_TITLE_FIXED; + $display->title_pane = 'new-1'; + $mini->display = $display; + $export['emprestimos'] = $mini; + + $mini = new stdClass; + $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ + $mini->api_version = 1; + $mini->name = 'grupos'; + $mini->category = 'Muamba'; + $mini->admin_title = 'Grupos'; + $mini->admin_description = 'Grupos'; + $mini->requiredcontexts = array(); + $mini->contexts = array(); + $mini->relationships = array(); + $display = new panels_display; + $display->layout = 'twocol_stacked'; + $display->layout_settings = array(); + $display->panel_settings = array( + 'style_settings' => array( + 'default' => NULL, + 'top' => NULL, + 'left' => NULL, + 'right' => NULL, + 'bottom' => NULL, + ), + ); + $display->cache = array(); + $display->title = ''; + $display->content = array(); + $display->panels = array(); + $pane = new stdClass; + $pane->pid = 'new-1'; + $pane->panel = 'left'; + $pane->type = 'views'; + $pane->subtype = 'og_user_groups'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '0', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'page_1', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['left'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'right'; + $pane->type = 'views'; + $pane->subtype = 'og_list'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '0', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'page_1', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-2'] = $pane; + $display->panels['right'][0] = 'new-2'; + $display->hide_title = PANELS_TITLE_FIXED; + $display->title_pane = 'new-1'; + $mini->display = $display; + $export['grupos'] = $mini; + + $mini = new stdClass; + $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ + $mini->api_version = 1; + $mini->name = 'muambas'; + $mini->category = 'Muamba'; + $mini->admin_title = 'Muambas'; + $mini->admin_description = 'Muambas'; + $mini->requiredcontexts = array(); + $mini->contexts = array(); + $mini->relationships = array(); + $display = new panels_display; + $display->layout = 'twocol_bricks'; + $display->layout_settings = array(); + $display->panel_settings = array( + 'style_settings' => array( + 'default' => NULL, + 'top' => NULL, + 'left' => NULL, + 'right' => NULL, + 'bottom' => NULL, + 'left_above' => NULL, + 'right_above' => NULL, + 'middle' => NULL, + 'left_below' => NULL, + 'right_below' => NULL, + ), + ); + $display->cache = array(); + $display->title = ''; + $display->content = array(); + $display->panels = array(); + $pane = new stdClass; + $pane->pid = 'new-1'; + $pane->panel = 'left_above'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '5', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block', + 'override_title' => 1, + 'override_title_text' => 'Minhas muambas', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['left_above'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'left_below'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '10', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'page_1', + 'override_title' => 1, + 'override_title_text' => 'Muambas disponíveis', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-2'] = $pane; + $display->panels['left_below'][0] = 'new-2'; + $pane = new stdClass; + $pane->pid = 'new-3'; + $pane->panel = 'right_above'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '5', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_3', + 'override_title' => 1, + 'override_title_text' => 'Muambas favoritas', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-3'] = $pane; + $display->panels['right_above'][0] = 'new-3'; + $pane = new stdClass; + $pane->pid = 'new-4'; + $pane->panel = 'right_below'; + $pane->type = 'views'; + $pane->subtype = 'muambas'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '5', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_2', + 'override_title' => 1, + 'override_title_text' => 'Todas as muambas', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-4'] = $pane; + $display->panels['right_below'][0] = 'new-4'; + $display->hide_title = PANELS_TITLE_FIXED; + $display->title_pane = 'new-4'; + $mini->display = $display; + $export['muambas'] = $mini; + + $mini = new stdClass; + $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ + $mini->api_version = 1; + $mini->name = 'negociacoes'; + $mini->category = 'Muamba'; + $mini->admin_title = 'Negociações'; + $mini->admin_description = 'Negociações de muambas'; + $mini->requiredcontexts = array(); + $mini->contexts = array(); + $mini->relationships = array(); + $display = new panels_display; + $display->layout = 'twocol_stacked'; + $display->layout_settings = array(); + $display->panel_settings = array( + 'style_settings' => array( + 'default' => NULL, + 'left' => NULL, + 'right' => NULL, + 'top' => NULL, + 'bottom' => NULL, + ), + ); + $display->cache = array(); + $display->title = ''; + $display->content = array(); + $display->panels = array(); + $pane = new stdClass; + $pane->pid = 'new-1'; + $pane->panel = 'bottom'; + $pane->type = 'views'; + $pane->subtype = 'transacoes'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '10', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_3', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-1'] = $pane; + $display->panels['bottom'][0] = 'new-1'; + $pane = new stdClass; + $pane->pid = 'new-2'; + $pane->panel = 'left'; + $pane->type = 'views'; + $pane->subtype = 'transacoes'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '10', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_1', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-2'] = $pane; + $display->panels['left'][0] = 'new-2'; + $pane = new stdClass; + $pane->pid = 'new-3'; + $pane->panel = 'right'; + $pane->type = 'views'; + $pane->subtype = 'transacoes'; + $pane->shown = TRUE; + $pane->access = array(); + $pane->configuration = array( + 'override_pager_settings' => 0, + 'use_pager' => 1, + 'nodes_per_page' => '10', + 'pager_id' => '0', + 'offset' => '0', + 'more_link' => 0, + 'feed_icons' => 0, + 'panel_args' => 0, + 'link_to_view' => 0, + 'args' => '', + 'url' => '', + 'display' => 'block_2', + 'override_title' => 0, + 'override_title_text' => '', + ); + $pane->cache = array(); + $pane->style = array( + 'settings' => NULL, + ); + $pane->css = array(); + $pane->extras = array(); + $pane->position = 0; + $display->content['new-3'] = $pane; + $display->panels['right'][0] = 'new-3'; + $display->hide_title = PANELS_TITLE_FIXED; + $display->title_pane = 'new-2'; + $mini->display = $display; + $export['negociacoes'] = $mini; + + return $export; +} |