Annotation of kupuMPIWG/plone/kupu_plone_layer/wysiwyg_support.pt, revision 1.1.1.1

1.1       dwinter     1: <html i18n:domain="plone">
                      2: 
                      3: <!-- wysiwyg multiplexing widget, this allows for both Epoz and Kupu to coexist -->
                      4: 
                      5: <div metal:define-macro="wysiwygEditorBox">
                      6:   <tal:block define="editor python: member.getProperty('wysiwyg_editor','').lower();
                      7:         editor python: test(editor=='fck editor', 'editor_fck', editor);
                      8:         support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/portal_skins/plone_wysiwyg/wysiwyg_support' % (editor, editor));"
                      9:         on-error="string:Kupu not installed correctly: ${error/value}">
                     10:  <metal:block metal:use-macro="support/macros/wysiwygEditorBox">
                     11:  </metal:block>
                     12:  </tal:block>
                     13: </div>
                     14: 
                     15: 
                     16: <div metal:define-macro="textFormatSelector">
                     17:   <tal:block define="editor python: member.getProperty('wysiwyg_editor','').lower().replace(' ', '_');
                     18:         editor python: test(editor=='fck editor', 'editor_fck', editor);
                     19:         support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/portal_skins/plone_wysiwyg/wysiwyg_support' % (editor, editor));"
                     20:         on-error="string:Kupu not installed correctly: ${error/value}">
                     21:  <metal:block metal:use-macro="support/macros/textFormatSelector">
                     22:  </metal:block>
                     23:  </tal:block>
                     24: </div>
                     25: 
                     26: 
                     27: </html>

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