source: WAeUP_SRP/trunk/skins/waeup_student/student_personal_edit_form.pt @ 294

Last change on this file since 294 was 150, checked in by Henrik Bettermann, 19 years ago

Edit-Titel in student_personal_edit_form.pt entfernt

File size: 2.7 KB
Line 
1<tal:block define="res python:here.editCPSDocument(REQUEST=request);
2                   rendered_main python: res[0];
3                   portal_status_message python: res[1];
4                   edition python:1;
5  ">
6<metal:block define-macro="edit_form">
7<metal:block use-macro="here/content_lib_master/macros/master">
8  <metal:block fill-slot="css_slot">
9    <link rel="Stylesheet" type="text/css" href=""
10      tal:attributes="href string:${base_url}document.css" />
11
12    <metal:block define-macro="widgets_javascript">
13    <!-- XXX this has to move to CPSSchemas -->
14    <style type="text/css"
15      tal:content="string:@import url(${base_url}calendar-win2k-1.css);"></style>
16    <script type="text/javascript" src="calendar.js"
17      tal:attributes="src string:${base_url}calendar.js"></script>
18    <script type="text/javascript" src="lang/calendar-en.js"
19      tal:define="local cpsmcat/getSelectedLanguage"
20      tal:attributes="src string:${base_url}lang/calendar-${local}.js"></script>
21    <script type="text/javascript" src="calendar-setup.js"
22      tal:attributes="src string:${base_url}calendar-setup.js"></script>
23
24    <script type="text/javascript">
25    <!--
26     function popup_rte(input_id, label_edit) {
27       var args, value
28       value = document.getElementById(input_id).value;
29       args='?input_id='+input_id+'&label_edit='+escape(label_edit);
30       popup = window.open('popup_rte_form'+args, input_id, 'toolbar=0, scrollbars=0, location=0, statusbar=0, menubar=0, resizable=1, dependent=1, width=640, height=480')
31       if(!popup.opener)
32         popup.opener = window;
33       return false;
34   }
35   //-->
36   </script>
37   </metal:block>
38  </metal:block>
39
40  <metal:block fill-slot="header"
41    tal:define="creation creation|nothing;
42                edition edition|nothing;
43                metadata metadata|nothing">
44    <h1 tal:condition="creation" i18n:translate="">
45      Create a document of type
46      <tal:block i18n:name="type_name" i18n:translate=""
47            tal:define="type_name request/type_name;
48                        type_info python:here.portal_types[type_name]"
49            tal:content="type_info/Title">Type Title</tal:block>
50    </h1>
51    <h1 tal:condition="python: 0 and not creation">
52      <img tal:replace="structure python:here.getImgTag('/'+here.getIcon(), base_url='')">
53      <tal:block condition="edition"
54        i18n:translate="">Edit <span i18n:name="title"
55        tal:content="here/title_or_id">Page Title</span></tal:block>
56      <tal:block tal:condition="metadata"
57        i18n:translate="">heading_metadata_edit</tal:block>
58    </h1>
59  </metal:block>
60
61  <metal:block fill-slot="main">
62    <div tal:replace="structure rendered_main" />
63  </metal:block>
64  <metal:block fill-slot="sub">
65  </metal:block>
66
67</metal:block>
68</metal:block>
69</tal:block>
Note: See TracBrowser for help on using the repository browser.