diff -r 609edca88406 -r 3530baff9120 web/webconfig.py --- a/web/webconfig.py Fri Feb 20 10:38:41 2009 +0100 +++ b/web/webconfig.py Fri Feb 20 15:06:59 2009 +0100 @@ -199,6 +199,15 @@ return 'http://intranet.logilab.fr/jpl/view?__linkto=concerns:%s:subject&etype=Ticket&type=bug&vid=creation' % cubeeid return None + def fckeditor_installed(self): + return exists(self.ext_resources['FCKEDITOR_PATH']) + + def eproperty_definitions(self): + for key, pdef in super(WebConfiguration, self).eproperty_definitions(self): + if key == 'ui.fckeditor' and not self.fckeditor_installed(): + continue + yield key, pdef + # method used to connect to the repository: 'inmemory' / 'pyro' # Pyro repository by default repo_method = 'pyro'