| 1 | <configure xmlns="http://namespaces.zope.org/zope" |
|---|
| 2 | xmlns:browser="http://namespaces.zope.org/browser" |
|---|
| 3 | xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc" |
|---|
| 4 | xmlns:view="http://namespaces.zope.org/view" |
|---|
| 5 | i18n_domain="eduCommons"> |
|---|
| 6 | |
|---|
| 7 | <include package=".templates" /> |
|---|
| 8 | <include package="plone.app.contentmenu" /> |
|---|
| 9 | |
|---|
| 10 | <utility |
|---|
| 11 | provides="collective.imstransport.utilities.interfaces.IIMSManifestWriter" |
|---|
| 12 | factory="enpraxis.educommons.utilities.ccwriter.IMSCCWriter" |
|---|
| 13 | name="eduCommons Common Cartridge" |
|---|
| 14 | /> |
|---|
| 15 | |
|---|
| 16 | <browser:page |
|---|
| 17 | name="order_courseobjs" |
|---|
| 18 | for="Products.CMFCore.interfaces.IFolderish" |
|---|
| 19 | class=".foldercontents.OrderContentsView" |
|---|
| 20 | template="./order_objs.pt" |
|---|
| 21 | permission="zope2.View" |
|---|
| 22 | /> |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | <browser:page |
|---|
| 26 | name="Course_Nav_position" |
|---|
| 27 | for="*" |
|---|
| 28 | class=".PositionView" |
|---|
| 29 | permission="zope2.View" |
|---|
| 30 | /> |
|---|
| 31 | |
|---|
| 32 | <browser:page |
|---|
| 33 | name="rss" |
|---|
| 34 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
|---|
| 35 | class=".RSSView" |
|---|
| 36 | template="rss.pt" |
|---|
| 37 | permission="zope2.View" |
|---|
| 38 | /> |
|---|
| 39 | |
|---|
| 40 | <browser:page |
|---|
| 41 | name="rss" |
|---|
| 42 | for="enpraxis.educommons.interfaces.ICoursesTopic" |
|---|
| 43 | class=".RSSView" |
|---|
| 44 | template="rss.pt" |
|---|
| 45 | permission="zope2.View" |
|---|
| 46 | /> |
|---|
| 47 | |
|---|
| 48 | <browser:page |
|---|
| 49 | name="rss" |
|---|
| 50 | for="enpraxis.educommons.interfaces.IDivision" |
|---|
| 51 | class=".RSSView" |
|---|
| 52 | template="rss.pt" |
|---|
| 53 | permission="zope2.View" |
|---|
| 54 | /> |
|---|
| 55 | |
|---|
| 56 | <browser:page |
|---|
| 57 | name="rss" |
|---|
| 58 | for="enpraxis.educommons.interfaces.ICourse" |
|---|
| 59 | class=".RSSView" |
|---|
| 60 | template="rss.pt" |
|---|
| 61 | permission="zope2.View" |
|---|
| 62 | /> |
|---|
| 63 | |
|---|
| 64 | <browser:page |
|---|
| 65 | name="rss_feeds" |
|---|
| 66 | for="*" |
|---|
| 67 | template="rss_questions.pt" |
|---|
| 68 | permission="zope2.View" |
|---|
| 69 | /> |
|---|
| 70 | |
|---|
| 71 | <browser:page |
|---|
| 72 | name="rss_template" |
|---|
| 73 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
|---|
| 74 | template="rss_template.pt" |
|---|
| 75 | permission="zope2.View" |
|---|
| 76 | /> |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | <browser:page |
|---|
| 80 | name="rss_template" |
|---|
| 81 | for="enpraxis.educommons.interfaces.ICoursesTopic" |
|---|
| 82 | template="rss_template.pt" |
|---|
| 83 | permission="zope2.View" |
|---|
| 84 | /> |
|---|
| 85 | |
|---|
| 86 | |
|---|
| 87 | <browser:page |
|---|
| 88 | name="rss_template" |
|---|
| 89 | for="enpraxis.educommons.interfaces.IDivision" |
|---|
| 90 | template="rss_template.pt" |
|---|
| 91 | permission="zope2.View" |
|---|
| 92 | /> |
|---|
| 93 | |
|---|
| 94 | <browser:page |
|---|
| 95 | name="rss_template" |
|---|
| 96 | for="enpraxis.educommons.interfaces.ICourse" |
|---|
| 97 | template="rss_template.pt" |
|---|
| 98 | permission="zope2.View" |
|---|
| 99 | /> |
|---|
| 100 | |
|---|
| 101 | |
|---|
| 102 | <browser:page |
|---|
| 103 | name="rss_all" |
|---|
| 104 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
|---|
| 105 | class=".RSSView" |
|---|
| 106 | template="rss_all.pt" |
|---|
| 107 | permission="zope2.View" |
|---|
| 108 | /> |
|---|
| 109 | |
|---|
| 110 | <browser:page |
|---|
| 111 | name="rss_all_template" |
|---|
| 112 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
|---|
| 113 | template="rss_all_template.pt" |
|---|
| 114 | permission="zope2.View" |
|---|
| 115 | /> |
|---|
| 116 | |
|---|
| 117 | <browser:page |
|---|
| 118 | for="*" |
|---|
| 119 | class=".summarycontents.SummaryContentsView" |
|---|
| 120 | name="summary_contents" |
|---|
| 121 | template="foldercontents.pt" |
|---|
| 122 | permission="cmf.ListFolderContents" |
|---|
| 123 | /> |
|---|
| 124 | |
|---|
| 125 | <browser:page |
|---|
| 126 | for="*" |
|---|
| 127 | name="search_view" |
|---|
| 128 | class=".searchview.SearchView" |
|---|
| 129 | allowed_attributes="generateEmailList copyrightClearedOnObj changeStateEvent notifyDeleteObjectEvent changeNav" |
|---|
| 130 | permission="zope2.View" |
|---|
| 131 | /> |
|---|
| 132 | |
|---|
| 133 | <browser:page |
|---|
| 134 | for="*" |
|---|
| 135 | name="change_copyright_view" |
|---|
| 136 | class=".copyrightview.CopyrightView" |
|---|
| 137 | allowed_attributes="changeCopyright" |
|---|
| 138 | permission="zope2.View" |
|---|
| 139 | /> |
|---|
| 140 | |
|---|
| 141 | <browser:page |
|---|
| 142 | for="*" |
|---|
| 143 | name="change_accessibility_view" |
|---|
| 144 | class=".accessibilityview.AccessibilityCompliantView" |
|---|
| 145 | allowed_attributes="changeAccessibility" |
|---|
| 146 | permission="zope2.View" |
|---|
| 147 | /> |
|---|
| 148 | |
|---|
| 149 | <browser:page |
|---|
| 150 | for="*" |
|---|
| 151 | name="package_course_view" |
|---|
| 152 | class=".packagecourseview.PackageCourseView" |
|---|
| 153 | allowed_attributes="createIMSFile" |
|---|
| 154 | permission="zope2.View" |
|---|
| 155 | /> |
|---|
| 156 | |
|---|
| 157 | <browser:page |
|---|
| 158 | for="*" |
|---|
| 159 | name="courseexportform" |
|---|
| 160 | class=".reusecourse.CourseExportForm" |
|---|
| 161 | permission="zope2.View" |
|---|
| 162 | /> |
|---|
| 163 | |
|---|
| 164 | <browser:page |
|---|
| 165 | for="*" |
|---|
| 166 | name="importPackage" |
|---|
| 167 | class=".reusecourse.XMLRPC" |
|---|
| 168 | attribute="importPackage" |
|---|
| 169 | permission="zope2.View" |
|---|
| 170 | /> |
|---|
| 171 | |
|---|
| 172 | |
|---|
| 173 | <browser:page |
|---|
| 174 | for="*" |
|---|
| 175 | name="retrieveDivisions" |
|---|
| 176 | class=".reusecourse.XMLRPC" |
|---|
| 177 | attribute="retrieveDivisions" |
|---|
| 178 | permission="zope2.View" |
|---|
| 179 | /> |
|---|
| 180 | |
|---|
| 181 | <browser:page |
|---|
| 182 | name="courses_listing" |
|---|
| 183 | title="Courses Listing" |
|---|
| 184 | menu="plone_displayviews" |
|---|
| 185 | for="..interfaces.ICoursesTopic" |
|---|
| 186 | template="courseslisting.pt" |
|---|
| 187 | permission="zope2.View" |
|---|
| 188 | /> |
|---|
| 189 | |
|---|
| 190 | <browser:page |
|---|
| 191 | name="profs_listing" |
|---|
| 192 | title="Courses by Professor" |
|---|
| 193 | menu="plone_displayviews" |
|---|
| 194 | for="..interfaces.ICoursesTopic" |
|---|
| 195 | class=".coursestopic.ProfCourseListView" |
|---|
| 196 | permission="zope2.View" |
|---|
| 197 | /> |
|---|
| 198 | |
|---|
| 199 | <browser:page |
|---|
| 200 | name="division_courses" |
|---|
| 201 | for="..interfaces.IDivision" |
|---|
| 202 | class=".coursestopic.DivisionCourseListView" |
|---|
| 203 | permission="zope2.View" |
|---|
| 204 | /> |
|---|
| 205 | |
|---|
| 206 | <browser:page |
|---|
| 207 | name="feedback_view" |
|---|
| 208 | title="Feedback" |
|---|
| 209 | menu="plone_displayviews" |
|---|
| 210 | for="*" |
|---|
| 211 | class=".feedbackform.FeedbackForm" |
|---|
| 212 | permission="zope2.View" |
|---|
| 213 | /> |
|---|
| 214 | |
|---|
| 215 | <browser:page |
|---|
| 216 | name="report_content" |
|---|
| 217 | for="*" |
|---|
| 218 | class=".reportcontentform.ReportContentForm" |
|---|
| 219 | permission="zope2.View" |
|---|
| 220 | /> |
|---|
| 221 | |
|---|
| 222 | |
|---|
| 223 | <browser:page |
|---|
| 224 | name="template_view" |
|---|
| 225 | for="*" |
|---|
| 226 | class=".templatechooser.TemplateForm" |
|---|
| 227 | permission="zope2.View" |
|---|
| 228 | /> |
|---|
| 229 | |
|---|
| 230 | <browser:page |
|---|
| 231 | name="skinless_byline_view" |
|---|
| 232 | for="collective.contentlicensing.DublinCoreExtensions.interfaces.ILicensable" |
|---|
| 233 | class=".CopyrightBylineView" |
|---|
| 234 | template="skinless_byline_view.pt" |
|---|
| 235 | permission="zope2.View" |
|---|
| 236 | /> |
|---|
| 237 | |
|---|
| 238 | <browser:page |
|---|
| 239 | name="skinless_view" |
|---|
| 240 | for="*" |
|---|
| 241 | class=".SkinlessView" |
|---|
| 242 | template="skinless_view.pt" |
|---|
| 243 | allowed_attributes="getSkinlessView" |
|---|
| 244 | permission="zope2.View" |
|---|
| 245 | /> |
|---|
| 246 | |
|---|
| 247 | <browser:page |
|---|
| 248 | name="clear_copyright" |
|---|
| 249 | for="..interfaces.IClearCopyrightable" |
|---|
| 250 | class=".ClearCopyrightField" |
|---|
| 251 | allowed_attributes="getClearedCopyright" |
|---|
| 252 | template="clear_copyright.pt" |
|---|
| 253 | permission="zope2.View" |
|---|
| 254 | /> |
|---|
| 255 | |
|---|
| 256 | <browser:page |
|---|
| 257 | name="accessibility_compliant" |
|---|
| 258 | for="..interfaces.IAccessibilityCompliantable" |
|---|
| 259 | class=".AccessibilityCompliantField" |
|---|
| 260 | allowed_attributes="getAccessibilityCompliant" |
|---|
| 261 | template="accessibility_compliant.pt" |
|---|
| 262 | permission="zope2.View" |
|---|
| 263 | /> |
|---|
| 264 | |
|---|
| 265 | <browser:page |
|---|
| 266 | name="sorted_course_listing" |
|---|
| 267 | for="..interfaces.IDivision" |
|---|
| 268 | class=".SortedCourseListingView" |
|---|
| 269 | template="sorted_course_listing.pt" |
|---|
| 270 | allowed_attributes="getSortedCourses" |
|---|
| 271 | permission="zope2.View" |
|---|
| 272 | /> |
|---|
| 273 | |
|---|
| 274 | <browser:page |
|---|
| 275 | name="sorted_cross_course_listing" |
|---|
| 276 | for="..interfaces.IDivision" |
|---|
| 277 | class=".SortedCrossCourseListingView" |
|---|
| 278 | template="sorted_cross_course_listing.pt" |
|---|
| 279 | allowed_attributes="getSortedCrossCourses" |
|---|
| 280 | permission="zope2.View" |
|---|
| 281 | /> |
|---|
| 282 | |
|---|
| 283 | <browser:page |
|---|
| 284 | name="sorted_resource_listing" |
|---|
| 285 | for="..interfaces.IDivision" |
|---|
| 286 | class=".SortedResourceListingView" |
|---|
| 287 | template="sorted_resource_listing.pt" |
|---|
| 288 | allowed_attributes="getSortedResources" |
|---|
| 289 | permission="zope2.View" |
|---|
| 290 | /> |
|---|
| 291 | |
|---|
| 292 | |
|---|
| 293 | <browser:resourceDirectory |
|---|
| 294 | name="images" |
|---|
| 295 | directory="images" |
|---|
| 296 | /> |
|---|
| 297 | |
|---|
| 298 | <!-- Add the lock icon after the title --> |
|---|
| 299 | |
|---|
| 300 | <browser:viewletManager |
|---|
| 301 | name="eduCommons.aftertitle" |
|---|
| 302 | provides=".interfaces.IAfterTitle" |
|---|
| 303 | permission="cmf.ManagePortal" |
|---|
| 304 | class="plone.app.viewletmanager.manager.OrderedViewletManager" |
|---|
| 305 | /> |
|---|
| 306 | |
|---|
| 307 | <browser:viewlet |
|---|
| 308 | name="eduCommons.lock" |
|---|
| 309 | manager=".interfaces.IAfterTitle" |
|---|
| 310 | permission="cmf.ManagePortal" |
|---|
| 311 | class=".viewlets.LockViewlet" |
|---|
| 312 | /> |
|---|
| 313 | |
|---|
| 314 | <!-- Revert back to icons for document actions --> |
|---|
| 315 | |
|---|
| 316 | <browser:viewlet |
|---|
| 317 | name="eduCommons.icondocumentactions" |
|---|
| 318 | manager="plone.app.layout.viewlets.interfaces.IBelowContentTitle" |
|---|
| 319 | permission="zope2.View" |
|---|
| 320 | class=".viewlets.IconDocumentActionsViewlet" |
|---|
| 321 | /> |
|---|
| 322 | |
|---|
| 323 | |
|---|
| 324 | <browser:viewlet |
|---|
| 325 | name="eduCommons.footer" |
|---|
| 326 | manager="plone.app.layout.viewlets.interfaces.IPortalFooter" |
|---|
| 327 | template="footer.pt" |
|---|
| 328 | permission="zope2.View" |
|---|
| 329 | /> |
|---|
| 330 | |
|---|
| 331 | <browser:viewlet |
|---|
| 332 | name="eduCommons.nextprevious" |
|---|
| 333 | manager="plone.app.layout.viewlets.interfaces.IAboveContentBody" |
|---|
| 334 | class=".nextprev.view.NextPreviousViewlet" |
|---|
| 335 | permission="zope2.View" |
|---|
| 336 | /> |
|---|
| 337 | |
|---|
| 338 | |
|---|
| 339 | |
|---|
| 340 | <browser:menu |
|---|
| 341 | id="plone_contentmenu_templates" |
|---|
| 342 | title="The 'template' menu - allows the user to apply a template to an object" |
|---|
| 343 | class=".menu.TemplateMenu" |
|---|
| 344 | /> |
|---|
| 345 | |
|---|
| 346 | <adapter for="* *" |
|---|
| 347 | name="plone.contentmenu.templates" |
|---|
| 348 | factory=".menu.TemplatesSubMenuItem" |
|---|
| 349 | provides="plone.app.contentmenu.interfaces.IContentMenuItem" |
|---|
| 350 | /> |
|---|
| 351 | |
|---|
| 352 | <utility provides="zope.schema.interfaces.IVocabularyFactory" |
|---|
| 353 | component=".templatechooser.templateVocabulary" |
|---|
| 354 | name="Template Choices" |
|---|
| 355 | /> |
|---|
| 356 | |
|---|
| 357 | <adapter factory=".controlpanel.eduCommonsControlPanelAdapter" /> |
|---|
| 358 | |
|---|
| 359 | <browser:page |
|---|
| 360 | name="eduCommons-controlpanel" |
|---|
| 361 | for="Products.CMFPlone.interfaces.IPloneSiteRoot" |
|---|
| 362 | class=".controlpanel.eduCommonsControlPanel" |
|---|
| 363 | permission="cmf.ManagePortal" |
|---|
| 364 | /> |
|---|
| 365 | |
|---|
| 366 | <utility |
|---|
| 367 | provides="zope.schema.interfaces.IVocabularyFactory" |
|---|
| 368 | component=".reusecourse.remotedivisionsvocab" |
|---|
| 369 | name="eduCommons.remotedivisionsvocab" |
|---|
| 370 | /> |
|---|
| 371 | |
|---|
| 372 | |
|---|
| 373 | <!-- Local roles managed in the @@sharing view --> |
|---|
| 374 | <utility |
|---|
| 375 | name="Producer" |
|---|
| 376 | factory=".localroles.ProducerRole" |
|---|
| 377 | /> |
|---|
| 378 | |
|---|
| 379 | <utility |
|---|
| 380 | name="Publisher" |
|---|
| 381 | factory=".localroles.PublisherRole" |
|---|
| 382 | /> |
|---|
| 383 | |
|---|
| 384 | <utility |
|---|
| 385 | name="QA" |
|---|
| 386 | factory=".localroles.QARole" |
|---|
| 387 | /> |
|---|
| 388 | |
|---|
| 389 | <utility |
|---|
| 390 | name="Viewer" |
|---|
| 391 | factory=".localroles.ViewerRole" |
|---|
| 392 | /> |
|---|
| 393 | |
|---|
| 394 | </configure> |
|---|