File:  [Repository] / MPIWGWeb / zpt / Attic / editProfile.zpt
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Tue Aug 26 16:04:25 2008 UTC (15 years, 10 months ago) by dwinter
Branches: r2
minor

    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/mainEditFile/macros/page">
    4: <metal:x metal:fill-slot="javascript">
    5: <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/head">
    6:   <metal:macros fill-slot="bootstrap-editor">
    7:     <script type="text/javascript" src="/kupuEditor/kupuinit_form.js"> </script>
    8:     <script type="text/javascript" src="/kupuEditor/kupustart_form.js"> </script>
    9:   </metal:macros>
   10: </metal:macros>
   11: </metal:x>
   12: <body>
   13:   <tal:block metal:fill-slot="navsel" tal:define="global menusel string:cv"/>
   14: 
   15: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
   16: <form action="editProfile" method="post">
   17: <input type="hidden" name="oid" tal:attributes="value person/oid">
   18: <tal:x condition="python:(person.profile is None) | (person.profile=='')">
   19: <p>You haven't edited your profile yet, this entry is  generated automatically from you old CV entry, your current work entry, and research interests entry from you old profile! </p>
   20: 	
   21: </tal:x>
   22: 
   23: 
   24: 
   25:     <div><span class="kupu-tb-buttongroup">
   26: 	<button type="button" id="kupu-preview-button" title="preview: alt-p" accesskey="p">Preview</button>
   27:       </span>
   28:       <span class="kupu-tb-buttongroup">
   29: 	<button type="button" id="kupu-save-button" title="save: alt-s" accesskey="s">Publish</button>
   30:       </span>
   31:     </div>
   32:   <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/xmlconfig">
   33:     <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="dst">saveEditedContent</metal:macros>
   34:   </metal:macros>
   35:   <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" use-macro="here/kupuEditor/kupumacros/macros/fulleditor">
   36:        
   37:     <!--  <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="tb_select_styles">
   38:        <span id="kupu-tb-styles"/>
   39:      </metal:macros>
   40:       <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="buttongroup_subsuper">
   41:        <span id="kupu-bg-subsuper"/>
   42:        <span id="kupu-subscript-button"/>
   43:        <span id="kupu-superscript-button"/>
   44:        </metal:macros>
   45:        
   46:        <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="buttongroup_justify">
   47:        <span id="kupu-justifyleft-button"/>
   48:        <span id="kupu-justifycenter-button"/>
   49:        <span id="kupu-justifyright-button"/>
   50:        </metal:macros>
   51:        <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="buttongroup_list">
   52:        <span id="kupu-list-ol-addbutton"/>    
   53:        <span id="kupu-list-ul-addbutton"/>
   54:        
   55:        </metal:macros>
   56:        <metal:macros xmlns:metal="http://xml.zope.org/namespaces/metal" fill-slot="buttongroup_indent"/>
   57:        -->
   58:    
   59:     <metal:macros fill-slot="toolbox_properties">
   60:       <div class="kupu-toolbox" id="kupu-toolbox-properties"><input type="hidden" class="wide" id="kupu-properties-title" /> <input
   61:         type="hidden" class="wide" id="kupu-properties-description" /></div>
   62:     </metal:macros>
   63:     <metal:macros fill-slot="toolbox_tables">
   64:       <div class="kupu-toolbox" id="kupu-toolbox-properties"><input type="hidden" class="wide" id="kupu-table-classchooser" /> <input
   65:         type="hidden" class="wide" id="kupu-table-newrows" /> <input type="hidden" class="wide" id="kupu-table-newcols" /></div>
   66:     </metal:macros>
   67:     <metal:macros fill-slot="editorframe">
   68:       
   69:         <iframe class="kupu-editor-iframe" id="kupu-editor" frameborder="0" scrolling="auto" src="fulldoc"
   70:           tal:attributes="src python:here.REQUEST['URL1']+'/getProfile?time='+here.REQUEST.get('time','0')"> 
   71:         </iframe>
   72:       
   73:     </metal:macros>
   74:   </metal:macros>
   75: 
   76: 
   77:   </form>
   78: 
   79: 
   80: <br/>
   81: </tal:block>
   82: </body>
   83: </html>

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