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

<html>
<head>
<metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/head">
<metal:macros fill-slot="bootstrap-editor">
<script type="text/javascript" src="/kupuEditor/kupuinit_form.js"> </script>
<script type="text/javascript" src="/kupuEditor/kupustart_form.js"> </script>

</metal:macros>
</metal:macros>
<style type="text/css">
<!--
.add-nav {
font-weight:bold;
padding-left:8px;
}
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>

<!--<body onload="kupu = startKupu();addEventHandler(window.document.getElementById('kupu-preview-button'),'click',preparePreviewForm,kupu);">-->
<body onload="kupu = startKupu();">
<h2>Edit: <i tal:content="python:here.getContent('WEB_title')"/></h2>
<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>
<hr>
<h3>Project description</h3>
<form action="saveEditedContent" method="POST">
<span class="kupu-tb-buttongroup">
  <button type="button"
          id="kupu-preview-button" title="preview: alt-p"
          accesskey="p">Preview</button>
   </span>

<span class="kupu-tb-buttongroup">
      <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>
</span>


<metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
<metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="dst">saveEditedContent</metal:macros>
</metal:macros>
<metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
<metal:macros fill-slot="toolbox_properties">
 <div class="kupu-toolbox" id="kupu-toolbox-properties">
      <input type="hidden" class="wide" id="kupu-properties-title"/>
      <input type="hidden" class="wide" id="kupu-properties-description"/> 
   </div>
</metal:macros>
<metal:macros fill-slot="toolbox_tables">
 <div class="kupu-toolbox" id="kupu-toolbox-properties">
      <input type="hidden" class="wide" id="kupu-table-classchooser"/>

      <input type="hidden" class="wide" id="kupu-table-newrows"/> 
      <input type="hidden" class="wide" id="kupu-table-newcols"/> 
   </div>
</metal:macros>
<metal:macros fill-slot="editorframe">
<tal:block tal:condition="not:python:here.REQUEST.get('fromPreview',None)"> 
<iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc" tal:attributes="src python:here.absolute_url()+'/getWebProject_description'">
</iframe>
</tal:block>
<tal:block tal:condition="python:here.REQUEST.get('fromPreview',None)"> 
<iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc" tal:attributes="src python:here.absolute_url()+'/previewTemplate/getWebProject_description'">
</iframe>
</tal:block>
</metal:macros>

</metal:macros>

</form>
</body>
</html>

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