source: WAeUP_SRP/trunk/profiles/default/layouts/navigation_portlet.xml @ 17937

Last change on this file since 17937 was 3689, checked in by Henrik Bettermann, 16 years ago

New BASE and EXTENSION profiles

File size: 12.3 KB
RevLine 
[3689]1<?xml version="1.0"?>
2<object name="navigation_portlet" meta_type="CPS Layout">
3 <property name="layout_create_method"></property>
4 <property name="layout_edit_method"></property>
5 <property name="layout_view_method"></property>
6 <property name="style_prefix">layout_portlet_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="authorized_only" meta_type="Boolean Widget">
10  <property name="fields">
11   <element value="authorized_only"/>
12  </property>
13  <property
14     name="label_edit">cpsportlets_navigation_authorized_only_label</property>
15  <property name="is_i18n">True</property>
16  <property name="hidden_layout_modes">
17   <element value="view"/>
18  </property>
19  <property
20     name="hidden_if_expr">python: context.display != 'extended_site_map'</property>
21 </widget>
22 <widget name="context_is_portlet" meta_type="CheckBox Widget">
23  <property name="fields">
24   <element value="context_is_portlet"/>
25  </property>
26  <property
27     name="label_edit">cpsportlets_nav_context_is_portlet_label</property>
28  <property name="is_i18n">True</property>
29  <property name="readonly_layout_modes"/>
30  <property name="hidden_layout_modes">
31   <element value="view"/>
32  </property>
33  <property name="hidden_readonly_layout_modes"/>
34  <property
35     name="hidden_if_expr">python: context.display not in ['folder_contents', 'folder_contents_dropdown_list']</property>
36 </widget>
37 <widget name="context_rpath" meta_type="String Widget">
38  <property name="fields">
39   <element value="context_rpath"/>
40  </property>
41  <property name="label_edit">cpsportlets_nav_context_rpath_label</property>
42  <property name="is_i18n">True</property>
43  <property name="readonly_layout_modes"/>
44  <property name="hidden_layout_modes">
45   <element value="view"/>
46  </property>
47  <property name="hidden_readonly_layout_modes"/>
48  <property
49     name="hidden_if_expr">python: context.display not in ['folder_contents', 'folder_contents_dropdown_list'] or context.context_is_portlet</property>
50  <property name="display_width">30</property>
51 </widget>
52 <widget name="contextual" meta_type="Boolean Widget">
53  <property name="fields">
54   <element value="contextual"/>
55  </property>
56  <property
57     name="label_edit">cpsportlets_navigation_contextual_label</property>
58  <property name="is_i18n">True</property>
59  <property name="readonly_layout_modes"/>
60  <property name="hidden_layout_modes">
61   <element value="view"/>
62  </property>
63  <property name="hidden_readonly_layout_modes"/>
64  <property
65     name="hidden_if_expr">python: context.display in ['vertical_breadcrumbs_menu', 'folder_contents', 'folder_contents_detailed', 'subfolder_contents', 'site_map', 'site_map_3_tabs', 'collapsible_menu', 'up_to_parent', 'folder_contents_dropdown_list']</property>
66 </widget>
67 <widget name="display" meta_type="Select Widget">
68  <property name="fields">
69   <element value="display"/>
70  </property>
71  <property name="label_edit">cpsportlets_display_mode_label</property>
72  <property name="help">cpsportlets_display_mode_help</property>
73  <property name="is_i18n">True</property>
74  <property name="hidden_layout_modes">
75   <element value="view"/>
76  </property>
77  <property name="vocabulary">cpsportlets_navigation_display_voc</property>
78  <property name="translated">True</property>
79 </widget>
80 <widget name="display_description" meta_type="Boolean Widget">
81  <property name="fields">
82   <element value="display_description"/>
83  </property>
84  <property
85     name="label_edit">cpsportlets_navigation_display_description_label</property>
86  <property name="is_i18n">True</property>
87  <property name="readonly_layout_modes"/>
88  <property name="hidden_layout_modes">
89   <element value="view"/>
90  </property>
91  <property name="hidden_readonly_layout_modes"/>
92  <property
93     name="hidden_if_expr">python: context.display not in ['extended_site_map', 'site_map', 'site_map_3_tabs', 'folder_contents', 'subfolder_contents', 'navigation_tree', 'collapsible_menu']</property>
94 </widget>
95 <widget name="display_hidden_folders" meta_type="Boolean Widget">
96  <property name="fields">
97   <element value="display_hidden_folders"/>
98  </property>
99  <property
100     name="label_edit">cpsportlets_navigation_display_hidden_folders_label</property>
101  <property name="is_i18n">True</property>
102  <property name="readonly_layout_modes"/>
103  <property name="hidden_layout_modes">
104   <element value="view"/>
105  </property>
106  <property name="hidden_readonly_layout_modes"/>
107  <property
108     name="hidden_if_expr">python: context.display in ['up_to_parent' , 'folder_contents_detailed']</property>
109 </widget>
110 <widget name="display_managers" meta_type="Boolean Widget">
111  <property name="fields">
112   <element value="display_managers"/>
113  </property>
114  <property
115     name="label_edit">cpsportlets_navigation_display_managers_label</property>
116  <property name="is_i18n">True</property>
117  <property name="hidden_layout_modes">
118   <element value="view"/>
119  </property>
120  <property
121     name="hidden_if_expr">python: context.display != 'extended_site_map'</property>
122 </widget>
123 <widget name="end_depth" meta_type="Int Widget">
124  <property name="fields">
125   <element value="end_depth"/>
126  </property>
127  <property
128     name="label_edit">cpsportlets_navigation_end_depth_label</property>
129  <property name="is_i18n">True</property>
130  <property name="readonly_layout_modes"/>
131  <property name="hidden_layout_modes">
132   <element value="view"/>
133  </property>
134  <property name="hidden_readonly_layout_modes"/>
135  <property
136     name="hidden_if_expr">python: context.display in ['folder_contents', 'subfolder_contents', 'folder_contents_detailed', 'collapsible_menu', 'up_to_parent', 'folder_contents_dropdown_list']</property>
137 </widget>
138 <widget name="folder_prefixes" meta_type="Lines Widget">
139  <property name="fields">
140   <element value="folder_prefixes"/>
141  </property>
142  <property
143     name="label_edit">cpsportlets_navigation_folder_prefixes_label</property>
144  <property name="is_i18n">True</property>
145  <property name="readonly_layout_modes"/>
146  <property name="hidden_layout_modes">
147   <element value="view"/>
148  </property>
149  <property name="hidden_readonly_layout_modes"/>
150  <property
151     name="hidden_if_expr">python: context.display not in ['site_map', 'site_map_3_tabs']</property>
152 </widget>
153 <widget name="portlet" meta_type="Generic Portlet Widget">
154  <property name="fields">
155   <element value="portlet"/>
156  </property>
157  <property name="hidden_layout_modes">
158   <element value="edit"/>
159  </property>
160  <property name="render_method">widget_portlet_navigation</property>
161 </widget>
162 <widget name="rel_depth" meta_type="Int Widget">
163  <property name="fields">
164   <element value="rel_depth"/>
165  </property>
166  <property
167     name="label_edit">cpsportlets_navigation_rel_depth_label</property>
168  <property name="is_i18n">True</property>
169  <property name="readonly_layout_modes"/>
170  <property name="hidden_layout_modes">
171   <element value="view"/>
172  </property>
173  <property name="hidden_readonly_layout_modes"/>
174  <property
175     name="hidden_if_expr">python: context.display in ['folder_contents', 'subfolder_contents', 'navigation_tree', 'site_map', 'site_map_3_tabs', 'up_to_parent', 'folder_contents_detailed', 'folder_contents_dropdown_list']</property>
176 </widget>
177 <widget name="root_uids" meta_type="Lines Widget">
178  <property name="fields">
179   <element value="root_uids"/>
180  </property>
181  <property
182     name="label_edit">cpsportlets_navigation_root_uids_label</property>
183  <property name="is_i18n">True</property>
184  <property name="readonly_layout_modes"/>
185  <property name="hidden_layout_modes">
186   <element value="view"/>
187  </property>
188  <property name="hidden_readonly_layout_modes"/>
189  <property
190     name="hidden_if_expr">python: context.display in ['vertical_breadcrumbs_menu', 'folder_contents', 'folder_contents_detailed', 'up_to_parent', 'folder_contents_dropdown_list']</property>
191 </widget>
192 <widget name="short_syndication_formats" meta_type="CheckBox Widget">
193  <property name="fields">
194   <element value="short_syndication_formats"/>
195  </property>
196  <property
197     name="label_edit">cpsportlets_common_short_syndication_formats_label</property>
198  <property name="is_i18n">True</property>
199  <property name="hidden_layout_modes">
200   <element value="view"/>
201  </property>
202 </widget>
203 <widget name="show_docs" meta_type="Boolean Widget">
204  <property name="fields">
205   <element value="show_docs"/>
206  </property>
207  <property
208     name="label_edit">cpsportlets_navigation_show_docs_label</property>
209  <property name="is_i18n">True</property>
210  <property name="readonly_layout_modes"/>
211  <property name="hidden_layout_modes">
212   <element value="view"/>
213  </property>
214  <property name="hidden_readonly_layout_modes"/>
215  <property
216     name="hidden_if_expr">python: context.display not in ['folder_contents', 'collapsible_menu', 'folder_contents_dropdown_list']</property>
217 </widget>
218 <widget name="show_icons" meta_type="Boolean Widget">
219  <property name="fields">
220   <element value="show_icons"/>
221  </property>
222  <property
223     name="label_edit">cpsportlets_navigation_show_icons_label</property>
224  <property name="is_i18n">True</property>
225  <property name="readonly_layout_modes"/>
226  <property name="hidden_layout_modes">
227   <element value="view"/>
228  </property>
229  <property name="hidden_readonly_layout_modes"/>
230  <property
231     name="hidden_if_expr">python: context.display in ['vertical_breadcrumbs_menu', 'folder_contents', 'folder_contents_detailed', 'subfolder_contents', 'up_to_parent', 'folder_contents_dropdown_list']</property>
232 </widget>
233 <widget name="sort_by" meta_type="Select Widget">
234  <property name="fields">
235   <element value="sort_by"/>
236  </property>
237  <property name="label_edit">cpsportlets_navigation_sort_by_label</property>
238  <property name="is_i18n">True</property>
239  <property name="readonly_layout_modes"/>
240  <property name="hidden_layout_modes">
241   <element value="view"/>
242  </property>
243  <property name="hidden_readonly_layout_modes"/>
244  <property
245     name="hidden_if_expr">python: context.display not in ('folder_contents', 'collapsible_menu', 'folder_contents_dropdown_list')</property>
246  <property name="vocabulary">cpsportlets_folder_sorting_criteria</property>
247  <property name="translated">True</property>
248 </widget>
249 <widget name="sort_direction" meta_type="Select Widget">
250  <property name="fields">
251   <element value="sort_direction"/>
252  </property>
253  <property
254     name="label_edit">cpsportlets_navigation_sort_direction_label</property>
255  <property name="is_i18n">True</property>
256  <property name="readonly_layout_modes"/>
257  <property name="hidden_layout_modes">
258   <element value="view"/>
259  </property>
260  <property name="hidden_readonly_layout_modes"/>
261  <property
262     name="hidden_if_expr">python: context.display not in ('folder_contents', 'collapsible_menu', 'folder_contents_dropdown_list')  or not getattr(context, 'sort_by', '')</property>
263  <property name="vocabulary">cpsportlets_folder_sorting_direction</property>
264  <property name="translated">True</property>
265 </widget>
266 <widget name="syndication_formats" meta_type="MultiSelect Widget">
267  <property name="fields">
268   <element value="syndication_formats"/>
269  </property>
270  <property
271     name="label_edit">cpsportlets_common_syndication_formats_label</property>
272  <property name="is_i18n">True</property>
273  <property name="readonly_layout_modes"/>
274  <property name="hidden_layout_modes">
275   <element value="view"/>
276  </property>
277  <property name="hidden_readonly_layout_modes"/>
278  <property
279     name="hidden_if_expr">python: context.display not in ['folder_contents', 'folder_contents_detailed']</property>
280  <property name="vocabulary">cpsportlets_syndication_formats_voc</property>
281  <property name="translated">True</property>
282 </widget>
283 <table>
284  <row>
285   <cell name="portlet" ncols="6"/>
286  </row>
287  <row>
288   <cell name="display" ncols="6"/>
289  </row>
290  <row>
291   <cell name="root_uids"/>
292   <cell name="rel_depth"/>
293   <cell name="end_depth"/>
294   <cell name="contextual"/>
295   <cell name="context_is_portlet"/>
296   <cell name="context_rpath"/>
297  </row>
298  <row>
299   <cell name="folder_prefixes" ncols="6"/>
300  </row>
301  <row>
302   <cell name="show_docs"/>
303   <cell name="show_icons"/>
304   <cell name="display_hidden_folders" ncols="4"/>
305  </row>
306  <row>
307   <cell name="display_managers"/>
308   <cell name="display_description"/>
309   <cell name="authorized_only" ncols="4"/>
310  </row>
311  <row>
312   <cell name="syndication_formats" ncols="5"/>
313   <cell name="short_syndication_formats"/>
314  </row>
315  <row>
316   <cell name="sort_by" ncols="1"/>
317   <cell name="sort_direction" ncoles="5"/>
318  </row>
319 </table>
320</object>
Note: See TracBrowser for help on using the repository browser.