88 # (rgx('/_([^/]+?)/?'), dict(vid=r'\1')), |
88 # (rgx('/_([^/]+?)/?'), dict(vid=r'\1')), |
89 ('/schema', dict(vid='schema')), |
89 ('/schema', dict(vid='schema')), |
90 ('/index', dict(vid='index')), |
90 ('/index', dict(vid='index')), |
91 ('/myprefs', dict(vid='propertiesform')), |
91 ('/myprefs', dict(vid='propertiesform')), |
92 ('/siteconfig', dict(vid='systempropertiesform')), |
92 ('/siteconfig', dict(vid='systempropertiesform')), |
93 ('/siteinfo', dict(vid='info')), |
93 ('/siteinfo', dict(vid='siteinfo')), |
94 ('/manage', dict(vid='manage')), |
94 ('/manage', dict(vid='manage')), |
95 ('/notfound', dict(vid='404')), |
95 ('/notfound', dict(vid='404')), |
96 ('/error', dict(vid='error')), |
96 ('/error', dict(vid='error')), |
97 ('/sparql', dict(vid='sparql')), |
97 ('/sparql', dict(vid='sparql')), |
98 ('/processinfo', dict(vid='processinfo')), |
98 ('/processinfo', dict(vid='processinfo')), |
|
99 (rgx('/cwuser', re.I), dict(vid='cw.user-management')), |
|
100 (rgx('/cwsource', re.I), dict(vid='cw.source-management')), |
99 # XXX should be case insensitive as 'create', but I would like to find another way than |
101 # XXX should be case insensitive as 'create', but I would like to find another way than |
100 # relying on the etype_selector |
102 # relying on the etype_selector |
101 (rgx('/schema/([^/]+?)/?'), dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')), |
103 (rgx('/schema/([^/]+?)/?'), dict(vid='primary', rql=r'Any X WHERE X is CWEType, X name "\1"')), |
102 (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')), |
104 (rgx('/add/([^/]+?)/?'), dict(vid='creation', etype=r'\1')), |
103 (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')), |
105 (rgx('/doc/images/(.+?)/?'), dict(vid='wdocimages', fid=r'\1')), |