File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGProjectNeu.zpt
Revision 1.1.2.4: download - view: text, annotated - select for diffs - revision graph
Wed Oct 19 15:16:13 2005 UTC (18 years, 9 months ago) by casties
Branches: r2
nicer editing for projects as well

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3: <html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
    4: <head>
    5: </head>
    6: <body>
    7: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:description" />
    8: <tal:block metal:fill-slot="body">
    9:   <form action="saveEditedContent" method="POST">
   10:   <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
   11:     <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="dst">saveEditedContent</metal:macros>
   12:   </metal:macros>
   13:   <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
   14:     <metal:macros fill-slot="toolbox_properties">
   15:       <div class="kupu-toolbox" id="kupu-toolbox-properties"><input type="hidden" class="wide" id="kupu-properties-title" /> <input
   16:         type="hidden" class="wide" id="kupu-properties-description" /></div>
   17:     </metal:macros>
   18:     <metal:macros fill-slot="toolbox_tables">
   19:       <div class="kupu-toolbox" id="kupu-toolbox-properties"><input type="hidden" class="wide" id="kupu-table-classchooser" /> <input
   20:         type="hidden" class="wide" id="kupu-table-newrows" /> <input type="hidden" class="wide" id="kupu-table-newcols" /></div>
   21:     </metal:macros>
   22:     <metal:macros fill-slot="editorframe">
   23:       <tal:block tal:condition="not:python:here.REQUEST.get('fromPreview',None)">
   24:         <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
   25:           tal:attributes="src python:here.absolute_url()+'/getWebProject_description'"> </iframe>
   26:       </tal:block>
   27:       <tal:block tal:condition="python:here.REQUEST.get('fromPreview',None)">
   28:         <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
   29:           tal:attributes="src python:here.absolute_url()+'/previewTemplate/getWebProject_description'"> </iframe>
   30:       </tal:block>
   31:     </metal:macros>
   32:   </metal:macros>
   33:   <p><span class="kupu-tb-buttongroup">
   34:   <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
   35:   </span>
   36:   <span class="kupu-tb-buttongroup">
   37:   <button xmlns:i18n="http://xml.zope.org/namespaces/i18n" type="button" id="kupu-save-button" title="save: alt-s"
   38:     i18n:attributes="title" accesskey="s">Publish</button>
   39:   </span></p>
   40:   </form>
   41: </tal:block>
   42: </body>
   43: </html>

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