total control - admin dashboard
[indybay:drupal.git] / docs / sites / all / modules / contrib / total_control / views / control_content_panes.view
1 <?php
2
3 /**
4  * @file control_content_panes.view
5  *
6  * Default view for administration of content. Contains panels pane displays
7  * for use on the dashboard.
8  *
9  */
10  
11 $view = new view;
12 $view->name = 'control_content_panes';
13 $view->description = 'Total Control over content: Contains content panes for your dashboard.';
14 $view->tag = 'total_control';
15 $view->base_table = 'node';
16 $view->human_name = '';
17 $view->core = 0;
18 $view->api_version = '3.0';
19 $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
20
21 /* Display: Defaults */
22 $handler = $view->new_display('default', 'Defaults', 'default');
23 $handler->display->display_options['title'] = 'All content';
24 $handler->display->display_options['access']['type'] = 'perm';
25 $handler->display->display_options['access']['perm'] = 'have total control';
26 $handler->display->display_options['cache']['type'] = 'none';
27 $handler->display->display_options['query']['type'] = 'views_query';
28 $handler->display->display_options['query']['options']['query_comment'] = FALSE;
29 $handler->display->display_options['exposed_form']['type'] = 'basic';
30 $handler->display->display_options['pager']['type'] = 'some';
31 $handler->display->display_options['pager']['options']['items_per_page'] = '5';
32 $handler->display->display_options['pager']['options']['offset'] = '0';
33 $handler->display->display_options['style_plugin'] = 'list';
34 $handler->display->display_options['row_plugin'] = 'fields';
35 $handler->display->display_options['row_options']['inline'] = array(
36   'type' => 'type',
37   'name' => 'name',
38   'created' => 'created',
39 );
40 $handler->display->display_options['row_options']['hide_empty'] = 0;
41 /* Relationship: Content: Author */
42 $handler->display->display_options['relationships']['uid']['id'] = 'uid';
43 $handler->display->display_options['relationships']['uid']['table'] = 'node';
44 $handler->display->display_options['relationships']['uid']['field'] = 'uid';
45 /* Field: Content: Title */
46 $handler->display->display_options['fields']['title']['id'] = 'title';
47 $handler->display->display_options['fields']['title']['table'] = 'node';
48 $handler->display->display_options['fields']['title']['field'] = 'title';
49 $handler->display->display_options['fields']['title']['label'] = '';
50 $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
51 $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
52 $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
53 $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
54 $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
55 $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
56 $handler->display->display_options['fields']['title']['alter']['html'] = 0;
57 $handler->display->display_options['fields']['title']['hide_empty'] = 0;
58 $handler->display->display_options['fields']['title']['empty_zero'] = 0;
59 $handler->display->display_options['fields']['title']['link_to_node'] = 1;
60 /* Field: User: Name */
61 $handler->display->display_options['fields']['name']['id'] = 'name';
62 $handler->display->display_options['fields']['name']['table'] = 'users';
63 $handler->display->display_options['fields']['name']['field'] = 'name';
64 $handler->display->display_options['fields']['name']['relationship'] = 'uid';
65 $handler->display->display_options['fields']['name']['label'] = 'by';
66 $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
67 $handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
68 $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1;
69 $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1;
70 $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
71 $handler->display->display_options['fields']['name']['alter']['trim'] = 0;
72 $handler->display->display_options['fields']['name']['alter']['html'] = 0;
73 $handler->display->display_options['fields']['name']['hide_empty'] = 0;
74 $handler->display->display_options['fields']['name']['empty_zero'] = 0;
75 $handler->display->display_options['fields']['name']['link_to_user'] = 1;
76 $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
77 /* Field: Content: Post date */
78 $handler->display->display_options['fields']['created']['id'] = 'created';
79 $handler->display->display_options['fields']['created']['table'] = 'node';
80 $handler->display->display_options['fields']['created']['field'] = 'created';
81 $handler->display->display_options['fields']['created']['label'] = 'on';
82 $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0;
83 $handler->display->display_options['fields']['created']['alter']['make_link'] = 0;
84 $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1;
85 $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1;
86 $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0;
87 $handler->display->display_options['fields']['created']['alter']['trim'] = 0;
88 $handler->display->display_options['fields']['created']['alter']['html'] = 0;
89 $handler->display->display_options['fields']['created']['hide_empty'] = 0;
90 $handler->display->display_options['fields']['created']['empty_zero'] = 0;
91 $handler->display->display_options['fields']['created']['date_format'] = 'custom';
92 $handler->display->display_options['fields']['created']['custom_date_format'] = 'm/d g:ia';
93 /* Sort criterion: Content: Post date */
94 $handler->display->display_options['sorts']['created']['id'] = 'created';
95 $handler->display->display_options['sorts']['created']['table'] = 'node';
96 $handler->display->display_options['sorts']['created']['field'] = 'created';
97 $handler->display->display_options['sorts']['created']['order'] = 'DESC';
98
99 /* Display: New Content */
100 $handler = $view->new_display('panel_pane', 'New Content', 'pane_tc_new');
101 $handler->display->display_options['defaults']['title'] = FALSE;
102 $handler->display->display_options['title'] = 'New Content';
103 $handler->display->display_options['display_description'] = 'Total Control new content summary';
104 $handler->display->display_options['defaults']['empty'] = FALSE;
105 /* No results behavior: Global: Text area */
106 $handler->display->display_options['empty']['area']['id'] = 'area';
107 $handler->display->display_options['empty']['area']['table'] = 'views';
108 $handler->display->display_options['empty']['area']['field'] = 'area';
109 $handler->display->display_options['empty']['area']['empty'] = FALSE;
110 $handler->display->display_options['empty']['area']['content'] = 'No content has been created yet. ';
111 $handler->display->display_options['empty']['area']['format'] = 'filtered_html';
112 $handler->display->display_options['empty']['area']['tokenize'] = 0;
113 $handler->display->display_options['defaults']['fields'] = FALSE;
114 /* Field: Content: Title */
115 $handler->display->display_options['fields']['title']['id'] = 'title';
116 $handler->display->display_options['fields']['title']['table'] = 'node';
117 $handler->display->display_options['fields']['title']['field'] = 'title';
118 $handler->display->display_options['fields']['title']['label'] = '';
119 $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
120 $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
121 $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
122 $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
123 $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
124 $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
125 $handler->display->display_options['fields']['title']['alter']['html'] = 0;
126 $handler->display->display_options['fields']['title']['hide_empty'] = 0;
127 $handler->display->display_options['fields']['title']['empty_zero'] = 0;
128 $handler->display->display_options['fields']['title']['link_to_node'] = 1;
129 /* Field: Content: Type */
130 $handler->display->display_options['fields']['type']['id'] = 'type';
131 $handler->display->display_options['fields']['type']['table'] = 'node';
132 $handler->display->display_options['fields']['type']['field'] = 'type';
133 $handler->display->display_options['fields']['type']['label'] = '';
134 $handler->display->display_options['fields']['type']['alter']['alter_text'] = 0;
135 $handler->display->display_options['fields']['type']['alter']['make_link'] = 0;
136 $handler->display->display_options['fields']['type']['alter']['absolute'] = 0;
137 $handler->display->display_options['fields']['type']['alter']['external'] = 0;
138 $handler->display->display_options['fields']['type']['alter']['replace_spaces'] = 0;
139 $handler->display->display_options['fields']['type']['alter']['trim_whitespace'] = 0;
140 $handler->display->display_options['fields']['type']['alter']['nl2br'] = 0;
141 $handler->display->display_options['fields']['type']['alter']['word_boundary'] = 1;
142 $handler->display->display_options['fields']['type']['alter']['ellipsis'] = 1;
143 $handler->display->display_options['fields']['type']['alter']['strip_tags'] = 0;
144 $handler->display->display_options['fields']['type']['alter']['trim'] = 0;
145 $handler->display->display_options['fields']['type']['alter']['html'] = 0;
146 $handler->display->display_options['fields']['type']['element_label_colon'] = FALSE;
147 $handler->display->display_options['fields']['type']['element_default_classes'] = 1;
148 $handler->display->display_options['fields']['type']['hide_empty'] = 0;
149 $handler->display->display_options['fields']['type']['empty_zero'] = 0;
150 $handler->display->display_options['fields']['type']['hide_alter_empty'] = 1;
151 $handler->display->display_options['fields']['type']['link_to_node'] = 0;
152 $handler->display->display_options['fields']['type']['machine_name'] = 0;
153 /* Field: User: Name */
154 $handler->display->display_options['fields']['name']['id'] = 'name';
155 $handler->display->display_options['fields']['name']['table'] = 'users';
156 $handler->display->display_options['fields']['name']['field'] = 'name';
157 $handler->display->display_options['fields']['name']['relationship'] = 'uid';
158 $handler->display->display_options['fields']['name']['label'] = 'by';
159 $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
160 $handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
161 $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1;
162 $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1;
163 $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
164 $handler->display->display_options['fields']['name']['alter']['trim'] = 0;
165 $handler->display->display_options['fields']['name']['alter']['html'] = 0;
166 $handler->display->display_options['fields']['name']['hide_empty'] = 0;
167 $handler->display->display_options['fields']['name']['empty_zero'] = 0;
168 $handler->display->display_options['fields']['name']['link_to_user'] = 1;
169 $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
170 /* Field: Content: Post date */
171 $handler->display->display_options['fields']['created']['id'] = 'created';
172 $handler->display->display_options['fields']['created']['table'] = 'node';
173 $handler->display->display_options['fields']['created']['field'] = 'created';
174 $handler->display->display_options['fields']['created']['label'] = 'on';
175 $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0;
176 $handler->display->display_options['fields']['created']['alter']['make_link'] = 0;
177 $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1;
178 $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1;
179 $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0;
180 $handler->display->display_options['fields']['created']['alter']['trim'] = 0;
181 $handler->display->display_options['fields']['created']['alter']['html'] = 0;
182 $handler->display->display_options['fields']['created']['hide_empty'] = 0;
183 $handler->display->display_options['fields']['created']['empty_zero'] = 0;
184 $handler->display->display_options['fields']['created']['date_format'] = 'custom';
185 $handler->display->display_options['fields']['created']['custom_date_format'] = 'm/d g:ia';
186 $handler->display->display_options['pane_title'] = 'New Content';
187 $handler->display->display_options['pane_description'] = 'Total Control new content summary';
188 $handler->display->display_options['pane_category']['name'] = 'Dashboard';
189 $handler->display->display_options['pane_category']['weight'] = '0';
190 $handler->display->display_options['allow']['use_pager'] = 0;
191 $handler->display->display_options['allow']['items_per_page'] = 'items_per_page';
192 $handler->display->display_options['allow']['offset'] = 0;
193 $handler->display->display_options['allow']['link_to_view'] = 0;
194 $handler->display->display_options['allow']['more_link'] = 0;
195 $handler->display->display_options['allow']['path_override'] = 0;
196 $handler->display->display_options['allow']['title_override'] = 'title_override';
197 $handler->display->display_options['allow']['exposed_form'] = 0;
198 $handler->display->display_options['allow']['fields_override'] = 0;
199
200 /* Display: Updated Content */
201 $handler = $view->new_display('panel_pane', 'Updated Content', 'pane_tc_updated');
202 $handler->display->display_options['defaults']['title'] = FALSE;
203 $handler->display->display_options['title'] = 'Updated Content';
204 $handler->display->display_options['display_description'] = 'Total Control updated content summary';
205 $handler->display->display_options['defaults']['fields'] = FALSE;
206 /* Field: Content: Title */
207 $handler->display->display_options['fields']['title']['id'] = 'title';
208 $handler->display->display_options['fields']['title']['table'] = 'node';
209 $handler->display->display_options['fields']['title']['field'] = 'title';
210 $handler->display->display_options['fields']['title']['label'] = '';
211 $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
212 $handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
213 $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
214 $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
215 $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
216 $handler->display->display_options['fields']['title']['alter']['trim'] = 0;
217 $handler->display->display_options['fields']['title']['alter']['html'] = 0;
218 $handler->display->display_options['fields']['title']['hide_empty'] = 0;
219 $handler->display->display_options['fields']['title']['empty_zero'] = 0;
220 $handler->display->display_options['fields']['title']['link_to_node'] = 1;
221 /* Field: Content: Type */
222 $handler->display->display_options['fields']['type']['id'] = 'type';
223 $handler->display->display_options['fields']['type']['table'] = 'node';
224 $handler->display->display_options['fields']['type']['field'] = 'type';
225 $handler->display->display_options['fields']['type']['label'] = '';
226 $handler->display->display_options['fields']['type']['alter']['alter_text'] = 0;
227 $handler->display->display_options['fields']['type']['alter']['make_link'] = 0;
228 $handler->display->display_options['fields']['type']['alter']['absolute'] = 0;
229 $handler->display->display_options['fields']['type']['alter']['external'] = 0;
230 $handler->display->display_options['fields']['type']['alter']['replace_spaces'] = 0;
231 $handler->display->display_options['fields']['type']['alter']['trim_whitespace'] = 0;
232 $handler->display->display_options['fields']['type']['alter']['nl2br'] = 0;
233 $handler->display->display_options['fields']['type']['alter']['word_boundary'] = 1;
234 $handler->display->display_options['fields']['type']['alter']['ellipsis'] = 1;
235 $handler->display->display_options['fields']['type']['alter']['strip_tags'] = 0;
236 $handler->display->display_options['fields']['type']['alter']['trim'] = 0;
237 $handler->display->display_options['fields']['type']['alter']['html'] = 0;
238 $handler->display->display_options['fields']['type']['element_label_colon'] = FALSE;
239 $handler->display->display_options['fields']['type']['element_default_classes'] = 1;
240 $handler->display->display_options['fields']['type']['hide_empty'] = 0;
241 $handler->display->display_options['fields']['type']['empty_zero'] = 0;
242 $handler->display->display_options['fields']['type']['hide_alter_empty'] = 1;
243 $handler->display->display_options['fields']['type']['link_to_node'] = 0;
244 $handler->display->display_options['fields']['type']['machine_name'] = 0;
245 /* Field: User: Name */
246 $handler->display->display_options['fields']['name']['id'] = 'name';
247 $handler->display->display_options['fields']['name']['table'] = 'users';
248 $handler->display->display_options['fields']['name']['field'] = 'name';
249 $handler->display->display_options['fields']['name']['relationship'] = 'uid';
250 $handler->display->display_options['fields']['name']['label'] = 'by';
251 $handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
252 $handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
253 $handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1;
254 $handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1;
255 $handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
256 $handler->display->display_options['fields']['name']['alter']['trim'] = 0;
257 $handler->display->display_options['fields']['name']['alter']['html'] = 0;
258 $handler->display->display_options['fields']['name']['hide_empty'] = 0;
259 $handler->display->display_options['fields']['name']['empty_zero'] = 0;
260 $handler->display->display_options['fields']['name']['link_to_user'] = 1;
261 $handler->display->display_options['fields']['name']['overwrite_anonymous'] = 0;
262 /* Field: Content: Post date */
263 $handler->display->display_options['fields']['created']['id'] = 'created';
264 $handler->display->display_options['fields']['created']['table'] = 'node';
265 $handler->display->display_options['fields']['created']['field'] = 'created';
266 $handler->display->display_options['fields']['created']['label'] = 'on';
267 $handler->display->display_options['fields']['created']['alter']['alter_text'] = 0;
268 $handler->display->display_options['fields']['created']['alter']['make_link'] = 0;
269 $handler->display->display_options['fields']['created']['alter']['word_boundary'] = 1;
270 $handler->display->display_options['fields']['created']['alter']['ellipsis'] = 1;
271 $handler->display->display_options['fields']['created']['alter']['strip_tags'] = 0;
272 $handler->display->display_options['fields']['created']['alter']['trim'] = 0;
273 $handler->display->display_options['fields']['created']['alter']['html'] = 0;
274 $handler->display->display_options['fields']['created']['hide_empty'] = 0;
275 $handler->display->display_options['fields']['created']['empty_zero'] = 0;
276 $handler->display->display_options['fields']['created']['date_format'] = 'custom';
277 $handler->display->display_options['fields']['created']['custom_date_format'] = 'm/d g:ia';
278 $handler->display->display_options['defaults']['sorts'] = FALSE;
279 /* Sort criterion: Content: Updated date */
280 $handler->display->display_options['sorts']['changed']['id'] = 'changed';
281 $handler->display->display_options['sorts']['changed']['table'] = 'node';
282 $handler->display->display_options['sorts']['changed']['field'] = 'changed';
283 $handler->display->display_options['sorts']['changed']['order'] = 'DESC';
284 $handler->display->display_options['pane_title'] = 'Updated Content';
285 $handler->display->display_options['pane_description'] = 'Total Control updated content summary';
286 $handler->display->display_options['pane_category']['name'] = 'Dashboard';
287 $handler->display->display_options['pane_category']['weight'] = '0';
288 $handler->display->display_options['allow']['use_pager'] = 0;
289 $handler->display->display_options['allow']['items_per_page'] = 'items_per_page';
290 $handler->display->display_options['allow']['offset'] = 0;
291 $handler->display->display_options['allow']['link_to_view'] = 0;
292 $handler->display->display_options['allow']['more_link'] = 0;
293 $handler->display->display_options['allow']['path_override'] = 0;
294 $handler->display->display_options['allow']['title_override'] = 'title_override';
295 $handler->display->display_options['allow']['exposed_form'] = 0;
296 $handler->display->display_options['allow']['fields_override'] = 0;
297
298 /* Display: Unpublished content */
299 $handler = $view->new_display('panel_pane', 'Unpublished content', 'pane_tc_unpub');
300 $handler->display->display_options['defaults']['title'] = FALSE;
301 $handler->display->display_options['title'] = 'Unpublished content';
302 $handler->display->display_options['defaults']['filters'] = FALSE;
303 /* Filter criterion: Content: Published */
304 $handler->display->display_options['filters']['status']['id'] = 'status';
305 $handler->display->display_options['filters']['status']['table'] = 'node';
306 $handler->display->display_options['filters']['status']['field'] = 'status';
307 $handler->display->display_options['filters']['status']['value'] = '0';
308 $handler->display->display_options['pane_title'] = 'Unpublished content';
309 $handler->display->display_options['pane_description'] = 'Content that needs review or moderation';
310 $handler->display->display_options['pane_category']['name'] = 'Dashboard';
311 $handler->display->display_options['pane_category']['weight'] = '0';
312 $handler->display->display_options['allow']['use_pager'] = 0;
313 $handler->display->display_options['allow']['items_per_page'] = 'items_per_page';
314 $handler->display->display_options['allow']['offset'] = 0;
315 $handler->display->display_options['allow']['link_to_view'] = 0;
316 $handler->display->display_options['allow']['more_link'] = 0;
317 $handler->display->display_options['allow']['path_override'] = 0;
318 $handler->display->display_options['allow']['title_override'] = 'title_override';
319 $handler->display->display_options['allow']['exposed_form'] = 0;
320 $handler->display->display_options['allow']['fields_override'] = 0;