total control - admin dashboard
[indybay:drupal.git] / docs / sites / all / modules / contrib / total_control / views / control_files.view
1 <?php
2
3 /**
4  * @file control_files.view
5  *
6  * Default view for administration of files. Contains page display only.
7  *
8  */
9  
10 $view = new view;
11 $view->name = 'control_files';
12 $view->description = 'Total Control over files: Contains a panel pane and a page to control files.';
13 $view->tag = 'total_control';
14 $view->base_table = 'file_managed';
15 $view->human_name = '';
16 $view->core = 0;
17 $view->api_version = '3.0';
18 $view->disabled = TRUE; /* Edit this to true to make a default view disabled initially */
19 /* Display: Defaults */
20 $handler = $view->new_display('default', 'Defaults', 'default');
21 $handler->display->display_options['title'] = 'Files';
22 $handler->display->display_options['access']['type'] = 'perm';
23 $handler->display->display_options['access']['perm'] = 'have total control';
24 $handler->display->display_options['cache']['type'] = 'none';
25 $handler->display->display_options['query']['type'] = 'views_query';
26 $handler->display->display_options['query']['options']['query_comment'] = FALSE;
27 $handler->display->display_options['exposed_form']['type'] = 'basic';
28 $handler->display->display_options['pager']['type'] = 'full';
29 $handler->display->display_options['pager']['options']['items_per_page'] = '35';
30 $handler->display->display_options['pager']['options']['offset'] = '0';
31 $handler->display->display_options['pager']['options']['id'] = '0';
32 $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0;
33 $handler->display->display_options['style_plugin'] = 'default';
34 $handler->display->display_options['row_plugin'] = 'fields';
35 /* Field: File: Path */
36 $handler->display->display_options['fields']['uri']['id'] = 'uri';
37 $handler->display->display_options['fields']['uri']['table'] = 'file_managed';
38 $handler->display->display_options['fields']['uri']['field'] = 'uri';
39 $handler->display->display_options['fields']['uri']['alter']['alter_text'] = 0;
40 $handler->display->display_options['fields']['uri']['alter']['make_link'] = 0;
41 $handler->display->display_options['fields']['uri']['alter']['absolute'] = 0;
42 $handler->display->display_options['fields']['uri']['alter']['external'] = 0;
43 $handler->display->display_options['fields']['uri']['alter']['replace_spaces'] = 0;
44 $handler->display->display_options['fields']['uri']['alter']['trim_whitespace'] = 0;
45 $handler->display->display_options['fields']['uri']['alter']['nl2br'] = 0;
46 $handler->display->display_options['fields']['uri']['alter']['word_boundary'] = 1;
47 $handler->display->display_options['fields']['uri']['alter']['ellipsis'] = 1;
48 $handler->display->display_options['fields']['uri']['alter']['strip_tags'] = 0;
49 $handler->display->display_options['fields']['uri']['alter']['trim'] = 0;
50 $handler->display->display_options['fields']['uri']['alter']['html'] = 0;
51 $handler->display->display_options['fields']['uri']['element_label_colon'] = 1;
52 $handler->display->display_options['fields']['uri']['element_default_classes'] = 1;
53 $handler->display->display_options['fields']['uri']['hide_empty'] = 0;
54 $handler->display->display_options['fields']['uri']['empty_zero'] = 0;
55 $handler->display->display_options['fields']['uri']['hide_alter_empty'] = 1;
56 $handler->display->display_options['fields']['uri']['link_to_file'] = 0;
57 $handler->display->display_options['fields']['uri']['file_download_path'] = 0;
58 /* Field: File: Upload date */
59 $handler->display->display_options['fields']['timestamp']['id'] = 'timestamp';
60 $handler->display->display_options['fields']['timestamp']['table'] = 'file_managed';
61 $handler->display->display_options['fields']['timestamp']['field'] = 'timestamp';
62 $handler->display->display_options['fields']['timestamp']['alter']['alter_text'] = 0;
63 $handler->display->display_options['fields']['timestamp']['alter']['make_link'] = 0;
64 $handler->display->display_options['fields']['timestamp']['alter']['word_boundary'] = 1;
65 $handler->display->display_options['fields']['timestamp']['alter']['ellipsis'] = 1;
66 $handler->display->display_options['fields']['timestamp']['alter']['trim'] = 0;
67 $handler->display->display_options['fields']['timestamp']['alter']['html'] = 0;
68 $handler->display->display_options['fields']['timestamp']['date_format'] = 'custom';
69 $handler->display->display_options['fields']['timestamp']['custom_date_format'] = 'm/d/Y';
70 /* Field: File: Mime type */
71 $handler->display->display_options['fields']['filemime']['id'] = 'filemime';
72 $handler->display->display_options['fields']['filemime']['table'] = 'file_managed';
73 $handler->display->display_options['fields']['filemime']['field'] = 'filemime';
74 $handler->display->display_options['fields']['filemime']['label'] = 'Type';
75 $handler->display->display_options['fields']['filemime']['alter']['alter_text'] = 0;
76 $handler->display->display_options['fields']['filemime']['alter']['make_link'] = 0;
77 $handler->display->display_options['fields']['filemime']['alter']['word_boundary'] = 1;
78 $handler->display->display_options['fields']['filemime']['alter']['ellipsis'] = 1;
79 $handler->display->display_options['fields']['filemime']['alter']['trim'] = 0;
80 $handler->display->display_options['fields']['filemime']['alter']['html'] = 0;
81 $handler->display->display_options['fields']['filemime']['link_to_file'] = 0;
82 /* Field: File: Size */
83 $handler->display->display_options['fields']['filesize']['id'] = 'filesize';
84 $handler->display->display_options['fields']['filesize']['table'] = 'file_managed';
85 $handler->display->display_options['fields']['filesize']['field'] = 'filesize';
86 $handler->display->display_options['fields']['filesize']['alter']['alter_text'] = 0;
87 $handler->display->display_options['fields']['filesize']['alter']['make_link'] = 0;
88 $handler->display->display_options['fields']['filesize']['alter']['word_boundary'] = 1;
89 $handler->display->display_options['fields']['filesize']['alter']['ellipsis'] = 1;
90 $handler->display->display_options['fields']['filesize']['alter']['trim'] = 0;
91 $handler->display->display_options['fields']['filesize']['alter']['html'] = 0;
92 /* Sort criterion: File: Upload date */
93 $handler->display->display_options['sorts']['timestamp']['id'] = 'timestamp';
94 $handler->display->display_options['sorts']['timestamp']['table'] = 'file_managed';
95 $handler->display->display_options['sorts']['timestamp']['field'] = 'timestamp';
96 $handler->display->display_options['sorts']['timestamp']['order'] = 'DESC';
97 /* Filter criterion: File: Status */
98 $handler->display->display_options['filters']['status']['id'] = 'status';
99 $handler->display->display_options['filters']['status']['table'] = 'file_managed';
100 $handler->display->display_options['filters']['status']['field'] = 'status';
101 $handler->display->display_options['filters']['status']['value'] = array(
102   1 => '1',
103 );
104 $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
105
106 /* Display: Page */
107 $handler = $view->new_display('page', 'Page', 'page_1');
108 $handler->display->display_options['defaults']['pager'] = FALSE;
109 $handler->display->display_options['pager']['type'] = 'full';
110 $handler->display->display_options['pager']['options']['items_per_page'] = '35';
111 $handler->display->display_options['pager']['options']['offset'] = '0';
112 $handler->display->display_options['pager']['options']['id'] = '0';
113 $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all'] = 0;
114 $handler->display->display_options['defaults']['style_plugin'] = FALSE;
115 $handler->display->display_options['style_plugin'] = 'table';
116 $handler->display->display_options['style_options']['columns'] = array(
117   'uri' => 'uri',
118   'timestamp' => 'timestamp',
119   'filemime' => 'filemime',
120   'filesize' => 'filesize',
121 );
122 $handler->display->display_options['style_options']['default'] = '-1';
123 $handler->display->display_options['style_options']['info'] = array(
124   'uri' => array(
125     'sortable' => 1,
126     'default_sort_order' => 'asc',
127     'align' => '',
128     'separator' => '',
129     'empty_column' => 0,
130   ),
131   'timestamp' => array(
132     'sortable' => 1,
133     'default_sort_order' => 'asc',
134     'align' => '',
135     'separator' => '',
136     'empty_column' => 0,
137   ),
138   'filemime' => array(
139     'sortable' => 1,
140     'default_sort_order' => 'asc',
141     'align' => '',
142     'separator' => '',
143     'empty_column' => 0,
144   ),
145   'filesize' => array(
146     'sortable' => 1,
147     'default_sort_order' => 'asc',
148     'align' => '',
149     'separator' => '',
150     'empty_column' => 0,
151   ),
152 );
153 $handler->display->display_options['style_options']['override'] = 1;
154 $handler->display->display_options['style_options']['sticky'] = 0;
155 $handler->display->display_options['style_options']['empty_table'] = 0;
156 $handler->display->display_options['defaults']['style_options'] = FALSE;
157 $handler->display->display_options['defaults']['row_plugin'] = FALSE;
158 $handler->display->display_options['defaults']['row_options'] = FALSE;
159 $handler->display->display_options['defaults']['filters'] = FALSE;
160 /* Filter criterion: File: Mime type */
161 $handler->display->display_options['filters']['filemime']['id'] = 'filemime';
162 $handler->display->display_options['filters']['filemime']['table'] = 'file_managed';
163 $handler->display->display_options['filters']['filemime']['field'] = 'filemime';
164 $handler->display->display_options['filters']['filemime']['operator'] = 'contains';
165 $handler->display->display_options['filters']['filemime']['group'] = 0;
166 $handler->display->display_options['filters']['filemime']['exposed'] = TRUE;
167 $handler->display->display_options['filters']['filemime']['expose']['operator_id'] = 'filemime_op';
168 $handler->display->display_options['filters']['filemime']['expose']['label'] = 'Type';
169 $handler->display->display_options['filters']['filemime']['expose']['operator'] = 'filemime_op';
170 $handler->display->display_options['filters']['filemime']['expose']['identifier'] = 'filemime';
171 $handler->display->display_options['path'] = 'admin/dashboard/files';
172 $handler->display->display_options['menu']['type'] = 'tab';
173 $handler->display->display_options['menu']['title'] = 'Files';
174 $handler->display->display_options['menu']['weight'] = '-16';
175
176 /* Display: Panel pane */
177 $handler = $view->new_display('panel_pane', 'Panel pane', 'panel_pane_1');
178 $handler->display->display_options['defaults']['title'] = FALSE;
179 $handler->display->display_options['title'] = 'New Files';
180 $handler->display->display_options['defaults']['use_more'] = FALSE;
181 $handler->display->display_options['use_more'] = TRUE;
182 $handler->display->display_options['defaults']['pager'] = FALSE;
183 $handler->display->display_options['pager']['type'] = 'some';
184 $handler->display->display_options['pager']['options']['items_per_page'] = '10';
185 $handler->display->display_options['pager']['options']['offset'] = '0';
186 $handler->display->display_options['defaults']['style_plugin'] = FALSE;
187 $handler->display->display_options['style_plugin'] = 'list';
188 $handler->display->display_options['defaults']['style_options'] = FALSE;
189 $handler->display->display_options['defaults']['row_plugin'] = FALSE;
190 $handler->display->display_options['row_plugin'] = 'fields';
191 $handler->display->display_options['row_options']['inline'] = array(
192   'timestamp' => 'timestamp',
193   'filesize' => 'filesize',
194 );
195 $handler->display->display_options['row_options']['hide_empty'] = 0;
196 $handler->display->display_options['row_options']['default_field_elements'] = 1;
197 $handler->display->display_options['defaults']['row_options'] = FALSE;
198 $handler->display->display_options['defaults']['fields'] = FALSE;
199 /* Field: File: Path */
200 $handler->display->display_options['fields']['uri']['id'] = 'uri';
201 $handler->display->display_options['fields']['uri']['table'] = 'file_managed';
202 $handler->display->display_options['fields']['uri']['field'] = 'uri';
203 $handler->display->display_options['fields']['uri']['label'] = '';
204 $handler->display->display_options['fields']['uri']['alter']['alter_text'] = 0;
205 $handler->display->display_options['fields']['uri']['alter']['make_link'] = 0;
206 $handler->display->display_options['fields']['uri']['alter']['absolute'] = 0;
207 $handler->display->display_options['fields']['uri']['alter']['external'] = 0;
208 $handler->display->display_options['fields']['uri']['alter']['replace_spaces'] = 0;
209 $handler->display->display_options['fields']['uri']['alter']['trim_whitespace'] = 0;
210 $handler->display->display_options['fields']['uri']['alter']['nl2br'] = 0;
211 $handler->display->display_options['fields']['uri']['alter']['word_boundary'] = 1;
212 $handler->display->display_options['fields']['uri']['alter']['ellipsis'] = 1;
213 $handler->display->display_options['fields']['uri']['alter']['strip_tags'] = 0;
214 $handler->display->display_options['fields']['uri']['alter']['trim'] = 0;
215 $handler->display->display_options['fields']['uri']['alter']['html'] = 0;
216 $handler->display->display_options['fields']['uri']['element_label_colon'] = FALSE;
217 $handler->display->display_options['fields']['uri']['element_default_classes'] = 1;
218 $handler->display->display_options['fields']['uri']['hide_empty'] = 0;
219 $handler->display->display_options['fields']['uri']['empty_zero'] = 0;
220 $handler->display->display_options['fields']['uri']['hide_alter_empty'] = 1;
221 $handler->display->display_options['fields']['uri']['link_to_file'] = 0;
222 $handler->display->display_options['fields']['uri']['file_download_path'] = 0;
223 /* Field: File: Upload date */
224 $handler->display->display_options['fields']['timestamp']['id'] = 'timestamp';
225 $handler->display->display_options['fields']['timestamp']['table'] = 'file_managed';
226 $handler->display->display_options['fields']['timestamp']['field'] = 'timestamp';
227 $handler->display->display_options['fields']['timestamp']['label'] = '';
228 $handler->display->display_options['fields']['timestamp']['alter']['alter_text'] = 0;
229 $handler->display->display_options['fields']['timestamp']['alter']['make_link'] = 0;
230 $handler->display->display_options['fields']['timestamp']['alter']['word_boundary'] = 1;
231 $handler->display->display_options['fields']['timestamp']['alter']['ellipsis'] = 1;
232 $handler->display->display_options['fields']['timestamp']['alter']['trim'] = 0;
233 $handler->display->display_options['fields']['timestamp']['alter']['html'] = 0;
234 $handler->display->display_options['fields']['timestamp']['date_format'] = 'time ago';
235 /* Field: File: Size */
236 $handler->display->display_options['fields']['filesize']['id'] = 'filesize';
237 $handler->display->display_options['fields']['filesize']['table'] = 'file_managed';
238 $handler->display->display_options['fields']['filesize']['field'] = 'filesize';
239 $handler->display->display_options['fields']['filesize']['label'] = '';
240 $handler->display->display_options['fields']['filesize']['alter']['alter_text'] = 0;
241 $handler->display->display_options['fields']['filesize']['alter']['make_link'] = 0;
242 $handler->display->display_options['fields']['filesize']['alter']['word_boundary'] = 1;
243 $handler->display->display_options['fields']['filesize']['alter']['ellipsis'] = 1;
244 $handler->display->display_options['fields']['filesize']['alter']['trim'] = 0;
245 $handler->display->display_options['fields']['filesize']['alter']['html'] = 0;
246 $handler->display->display_options['pane_title'] = 'New Files';
247 $handler->display->display_options['pane_description'] = 'Total Control file summary';
248 $handler->display->display_options['pane_category']['name'] = 'Total Control';
249 $handler->display->display_options['pane_category']['weight'] = '0';
250 $handler->display->display_options['allow']['use_pager'] = 0;
251 $handler->display->display_options['allow']['items_per_page'] = 'items_per_page';
252 $handler->display->display_options['allow']['offset'] = 0;
253 $handler->display->display_options['allow']['link_to_view'] = 0;
254 $handler->display->display_options['allow']['more_link'] = 0;
255 $handler->display->display_options['allow']['path_override'] = 0;
256 $handler->display->display_options['allow']['title_override'] = 0;
257 $handler->display->display_options['allow']['exposed_form'] = 0;
258 $handler->display->display_options['allow']['fields_override'] = 0;