Update of 
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/paragraphs
In directory james.mmbase.org:/tmp/cvs-serv9475/config/paragraphs

Modified Files:
        add_paragraphs_posrel.xml paragraphs.xml 
Log Message:
cleaning


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/templates/editwizards/data/config/paragraphs


Index: add_paragraphs_posrel.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/paragraphs/add_paragraphs_posrel.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- add_paragraphs_posrel.xml   20 Feb 2006 13:01:09 -0000      1.3
+++ add_paragraphs_posrel.xml   28 Mar 2008 17:43:53 -0000      1.4
@@ -3,22 +3,17 @@
    <title xml:lang="nl">Alinea</title>
    <title xml:lang="en">Paragraph</title>
    <item>
-      <title xml:lang="nl">Alinea</title>
+      <title xml:lang="nl">Alineaa</title>
       <title xml:lang="en">Paragraph</title>
-      <field fdatapath="[EMAIL PROTECTED]&apos;pos&apos;]" 
ftype="line"><prompt>Positie</prompt></field>
-      <field name="title" ftype="line" >
-         <prompt xml:lang="nl">Alinea titel</prompt>
-         <prompt xml:lang="en">Paragraph title</prompt>
-      </field>
-      <field name="showtitle" ftype="enum">
-         <prompt xml:lang="nl">Titel laten zien</prompt>
-         <prompt xml:lang="en">Show title</prompt>
-         <optionlist select="boolean"></optionlist>
-      </field>
-      <field name="body" ftype="html" rows="10">
-         <prompt xml:lang="nl">Alinea tekst</prompt>
-         <prompt xml:lang="en">Paragraph body</prompt>
-      </field>
+
+      <fieldset>
+        <prompt xml:lang="nl">Titel</prompt>
+        <prompt xml:lang="en">Title</prompt>
+        <field name="title"      />
+        <field name="showtitle" />
+      </fieldset>
+
+      <field name="body"    ftype="html" rows="10" />
 
       <list include="config/image/add_images_pos2rel_position.xml" />
       <list include="config/attachment/attachments-posrel.xml" />
@@ -26,13 +21,13 @@
    </item>
 
    <command name="insert">
-      <prompt>Nieuwe alinea</prompt>
+     <prompt xml:lang="nl">Nieuwe alinea</prompt>
    </command>
 
    <action type="create">
       <relation role="posrel">
          <object type="paragraphs" /> 
-         <field name="pos">{sum(//[EMAIL PROTECTED]&apos;posrel&apos; and 
@lastitem=&apos;true&apos;]/[EMAIL PROTECTED]&apos;pos&apos;])+{$pos}}</field>
+       <field name="pos">{sum(//[EMAIL PROTECTED]'posrel' and 
@lastitem='true']/[EMAIL PROTECTED]'pos'])+{$pos}}</field>
       </relation>
    </action>
 </list>


Index: paragraphs.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/templates/editwizards/data/config/paragraphs/paragraphs.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- paragraphs.xml      20 Feb 2006 13:01:09 -0000      1.4
+++ paragraphs.xml      28 Mar 2008 17:43:53 -0000      1.5
@@ -3,30 +3,16 @@
 <wizard-schema id="empty">
    <title xml:lang="nl">Alinea</title>
    <title xml:lang="en">Paragraph</title>
+
    <action include="config/paragraphs/create_paragraphs.xml" />
    <action include="config/paragraphs/delete_paragraphs.xml" />
    <action include="config/paragraphs/load_paragraphs.xml" />
-   <lists>
-      <optionlist include="config/option_list/images_position.xml" />
-      <optionlist include="config/option_list/boolean.xml" />
-   </lists>
-   <steps>
-      <step form-schema="edit_paragraphs" />
-   </steps>
+
    <form-schema id="edit_paragraphs">
-      <field name="title" ftype="line" >
-         <prompt xml:lang="nl">Alinea titel</prompt>
-         <prompt xml:lang="en">Paragraph title</prompt>
-      </field>
-      <field name="showtitle" ftype="enum">
-         <prompt xml:lang="nl">Titel laten zien</prompt>
-         <prompt xml:lang="en">Show title</prompt>
-         <optionlist select="boolean"></optionlist>
-      </field>
-      <field name="body" ftype="html" rows="10">
-         <prompt xml:lang="nl">Alinea tekst</prompt>
-         <prompt xml:lang="en">Paragraph body</prompt>
-      </field>
+      <field name="title" />
+      <field name="showtitle" />
+      <field name="body" ftype="html" rows="10" />
+
       <list include="config/image/add_images_pos2rel_position.xml" />
       <list include="config/attachment/attachments-posrel.xml" />
       <list include="config/url/add_exturls_posrel.xml" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to