57 return modes[0] |
57 return modes[0] |
58 |
58 |
59 # XXX generate this according to the configuration (repository/all-in-one/web) |
59 # XXX generate this according to the configuration (repository/all-in-one/web) |
60 VREGOPTIONS = [] |
60 VREGOPTIONS = [] |
61 for registry in ('etypes', 'hooks', 'controllers', 'actions', 'components', |
61 for registry in ('etypes', 'hooks', 'controllers', 'actions', 'components', |
62 'views', 'templates', 'boxes', 'contentnavigation', 'urlrewriting', |
62 'views', 'boxes', 'contentnavigation', 'urlrewriting', |
63 'facets'): |
63 'facets'): |
64 VREGOPTIONS.append(('disable-%s'%registry, |
64 VREGOPTIONS.append(('disable-%s'%registry, |
65 {'type' : 'csv', 'default': (), |
65 {'type' : 'csv', 'default': (), |
66 'help': 'list of identifier of application objects from the %s registry to disable'%registry, |
66 'help': 'list of identifier of application objects from the %s registry to disable'%registry, |
67 'group': 'appobjects', 'inputlevel': 2, |
67 'group': 'appobjects', 'inputlevel': 2, |