File:  [Repository] / kupuMPIWG / plone / kupu_plone_layer / wysiwyg_support.pt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Aug 30 17:10:22 2005 UTC (18 years, 9 months ago) by dwinter
Branches: first, MAIN
CVS tags: alpha, HEAD


<html i18n:domain="plone">

<!-- wysiwyg multiplexing widget, this allows for both Epoz and Kupu to coexist -->

<div metal:define-macro="wysiwygEditorBox">
  <tal:block define="editor python: member.getProperty('wysiwyg_editor','').lower();
        editor python: test(editor=='fck editor', 'editor_fck', editor);
        support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/portal_skins/plone_wysiwyg/wysiwyg_support' % (editor, editor));"
        on-error="string:Kupu not installed correctly: ${error/value}">
 <metal:block metal:use-macro="support/macros/wysiwygEditorBox">
 </metal:block>
 </tal:block>
</div>


<div metal:define-macro="textFormatSelector">
  <tal:block define="editor python: member.getProperty('wysiwyg_editor','').lower().replace(' ', '_');
        editor python: test(editor=='fck editor', 'editor_fck', editor);
        support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/portal_skins/plone_wysiwyg/wysiwyg_support' % (editor, editor));"
        on-error="string:Kupu not installed correctly: ${error/value}">
 <metal:block metal:use-macro="support/macros/textFormatSelector">
 </metal:block>
 </tal:block>
</div>


</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>