aboutsummaryrefslogtreecommitdiff
path: root/features/muamba_interface/muamba_interface.panels_default.inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-10-31 18:38:34 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-10-31 18:38:34 -0200
commit67bc7654e7d24c807f6569db11d3a749ed8ab834 (patch)
treee8b712966681ec510654caa24da30207e82126d5 /features/muamba_interface/muamba_interface.panels_default.inc
parenteee4a85c92590b62a26d398ff2cca38367ed1742 (diff)
downloadmuamba-67bc7654e7d24c807f6569db11d3a749ed8ab834.tar.gz
muamba-67bc7654e7d24c807f6569db11d3a749ed8ab834.tar.bz2
Adding mini-panels
Diffstat (limited to 'features/muamba_interface/muamba_interface.panels_default.inc')
-rw-r--r--features/muamba_interface/muamba_interface.panels_default.inc495
1 files changed, 495 insertions, 0 deletions
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;
+}