File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGProjectNeu.zpt
Revision 1.1.2.8: download - view: text, annotated - select for diffs - revision graph
Fri Jul 23 17:30:38 2010 UTC (13 years, 11 months ago) by casties
Branches: r2
fixed problems with project editing preview

    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" xmlns:metal="http://xml.zope.org/namespaces/metal" >
    4: <head>
    5: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:description" />
    6: </head>
    7: <body>
    8: <tal:block metal:fill-slot="body">
    9:   <form action="saveEditedContent" method="POST">
   10:     <div>
   11:       <span class="kupu-tb-buttongroup">
   12:         <button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
   13:       </span>
   14:       <span class="kupu-tb-buttongroup">
   15:         <button type="button" id="kupu-save-button" title="save: alt-s" accesskey="s">Publish</button>
   16:       </span>
   17:     </div>
   18:     <metal:macros use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
   19:       <metal:macros fill-slot="dst">saveEditedContent</metal:macros>
   20:     </metal:macros>
   21:     <metal:macros use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
   22:       <metal:macros fill-slot="tb_select_styles">
   23:         <select id="kupu-tb-styles">
   24:           <option xmlns:i18n="http://xml.zope.org/namespaces/i18n" value="P" i18n:translate="">
   25:             Normal
   26:           </option>
   27:           <option value="H3">
   28:             <span xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:translate="">Heading</span>
   29:           </option>
   30:         </select>
   31:       </metal:macros>
   32:       <metal:macros fill-slot="toolbox_properties">
   33:         <div class="kupu-toolbox" id="kupu-toolbox-properties">
   34:           <input type="hidden" class="wide" id="kupu-properties-title"/> 
   35:           <input type="hidden" class="wide" id="kupu-properties-description"/>
   36:         </div>
   37:       </metal:macros>
   38:       <metal:macros fill-slot="toolbox_tables">
   39:         <div class="kupu-toolbox" id="kupu-toolbox-properties">
   40:           <input type="hidden" class="wide" id="kupu-table-classchooser"/> 
   41:           <input type="hidden" class="wide" id="kupu-table-newrows" />
   42:           <input type="hidden" class="wide" id="kupu-table-newcols" />
   43:         </div>
   44:       </metal:macros>
   45:       <metal:macros fill-slot="editorframe">
   46:         <tal:block tal:condition="not:python:here.REQUEST.get('fromPreview',None)">
   47:           <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
   48:             tal:attributes="src python:here.absolute_url()+'/getWebProject_description'"> </iframe>
   49:         </tal:block>
   50:         <tal:block tal:condition="python:here.REQUEST.get('fromPreview',None)">
   51:           <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
   52:             tal:attributes="src python:here.absolute_url()+'/previewTemplate/getWebProject_description'"> </iframe>
   53:         </tal:block>
   54:       </metal:macros>
   55:     </metal:macros>
   56:     <p></p>
   57:   </form>
   58: </tal:block>
   59: </body>
   60: </html>

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