mirror of https://github.com/BOINC/boinc.git
712 lines
20 KiB
PHP
712 lines
20 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Implementation of hook_default_page_manager_pages().
|
|
*/
|
|
function boinc_standard_default_page_manager_pages() {
|
|
$page = new stdClass;
|
|
$page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
|
|
$page->api_version = 1;
|
|
$page->name = 'about_us';
|
|
$page->task = 'page';
|
|
$page->admin_title = 'About Us';
|
|
$page->admin_description = '';
|
|
$page->path = 'about.fail';
|
|
$page->access = array(
|
|
'type' => 'none',
|
|
'settings' => NULL,
|
|
);
|
|
$page->menu = array();
|
|
$page->arguments = array();
|
|
$page->conf = array();
|
|
$page->default_handlers = array();
|
|
$pages['about_us'] = $page;
|
|
|
|
$page = new stdClass;
|
|
$page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
|
|
$page->api_version = 1;
|
|
$page->name = 'account_dashboard';
|
|
$page->task = 'page';
|
|
$page->admin_title = 'Dashboard';
|
|
$page->admin_description = '';
|
|
$page->path = 'dashboard';
|
|
$page->access = array(
|
|
'plugins' => array(
|
|
1 => array(
|
|
'name' => 'role',
|
|
'settings' => array(
|
|
'rids' => array(
|
|
0 => 2,
|
|
),
|
|
),
|
|
'context' => 'logged-in-user',
|
|
'not' => FALSE,
|
|
),
|
|
),
|
|
'logic' => 'and',
|
|
'type' => 'none',
|
|
'settings' => NULL,
|
|
);
|
|
$page->menu = array(
|
|
'type' => 'none',
|
|
'title' => 'Dashboard',
|
|
'name' => 'navigation',
|
|
'weight' => '0',
|
|
'parent' => array(
|
|
'type' => 'normal',
|
|
'title' => 'Account',
|
|
'name' => 'navigation',
|
|
'weight' => '0',
|
|
),
|
|
);
|
|
$page->arguments = array();
|
|
$page->conf = array();
|
|
$page->default_handlers = array();
|
|
$handler = new stdClass;
|
|
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
|
|
$handler->api_version = 1;
|
|
$handler->name = 'page_account_dashboard_panel_context';
|
|
$handler->task = 'page';
|
|
$handler->subtask = 'account_dashboard';
|
|
$handler->handler = 'panel_context';
|
|
$handler->weight = 0;
|
|
$handler->conf = array(
|
|
'title' => 'Landing page',
|
|
'no_blocks' => FALSE,
|
|
'pipeline' => 'ipe',
|
|
'css_id' => '',
|
|
'css' => '',
|
|
'contexts' => array(
|
|
0 => array(
|
|
'name' => 'user',
|
|
'id' => 1,
|
|
'identifier' => 'User',
|
|
'keyword' => 'user',
|
|
'context_settings' => array(
|
|
'type' => 'current',
|
|
'user' => '',
|
|
'uid' => '',
|
|
),
|
|
),
|
|
),
|
|
'relationships' => array(),
|
|
'access' => array(
|
|
'plugins' => array(),
|
|
'logic' => 'and',
|
|
),
|
|
);
|
|
$display = new panels_display;
|
|
$display->layout = 'one_sidebar_second';
|
|
$display->layout_settings = array();
|
|
$display->panel_settings = array(
|
|
'style_settings' => array(
|
|
'default' => NULL,
|
|
'content' => NULL,
|
|
'sidebar_first' => NULL,
|
|
),
|
|
);
|
|
$display->cache = array();
|
|
$display->title = '';
|
|
$display->content = array();
|
|
$display->panels = array();
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-1';
|
|
$pane->panel = 'content';
|
|
$pane->type = 'panels_mini';
|
|
$pane->subtype = 'dashboard_tables';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_title' => 1,
|
|
'override_title_text' => 'My stats',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-primary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-1'] = $pane;
|
|
$display->panels['content'][0] = 'new-1';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-2';
|
|
$pane->panel = 'content';
|
|
$pane->type = 'views_panes';
|
|
$pane->subtype = 'subscriptions-panel_pane_1';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array();
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-primary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 1;
|
|
$display->content['new-2'] = $pane;
|
|
$display->panels['content'][1] = 'new-2';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-3';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array(
|
|
'plugins' => array(
|
|
1 => array(
|
|
'name' => 'perm',
|
|
'settings' => array(
|
|
'perm' => 'edit any profile content',
|
|
),
|
|
'context' => 'context_user_1',
|
|
'not' => FALSE,
|
|
),
|
|
),
|
|
);
|
|
$pane->configuration = array(
|
|
'admin_title' => 'Moderation overview',
|
|
'title' => '',
|
|
'body' => '<?php print boinccore_moderation_overview_panel(); ?>',
|
|
'format' => '3',
|
|
'substitute' => 1,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-3'] = $pane;
|
|
$display->panels['sidebar_first'][0] = 'new-3';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-4';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'panels_mini';
|
|
$pane->subtype = 'user_mail_summary';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 1;
|
|
$display->content['new-4'] = $pane;
|
|
$display->panels['sidebar_first'][1] = 'new-4';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-5';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'admin_title' => 'Team summary',
|
|
'title' => '',
|
|
'body' => '<?php
|
|
if (module_exists(\'boincteam\')) {
|
|
echo boincteam_dashboard_panel();
|
|
}
|
|
?>',
|
|
'format' => '3',
|
|
'substitute' => 1,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => 'team-dashboard-pane',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 2;
|
|
$display->content['new-5'] = $pane;
|
|
$display->panels['sidebar_first'][2] = 'new-5';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-6';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'admin_title' => 'User activity summary',
|
|
'title' => '',
|
|
'body' => '<?php
|
|
|
|
global $user;
|
|
$uid = $user->uid;
|
|
$account = user_load($uid);
|
|
echo \'<h2 class="pane-title compound-heading">\' . l(bts(\'Posts contributed\'), "account/{$uid}/posts") . \'</h2>\';
|
|
echo \'<div class="item-count-wrapper"><div class="item-count">\' . $account->post_count . \'</div></div>\';
|
|
|
|
?>',
|
|
'format' => '3',
|
|
'substitute' => 1,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 3;
|
|
$display->content['new-6'] = $pane;
|
|
$display->panels['sidebar_first'][3] = 'new-6';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-7';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'views';
|
|
$pane->subtype = 'boinc_friends';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_pager_settings' => 0,
|
|
'use_pager' => 0,
|
|
'nodes_per_page' => '6',
|
|
'pager_id' => '',
|
|
'offset' => '0',
|
|
'more_link' => 1,
|
|
'feed_icons' => 0,
|
|
'panel_args' => 0,
|
|
'link_to_view' => 0,
|
|
'args' => '',
|
|
'url' => '',
|
|
'display' => 'block_1',
|
|
'context' => array(
|
|
0 => 'context_user_1.uid',
|
|
),
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 4;
|
|
$display->content['new-7'] = $pane;
|
|
$display->panels['sidebar_first'][4] = 'new-7';
|
|
$display->hide_title = PANELS_TITLE_NONE;
|
|
$display->title_pane = '0';
|
|
$handler->conf['display'] = $display;
|
|
$page->default_handlers[$handler->name] = $handler;
|
|
$pages['account_dashboard'] = $page;
|
|
|
|
$page = new stdClass;
|
|
$page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
|
|
$page->api_version = 1;
|
|
$page->name = 'boinc_user';
|
|
$page->task = 'page';
|
|
$page->admin_title = 'User profile template (boinc)';
|
|
$page->admin_description = '';
|
|
$page->path = 'account/%user';
|
|
$page->access = array(
|
|
'type' => 'none',
|
|
'settings' => NULL,
|
|
);
|
|
$page->menu = array();
|
|
$page->arguments = array(
|
|
'user' => array(
|
|
'id' => 1,
|
|
'identifier' => 'User: ID',
|
|
'name' => 'uid',
|
|
'settings' => array(),
|
|
),
|
|
);
|
|
$page->conf = array();
|
|
$page->default_handlers = array();
|
|
$handler = new stdClass;
|
|
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
|
|
$handler->api_version = 1;
|
|
$handler->name = 'page_boinc_user_panel_context_2';
|
|
$handler->task = 'page';
|
|
$handler->subtask = 'boinc_user';
|
|
$handler->handler = 'panel_context';
|
|
$handler->weight = 1;
|
|
$handler->conf = array(
|
|
'title' => 'Panel',
|
|
'no_blocks' => 0,
|
|
'pipeline' => 'standard',
|
|
'css_id' => '',
|
|
'css' => '',
|
|
'contexts' => array(),
|
|
'relationships' => array(),
|
|
);
|
|
$display = new panels_display;
|
|
$display->layout = 'one_sidebar_second';
|
|
$display->layout_settings = array();
|
|
$display->panel_settings = array(
|
|
'style_settings' => array(
|
|
'default' => NULL,
|
|
'content' => NULL,
|
|
'sidebar_first' => NULL,
|
|
),
|
|
);
|
|
$display->cache = array();
|
|
$display->title = '';
|
|
$display->content = array();
|
|
$display->panels = array();
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-1';
|
|
$pane->panel = 'content';
|
|
$pane->type = 'panels_mini';
|
|
$pane->subtype = 'user_profile';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'context' => array(
|
|
0 => 'argument_uid_1',
|
|
),
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-primary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-1'] = $pane;
|
|
$display->panels['content'][0] = 'new-1';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-2';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'views_panes';
|
|
$pane->subtype = 'boinc_account_stats-panel_pane_2';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-2'] = $pane;
|
|
$display->panels['sidebar_first'][0] = 'new-2';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-3';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'admin_title' => 'Team summary',
|
|
'title' => '',
|
|
'body' => '<?php
|
|
if (module_exists(\'boincteam\')) {
|
|
echo boincteam_dashboard_panel(%user:uid);
|
|
}
|
|
?>',
|
|
'format' => '3',
|
|
'substitute' => 1,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => 'team-dashboard-pane',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 1;
|
|
$display->content['new-3'] = $pane;
|
|
$display->panels['sidebar_first'][1] = 'new-3';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-4';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'admin_title' => 'User activity summary',
|
|
'title' => '',
|
|
'body' => '<?php
|
|
|
|
$uid = arg(1);
|
|
$account = user_load($uid);
|
|
echo \'<h2 class="pane-title compound-heading">\' . l(bts(\'Posts contributed\'), "account/{$uid}/posts") . \'</h2>\';
|
|
echo \'<div class="item-count-wrapper"><div class="item-count">\' . $account->post_count . \'</div></div>\';
|
|
|
|
?>',
|
|
'format' => '3',
|
|
'substitute' => 0,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 2;
|
|
$display->content['new-4'] = $pane;
|
|
$display->panels['sidebar_first'][2] = 'new-4';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-5';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'views';
|
|
$pane->subtype = 'boinc_friends';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_pager_settings' => 0,
|
|
'use_pager' => 0,
|
|
'nodes_per_page' => '6',
|
|
'pager_id' => '',
|
|
'offset' => '0',
|
|
'more_link' => 0,
|
|
'feed_icons' => 0,
|
|
'panel_args' => 0,
|
|
'link_to_view' => 0,
|
|
'args' => '',
|
|
'url' => '',
|
|
'display' => 'block_1',
|
|
'context' => array(
|
|
0 => 'argument_uid_1.uid',
|
|
),
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 3;
|
|
$display->content['new-5'] = $pane;
|
|
$display->panels['sidebar_first'][3] = 'new-5';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-6';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'admin_title' => 'Project list',
|
|
'title' => 'Projects',
|
|
'body' => '<?php echo boincuser_get_projects_table(%user:uid); ?>',
|
|
'format' => '3',
|
|
'substitute' => 1,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 4;
|
|
$display->content['new-6'] = $pane;
|
|
$display->panels['sidebar_first'][4] = 'new-6';
|
|
$display->hide_title = PANELS_TITLE_NONE;
|
|
$display->title_pane = '0';
|
|
$handler->conf['display'] = $display;
|
|
$page->default_handlers[$handler->name] = $handler;
|
|
$pages['boinc_user'] = $page;
|
|
|
|
$page = new stdClass;
|
|
$page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
|
|
$page->api_version = 1;
|
|
$page->name = 'home';
|
|
$page->task = 'page';
|
|
$page->admin_title = 'Home page';
|
|
$page->admin_description = '';
|
|
$page->path = 'home';
|
|
$page->access = array(
|
|
'type' => 'none',
|
|
'settings' => NULL,
|
|
);
|
|
$page->menu = array(
|
|
'type' => 'normal',
|
|
'title' => 'Home',
|
|
'name' => 'navigation',
|
|
'weight' => '0',
|
|
'parent' => array(
|
|
'type' => 'none',
|
|
'title' => '',
|
|
'name' => 'navigation',
|
|
'weight' => '0',
|
|
),
|
|
);
|
|
$page->arguments = array();
|
|
$page->conf = array();
|
|
$page->default_handlers = array();
|
|
$handler = new stdClass;
|
|
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
|
|
$handler->api_version = 1;
|
|
$handler->name = 'page_home_panel_context';
|
|
$handler->task = 'page';
|
|
$handler->subtask = 'home';
|
|
$handler->handler = 'panel_context';
|
|
$handler->weight = 0;
|
|
$handler->conf = array(
|
|
'title' => 'Landing page',
|
|
'no_blocks' => FALSE,
|
|
'pipeline' => 'ipe',
|
|
'css_id' => '',
|
|
'css' => '',
|
|
'contexts' => array(),
|
|
'relationships' => array(),
|
|
);
|
|
$display = new panels_display;
|
|
$display->layout = 'one_sidebar_second';
|
|
$display->layout_settings = array();
|
|
$display->panel_settings = array(
|
|
'style_settings' => array(
|
|
'default' => NULL,
|
|
'content' => NULL,
|
|
'sidebar_first' => NULL,
|
|
),
|
|
);
|
|
$display->cache = array();
|
|
$display->title = '';
|
|
$display->content = array();
|
|
$display->panels = array();
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-1';
|
|
$pane->panel = 'content';
|
|
$pane->type = 'custom';
|
|
$pane->subtype = 'custom';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array(
|
|
'plugins' => array(),
|
|
);
|
|
$pane->configuration = array(
|
|
'admin_title' => 'BOINC overview',
|
|
'title' => '',
|
|
'body' => '<?php print boincuser_home_page(); ?>',
|
|
'format' => '3',
|
|
'substitute' => TRUE,
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-primary container shadow',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-1'] = $pane;
|
|
$display->panels['content'][0] = 'new-1';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-2';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'panels_mini';
|
|
$pane->subtype = 'project_stats_overview';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_title' => 0,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow balance-height-front no-resize',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 0;
|
|
$display->content['new-2'] = $pane;
|
|
$display->panels['sidebar_first'][0] = 'new-2';
|
|
$pane = new stdClass;
|
|
$pane->pid = 'new-3';
|
|
$pane->panel = 'sidebar_first';
|
|
$pane->type = 'views';
|
|
$pane->subtype = 'news';
|
|
$pane->shown = TRUE;
|
|
$pane->access = array();
|
|
$pane->configuration = array(
|
|
'override_pager_settings' => 1,
|
|
'use_pager' => 0,
|
|
'nodes_per_page' => '2',
|
|
'pager_id' => '',
|
|
'offset' => '0',
|
|
'more_link' => 1,
|
|
'feed_icons' => 1,
|
|
'panel_args' => 0,
|
|
'link_to_view' => 0,
|
|
'args' => '',
|
|
'url' => '',
|
|
'display' => 'page_2',
|
|
'override_title' => 1,
|
|
'override_title_text' => '',
|
|
);
|
|
$pane->cache = array();
|
|
$pane->style = array(
|
|
'settings' => NULL,
|
|
);
|
|
$pane->css = array(
|
|
'css_id' => '',
|
|
'css_class' => 'panel-secondary container shadow balance-height-front',
|
|
);
|
|
$pane->extras = array();
|
|
$pane->position = 1;
|
|
$display->content['new-3'] = $pane;
|
|
$display->panels['sidebar_first'][1] = 'new-3';
|
|
$display->hide_title = PANELS_TITLE_NONE;
|
|
$display->title_pane = '0';
|
|
$handler->conf['display'] = $display;
|
|
$page->default_handlers[$handler->name] = $handler;
|
|
$pages['home'] = $page;
|
|
|
|
return $pages;
|
|
|
|
}
|