File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGProjectNeu.zpt
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Tue Aug 30 17:08:27 2005 UTC (18 years, 10 months ago) by dwinter
Branches: r2
added zpt for kupu edit

    1: <html>
    2: <head>
    3: <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/head">
    4: <metal:macros fill-slot="bootstrap-editor">
    5: <script type="text/javascript" src="/kupuEditor/kupuinit_form.js"> </script>
    6: <script type="text/javascript" src="/kupuEditor/kupustart_form.js"> </script>
    7: 
    8: </metal:macros>
    9: </metal:macros>
   10: <style type="text/css">
   11: <!--
   12: .add-nav {
   13: font-weight:bold;
   14: padding-left:8px;
   15: }
   16: -->
   17: <meta http-equiv="content-type" content="text/html; charset=utf-8">
   18: </head>
   19: 
   20: <!--<body onload="kupu = startKupu();addEventHandler(window.document.getElementById('kupu-preview-button'),'click',preparePreviewForm,kupu);">-->
   21: <body onload="kupu = startKupu();">
   22: <h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>
   23: <p><a class="add-nav">Project Description</a> <a class="add-nav" href="">Publications</a><a class="add-nav" href="">Images at the margin</a><a class="add-nav" href="editMPIWGDisciplinesThemesEditor">Themes and disciplines</a><a class="add-nav" href="editMPIWGBasisEditor">Additional information</a></p>
   24: <hr>
   25: <h3>Project description</h3>
   26: <form action="saveEditedContent" method="POST">
   27: <span class="kupu-tb-buttongroup">
   28:   <button type="button"
   29:           id="kupu-preview-button" title="preview: alt-p"
   30:           accesskey="p">Preview</button>
   31:    </span>
   32: 
   33: <span class="kupu-tb-buttongroup">
   34:       <button xmlns:i18n="http://xml.zope.org/namespaces/i18n" type="button" id="kupu-save-button" title="save: alt-s" i18n:attributes="title" accesskey="s">Publish</button>
   35: </span>
   36: 
   37: 
   38: <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
   39: <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="dst">saveEditedContent</metal:macros>
   40: </metal:macros>
   41: <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
   42: <metal:macros fill-slot="toolbox_properties">
   43:  <div class="kupu-toolbox" id="kupu-toolbox-properties">
   44:       <input type="hidden" class="wide" id="kupu-properties-title"/>
   45:       <input type="hidden" class="wide" id="kupu-properties-description"/> 
   46:    </div>
   47: </metal:macros>
   48: <metal:macros fill-slot="toolbox_tables">
   49:  <div class="kupu-toolbox" id="kupu-toolbox-properties">
   50:       <input type="hidden" class="wide" id="kupu-table-classchooser"/>
   51: 
   52:       <input type="hidden" class="wide" id="kupu-table-newrows"/> 
   53:       <input type="hidden" class="wide" id="kupu-table-newcols"/> 
   54:    </div>
   55: </metal:macros>
   56: <metal:macros fill-slot="editorframe">
   57: <tal:block tal:condition="not:python:here.REQUEST.get('fromPreview',None)"> 
   58: <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc" tal:attributes="src python:here.absolute_url()+'/getWebProject_description'">
   59: </iframe>
   60: </tal:block>
   61: <tal:block tal:condition="python:here.REQUEST.get('fromPreview',None)"> 
   62: <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc" tal:attributes="src python:here.absolute_url()+'/previewTemplate/getWebProject_description'">
   63: </iframe>
   64: </tal:block>
   65: </metal:macros>
   66: 
   67: </metal:macros>
   68: 
   69: </form>
   70: </body>
   71: </html>

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