Projet

Général

Profil

Paste
Télécharger (3,57 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_forum / includes / panels / forum_panel_context_forum.handler @ 87dbc3bf

1
<?php
2

    
3
$handler = new stdClass();
4
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
5
$handler->api_version = 1;
6
$handler->name = 'forum_panel_context_forum';
7
$handler->task = 'forum';
8
$handler->subtask = '';
9
$handler->handler = 'panel_context';
10
$handler->weight = 2;
11
$handler->conf = array(
12
  'title' => 'Forum',
13
  'no_blocks' => 0,
14
  'css_id' => 'forum',
15
  'css' => '',
16
  'contexts' => array(),
17
  'relationships' => array(),
18
  'access' => array(
19
    'plugins' => array(
20
      0 => array(
21
        'name' => 'forum_container',
22
        'settings' => array(
23
          'container' => '1',
24
        ),
25
        'context' => 'argument_forum_id_1',
26
      ),
27
    ),
28
    'logic' => 'and',
29
  ),
30
  'pipeline' => 'standard',
31
);
32
if (module_exists('panels')) {
33
  $display = new panels_display();
34
  $display->layout = 'flexible';
35
  $display->layout_settings = array();
36
  $display->panel_settings = array(
37
    'style_settings' => array(
38
      'default' => NULL,
39
      'center' => NULL,
40
    ),
41
  );
42
  $display->cache = array();
43
  $display->title = '%forum:name';
44
  $display->content = array();
45
  $display->panels = array();
46
  $pane = new stdClass();
47
  $pane->pid = 'new-1';
48
  $pane->panel = 'center';
49
  $pane->type = 'forum_list';
50
  $pane->subtype = 'forum_list';
51
  $pane->shown = TRUE;
52
  $pane->access = array();
53
  $pane->configuration = array(
54
    'context' => 'argument_forum_id_1',
55
    'override_title' => 0,
56
    'override_title_text' => '',
57
  );
58
  $pane->cache = array();
59
  $pane->style = array(
60
    'settings' => NULL,
61
  );
62
  $pane->css = array();
63
  $pane->extras = array();
64
  $pane->position = 0;
65
  $pane->locks = '';
66
  $display->content['new-1'] = $pane;
67
  $display->panels['center'][0] = 'new-1';
68
  $pane = new stdClass();
69
  $pane->pid = 'new-2';
70
  $pane->panel = 'center';
71
  $pane->type = 'forum_topic_list';
72
  $pane->subtype = 'forum_topic_list';
73
  $pane->shown = TRUE;
74
  $pane->access = array();
75
  $pane->configuration = array(
76
    'context' => 'argument_forum_id_1',
77
    'override_title' => 0,
78
    'override_title_text' => '',
79
  );
80
  $pane->cache = array();
81
  $pane->style = array(
82
    'settings' => NULL,
83
  );
84
  $pane->css = array();
85
  $pane->extras = array();
86
  $pane->position = 1;
87
  $pane->locks = '';
88
  $display->content['new-2'] = $pane;
89
  $display->panels['center'][1] = 'new-2';
90
  $pane = new stdClass();
91
  $pane->pid = 'new-3';
92
  $pane->panel = 'center';
93
  $pane->type = 'forum_topic_list_sort';
94
  $pane->subtype = 'forum_topic_list_sort';
95
  $pane->shown = TRUE;
96
  $pane->access = array();
97
  $pane->configuration = array(
98
    'context' => 'argument_forum_id_1',
99
    'override_title' => 0,
100
    'override_title_text' => '',
101
  );
102
  $pane->cache = array();
103
  $pane->style = array(
104
    'settings' => NULL,
105
  );
106
  $pane->css = array();
107
  $pane->extras = array();
108
  $pane->position = 2;
109
  $pane->locks = array();
110
  $display->content['new-3'] = $pane;
111
  $display->panels['center'][2] = 'new-3';
112
  $pane = new stdClass();
113
  $pane->pid = 'new-4';
114
  $pane->panel = 'center';
115
  $pane->type = 'forum_topic_legend';
116
  $pane->subtype = 'forum_topic_legend';
117
  $pane->shown = TRUE;
118
  $pane->access = array();
119
  $pane->configuration = array(
120
    'context' => 'argument_forum_id_1',
121
    'override_title' => 0,
122
    'override_title_text' => '',
123
  );
124
  $pane->cache = array();
125
  $pane->style = array(
126
    'settings' => NULL,
127
  );
128
  $pane->css = array();
129
  $pane->extras = array();
130
  $pane->position = 3;
131
  $pane->locks = '';
132
  $display->content['new-4'] = $pane;
133
  $display->panels['center'][3] = 'new-4';
134
  $display->hide_title = PANELS_TITLE_FIXED;
135
  $display->title_pane = '0';
136
  $handler->conf['display'] = $display;
137
}