Commit 19266258 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fckeditori is now integrated into erp5_xhtml_style business template, and...

fckeditori is now integrated into erp5_xhtml_style business template, and FCKeditor product is deprecated.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28897 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b87e650
......@@ -1481,16 +1481,9 @@ class ERP5Generator(PortalGenerator):
from Products.CMFCore.DirectoryView import addDirectoryViews
from Products.CMFDefault import cmfdefault_globals
from Products.CMFActivity import cmfactivity_globals
try:
from Products.FCKeditor import fckeditor_globals
have_fckeditor = 1
except ImportError:
have_fckeditor = 0
ps = getToolByName(p, 'portal_skins')
addDirectoryViews(ps, 'skins', cmfdefault_globals)
addDirectoryViews(ps, 'skins', cmfactivity_globals)
if have_fckeditor:
addDirectoryViews(ps, 'skins', fckeditor_globals)
ps.manage_addProduct['OFSP'].manage_addFolder(id='external_method')
ps.manage_addProduct['OFSP'].manage_addFolder(id='custom')
# Set the 'custom' layer a high priority, so it remains the first
......@@ -1507,8 +1500,6 @@ class ERP5Generator(PortalGenerator):
, 'control'
, 'Images'
]
if have_fckeditor:
skin_folder_list.insert(1, 'fckeditor')
skin_folders = ', '.join(skin_folder_list)
ps.addSkinSelection( 'View'
, skin_folders
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment