Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.97 KB | None | 0 0
  1. $handler = new stdClass;
  2. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  3. $handler->api_version = 1;
  4. $handler->name = 'page_watchlist_popup_panel_context';
  5. $handler->task = 'page';
  6. $handler->subtask = 'watchlist_popup';
  7. $handler->handler = 'panel_context';
  8. $handler->weight = 0;
  9. $handler->conf = array(
  10.   'title' => 'Panel',
  11.   'no_blocks' => 1,
  12.   'css_id' => '',
  13.   'css' => '',
  14.   'contexts' => array(
  15.     2 => array(
  16.       'name' => 'node_add_form',
  17.       'id' => 1,
  18.       'identifier' => 'Node add form',
  19.       'keyword' => 'node_add',
  20.       'context_settings' => array(
  21.         'type' => 'watchlist',
  22.       ),
  23.     ),
  24.     3 => array(
  25.       'name' => 'user',
  26.       'id' => 1,
  27.       'identifier' => 'User',
  28.       'keyword' => 'user',
  29.       'context_settings' => array(
  30.         'type' => 'current',
  31.         'user' => '',
  32.         'uid' => '',
  33.       ),
  34.     ),
  35.   ),
  36.   'relationships' => array(),
  37. );
  38. $display = new panels_display;
  39. $display->api_version = 1;
  40. $display->layout = 'onecol';
  41. $display->layout_settings = array();
  42. $display->panel_settings = array();
  43. $display->cache = array();
  44. $display->title = 'Zu Merkliste hinzufügen';
  45. $display->content = array();
  46. $display->panels = array();
  47.   $pane = new stdClass;
  48.   $pane->api_version = 1;
  49.   $pane->pid = 'new-1';
  50.   $pane->panel = 'middle';
  51.   $pane->type = 'views_panes';
  52.   $pane->subtype = 'my_watchlists-panel_pane_2';
  53.   $pane->shown = TRUE;
  54.   $pane->access = array();
  55.   $pane->configuration = array();
  56.   $pane->cache = array();
  57.   $pane->style = array();
  58.   $pane->css = array();
  59.   $pane->extras = array();
  60.   $pane->position = 0;
  61.   $display->content['new-1'] = $pane;
  62.   $display->panels['middle'][0] = 'new-1';
  63.   $pane = new stdClass;
  64.   $pane->api_version = 1;
  65.   $pane->pid = 'new-2';
  66.   $pane->panel = 'middle';
  67.   $pane->type = 'form';
  68.   $pane->subtype = 'form';
  69.   $pane->shown = TRUE;
  70.   $pane->access = array();
  71.   $pane->configuration = array(
  72.     'context' => 'context_node_add_form_1',
  73.     'override_title' => 1,
  74.     'override_title_text' => '',
  75.   );
  76.   $pane->cache = array();
  77.   $pane->style = array();
  78.   $pane->css = array();
  79.   $pane->extras = array();
  80.   $pane->position = 1;
  81.   $display->content['new-2'] = $pane;
  82.   $display->panels['middle'][1] = 'new-2';
  83.   $pane = new stdClass;
  84.   $pane->api_version = 1;
  85.   $pane->pid = 'new-3';
  86.   $pane->panel = 'middle';
  87.   $pane->type = 'node_form_buttons';
  88.   $pane->subtype = 'node_form_buttons';
  89.   $pane->shown = TRUE;
  90.   $pane->access = array();
  91.   $pane->configuration = array(
  92.     'context' => 'context_node_add_form_1',
  93.     'override_title' => 0,
  94.     'override_title_text' => '',
  95.   );
  96.   $pane->cache = array();
  97.   $pane->style = array();
  98.   $pane->css = array();
  99.   $pane->extras = array();
  100.   $pane->position = 2;
  101.   $display->content['new-3'] = $pane;
  102.   $display->panels['middle'][2] = 'new-3';
  103. $display->hide_title = PANELS_TITLE_FIXED;
  104. $display->title_pane = '0';
  105. $handler->conf['display'] = $display;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement