-
Notifications
You must be signed in to change notification settings - Fork 0
/
depdescription.views_default.inc
233 lines (227 loc) · 13.4 KB
/
depdescription.views_default.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?php
/**
* @file
* depdescription.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function depdescription_views_default_views() {
$export = array();
$view = new view;
$view->name = '_clubdep';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = '社团部门';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = '社团部门';
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = '重设';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '6';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['pager']['options']['id'] = '0';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0;
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'field_depimage' => 'field_depimage',
'title' => 'field_description',
'field_description' => 'field_description',
'field_duty' => 'field_description',
);
$handler->display->display_options['style_options']['default'] = '-1';
$handler->display->display_options['style_options']['info'] = array(
'field_depimage' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => 'views-align-left',
'separator' => '',
'empty_column' => 0,
),
'title' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_description' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => 'views-align-left',
'separator' => ' ',
'empty_column' => 0,
),
'field_duty' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => 'views-align-right',
'separator' => '',
'empty_column' => 0,
),
);
$handler->display->display_options['style_options']['override'] = 1;
$handler->display->display_options['style_options']['sticky'] = 0;
$handler->display->display_options['style_options']['empty_table'] = 0;
/* 字段: 内容: 部门图片 */
$handler->display->display_options['fields']['field_depimage']['id'] = 'field_depimage';
$handler->display->display_options['fields']['field_depimage']['table'] = 'field_data_field_depimage';
$handler->display->display_options['fields']['field_depimage']['field'] = 'field_depimage';
$handler->display->display_options['fields']['field_depimage']['label'] = '';
$handler->display->display_options['fields']['field_depimage']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_depimage']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_depimage']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_depimage']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_depimage']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_depimage']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_depimage']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_depimage']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_depimage']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['field_depimage']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_depimage']['settings'] = array(
'image_style' => 'medium',
'image_link' => 'content',
);
$handler->display->display_options['fields']['field_depimage']['field_api_classes'] = 0;
/* 字段: 内容: 标题 */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['title']['alter']['external'] = 0;
$handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = 0;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = 0;
$handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['title']['alter']['trim'] = 0;
$handler->display->display_options['fields']['title']['alter']['html'] = 0;
$handler->display->display_options['fields']['title']['element_type'] = 'h2';
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['element_default_classes'] = 1;
$handler->display->display_options['fields']['title']['hide_empty'] = 0;
$handler->display->display_options['fields']['title']['empty_zero'] = 0;
$handler->display->display_options['fields']['title']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['title']['link_to_node'] = 1;
/* 字段: 内容: 部门描述 */
$handler->display->display_options['fields']['field_description']['id'] = 'field_description';
$handler->display->display_options['fields']['field_description']['table'] = 'field_data_field_description';
$handler->display->display_options['fields']['field_description']['field'] = 'field_description';
$handler->display->display_options['fields']['field_description']['label'] = '';
$handler->display->display_options['fields']['field_description']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_description']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_description']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_description']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_description']['element_type'] = 'h3';
$handler->display->display_options['fields']['field_description']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_description']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_description']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_description']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_description']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['field_description']['field_api_classes'] = 0;
/* 字段: 内容: 部门任务 */
$handler->display->display_options['fields']['field_duty']['id'] = 'field_duty';
$handler->display->display_options['fields']['field_duty']['table'] = 'field_data_field_duty';
$handler->display->display_options['fields']['field_duty']['field'] = 'field_duty';
$handler->display->display_options['fields']['field_duty']['label'] = '';
$handler->display->display_options['fields']['field_duty']['alter']['alter_text'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['make_link'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['absolute'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['external'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['replace_spaces'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['trim_whitespace'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['nl2br'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['word_boundary'] = 1;
$handler->display->display_options['fields']['field_duty']['alter']['ellipsis'] = 1;
$handler->display->display_options['fields']['field_duty']['alter']['strip_tags'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['trim'] = 0;
$handler->display->display_options['fields']['field_duty']['alter']['html'] = 0;
$handler->display->display_options['fields']['field_duty']['element_type'] = 'h3';
$handler->display->display_options['fields']['field_duty']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_duty']['element_default_classes'] = 1;
$handler->display->display_options['fields']['field_duty']['hide_empty'] = 0;
$handler->display->display_options['fields']['field_duty']['empty_zero'] = 0;
$handler->display->display_options['fields']['field_duty']['hide_alter_empty'] = 0;
$handler->display->display_options['fields']['field_duty']['field_api_classes'] = 0;
/* Sort criterion: 内容: 标题 */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['sorts']['title']['order'] = 'DESC';
/* Filter criterion: 内容: 已发表 */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 0;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: 内容: 类型 */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'_department' => '_department',
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = '-clubdepartment';
$handler->display->display_options['menu']['type'] = 'normal';
$handler->display->display_options['menu']['title'] = '社团部门';
$handler->display->display_options['menu']['name'] = 'main-menu';
/* Display: Feed */
$handler = $view->new_display('feed', 'Feed', 'feed');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['style_plugin'] = 'rss';
$handler->display->display_options['row_plugin'] = 'node_rss';
$handler->display->display_options['path'] = '-clubdepartment.xml';
$handler->display->display_options['displays'] = array(
'default' => 'default',
'page' => 'page',
);
$translatables['_clubdep'] = array(
t('Master'),
t('社团部门'),
t('more'),
t('Apply'),
t('重设'),
t('Sort by'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
t('Page'),
t('Feed'),
);
$export['_clubdep'] = $view;
return $export;
}