projects
/
ckeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
162c461
)
On repasse à js.
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 16 Aug 2011 11:12:23 +0000
(13:12 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 16 Aug 2011 11:12:23 +0000
(13:12 +0200)
skins/ckeditor/config.js.py
patch
|
blob
|
history
diff --git
a/skins/ckeditor/config.js.py
b/skins/ckeditor/config.js.py
index
3c00463
..
9467812
100644
(file)
--- a/
skins/ckeditor/config.js.py
+++ b/
skins/ckeditor/config.js.py
@@
-1,10
+1,4
@@
-##parameters=
\r
-from Products.CMFCore.utils import getToolByName
\r
-context.REQUEST.RESPONSE.setHeader('content-type', 'application/javascript; charset=utf-8')
\r
-utool = getToolByName(context, 'portal_url')
\r
-
\r
-print """
\r
-/*
\r
+/*
\r
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
@@
-28,6
+22,5
@@
CKEDITOR.editorConfig = function( config )
];
\r
\r
config.height = '500px';
\r
];
\r
\r
config.height = '500px';
\r
- config.filebrowserBrowseUrl =
'%(portal_url)s'
;
\r
-};
""" % {'portal_url' : utool()}
\r
-return printed
\r
+ config.filebrowserBrowseUrl =
CKEDITOR.basePath
;
\r
+};
\ No newline at end of file