[3689] | 1 | <?xml version="1.0"?> |
---|
| 2 | <object name="rss_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="cache_timeout" meta_type="Int Widget"> |
---|
| 10 | <property name="fields"> |
---|
| 11 | <element value="cache_timeout"/> |
---|
| 12 | </property> |
---|
| 13 | <property name="is_required">True</property> |
---|
| 14 | <property name="is_limited">True</property> |
---|
| 15 | <property name="min_value">60</property> |
---|
| 16 | <property name="max_value">2000000000</property> |
---|
| 17 | <property |
---|
| 18 | name="label_edit">cpsportlets_rss_update_frequency_label</property> |
---|
| 19 | <property name="is_i18n">True</property> |
---|
| 20 | <property name="readonly_layout_modes"/> |
---|
| 21 | <property name="hidden_layout_modes"> |
---|
| 22 | <element value="view"/> |
---|
| 23 | </property> |
---|
| 24 | <property name="hidden_readonly_layout_modes"/> |
---|
| 25 | </widget> |
---|
| 26 | <widget name="channel" meta_type="Select Widget"> |
---|
| 27 | <property name="fields"> |
---|
| 28 | <element value="channel"/> |
---|
| 29 | </property> |
---|
| 30 | <property name="label_edit">cpsportlets_rss_channel_label</property> |
---|
| 31 | <property name="is_i18n">True</property> |
---|
| 32 | <property name="readonly_layout_modes"/> |
---|
| 33 | <property name="hidden_layout_modes"> |
---|
| 34 | <element value="view"/> |
---|
| 35 | </property> |
---|
| 36 | <property name="hidden_readonly_layout_modes"/> |
---|
| 37 | <property name="vocabulary">cpsportlets_rss_channels_voc</property> |
---|
| 38 | </widget> |
---|
| 39 | <widget name="display_description" meta_type="Boolean Widget"> |
---|
| 40 | <property name="fields"> |
---|
| 41 | <element value="display_description"/> |
---|
| 42 | </property> |
---|
| 43 | <property |
---|
| 44 | name="label_edit">cpsportlets_common_display_description_label</property> |
---|
| 45 | <property name="is_i18n">True</property> |
---|
| 46 | <property name="readonly_layout_modes"/> |
---|
| 47 | <property name="hidden_layout_modes"> |
---|
| 48 | <element value="view"/> |
---|
| 49 | </property> |
---|
| 50 | <property name="hidden_readonly_layout_modes"/> |
---|
| 51 | <property name="hidden_if_expr">context/render_method</property> |
---|
| 52 | </widget> |
---|
| 53 | <widget name="first_item" meta_type="Int Widget"> |
---|
| 54 | <property name="fields"> |
---|
| 55 | <element value="first_item"/> |
---|
| 56 | </property> |
---|
| 57 | <property name="label_edit">cpsportlets_common_first_item_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 name="is_limited">True</property> |
---|
| 65 | <property name="min_value">1</property> |
---|
| 66 | <property name="max_value">15</property> |
---|
| 67 | </widget> |
---|
| 68 | <widget name="link_string" meta_type="String Widget"> |
---|
| 69 | <property name="fields"> |
---|
| 70 | <element value="link_string"/> |
---|
| 71 | </property> |
---|
| 72 | <property name="label_edit">cpsportlets_common_link_string_label</property> |
---|
| 73 | <property name="is_i18n">True</property> |
---|
| 74 | <property name="readonly_layout_modes"/> |
---|
| 75 | <property name="hidden_layout_modes"> |
---|
| 76 | <element value="view"/> |
---|
| 77 | </property> |
---|
| 78 | <property name="hidden_readonly_layout_modes"/> |
---|
| 79 | <property name="hidden_if_expr">context/render_method</property> |
---|
| 80 | </widget> |
---|
| 81 | <widget name="max_items" meta_type="Int Widget"> |
---|
| 82 | <property name="fields"> |
---|
| 83 | <element value="max_items"/> |
---|
| 84 | </property> |
---|
| 85 | <property name="label_edit">cpsportlets_common_max_items_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 name="min_value">1</property> |
---|
| 93 | <property name="max_value">15</property> |
---|
| 94 | </widget> |
---|
| 95 | <widget name="max_words" meta_type="Int Widget"> |
---|
| 96 | <property name="fields"> |
---|
| 97 | <element value="max_words"/> |
---|
| 98 | </property> |
---|
| 99 | <property name="label_edit">cpsportlets_rss_max_words_label</property> |
---|
| 100 | <property name="is_i18n">True</property> |
---|
| 101 | <property name="readonly_layout_modes"/> |
---|
| 102 | <property name="hidden_layout_modes"> |
---|
| 103 | <element value="view"/> |
---|
| 104 | </property> |
---|
| 105 | <property name="hidden_readonly_layout_modes"/> |
---|
| 106 | <property name="hidden_if_expr">not:context/display_description</property> |
---|
| 107 | </widget> |
---|
| 108 | <widget name="portlet" meta_type="Generic Portlet Widget"> |
---|
| 109 | <property name="fields"> |
---|
| 110 | <element value="portlet"/> |
---|
| 111 | </property> |
---|
| 112 | <property name="readonly_layout_modes"/> |
---|
| 113 | <property name="hidden_layout_modes"> |
---|
| 114 | <element value="edit"/> |
---|
| 115 | </property> |
---|
| 116 | <property name="hidden_readonly_layout_modes"/> |
---|
| 117 | <property name="render_method">widget_portlet_rss</property> |
---|
| 118 | </widget> |
---|
| 119 | <widget name="render_method" meta_type="String Widget"> |
---|
| 120 | <property name="fields"> |
---|
| 121 | <element value="render_method"/> |
---|
| 122 | </property> |
---|
| 123 | <property |
---|
| 124 | name="label_edit">cpsportlets_common_render_method_label</property> |
---|
| 125 | <property name="is_i18n">True</property> |
---|
| 126 | <property name="hidden_layout_modes"> |
---|
| 127 | <element value="view"/> |
---|
| 128 | </property> |
---|
| 129 | <property name="display_width">30</property> |
---|
| 130 | </widget> |
---|
| 131 | <widget name="short_syndication_formats" meta_type="CheckBox Widget"> |
---|
| 132 | <property name="fields"> |
---|
| 133 | <element value="short_syndication_formats"/> |
---|
| 134 | </property> |
---|
| 135 | <property |
---|
| 136 | name="label_edit">cpsportlets_common_short_syndication_formats_label</property> |
---|
| 137 | <property name="is_i18n">True</property> |
---|
| 138 | <property name="hidden_layout_modes"> |
---|
| 139 | <element value="view"/> |
---|
| 140 | </property> |
---|
| 141 | </widget> |
---|
| 142 | <widget name="syndication_formats" meta_type="MultiSelect Widget"> |
---|
| 143 | <property name="fields"> |
---|
| 144 | <element value="syndication_formats"/> |
---|
| 145 | </property> |
---|
| 146 | <property |
---|
| 147 | name="label_edit">cpsportlets_common_syndication_formats_label</property> |
---|
| 148 | <property name="is_i18n">True</property> |
---|
| 149 | <property name="hidden_layout_modes"> |
---|
| 150 | <element value="view"/> |
---|
| 151 | </property> |
---|
| 152 | <property name="vocabulary">cpsportlets_syndication_formats_voc</property> |
---|
| 153 | <property name="translated">True</property> |
---|
| 154 | </widget> |
---|
| 155 | <table> |
---|
| 156 | <row> |
---|
| 157 | <cell name="portlet" ncols="2"/> |
---|
| 158 | </row> |
---|
| 159 | <row> |
---|
| 160 | <cell name="channel" ncols="2"/> |
---|
| 161 | </row> |
---|
| 162 | <row> |
---|
| 163 | <cell name="cache_timeout" ncols="2"/> |
---|
| 164 | </row> |
---|
| 165 | <row> |
---|
| 166 | <cell name="render_method" ncols="2"/> |
---|
| 167 | </row> |
---|
| 168 | <row> |
---|
| 169 | <cell name="display_description" ncols="2"/> |
---|
| 170 | </row> |
---|
| 171 | <row> |
---|
| 172 | <cell name="first_item" ncols="2"/> |
---|
| 173 | </row> |
---|
| 174 | <row> |
---|
| 175 | <cell name="max_items" ncols="2"/> |
---|
| 176 | </row> |
---|
| 177 | <row> |
---|
| 178 | <cell name="max_words" ncols="2"/> |
---|
| 179 | </row> |
---|
| 180 | <row> |
---|
| 181 | <cell name="link_string" ncols="2"/> |
---|
| 182 | </row> |
---|
| 183 | <row> |
---|
| 184 | <cell name="syndication_formats"/> |
---|
| 185 | <cell name="short_syndication_formats"/> |
---|
| 186 | </row> |
---|
| 187 | </table> |
---|
| 188 | </object> |
---|