Update of
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education
In directory james.mmbase.org:/tmp/cvs-serv17428
Modified Files:
fillquestions.xml pages.xml
Log Message:
more cleaning
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/config/builders/didactor_education
Index: fillquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/fillquestions.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- fillquestions.xml 26 Jan 2008 12:40:05 -0000 1.2
+++ fillquestions.xml 28 Jan 2008 14:35:33 -0000 1.3
@@ -4,7 +4,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
http://www.mmbase.org/xmlns/builder.xsd"
name="fillquestions" maintainer="didactor.nl" version="2"
extends="questions">
- <class>nl.didactor.education.builders.OpenQuestionBuilder</class>>
+
+ <class>nl.didactor.education.builders.OpenQuestionBuilder</class>
<names>
<singular xml:lang="nl">Fill Vraag</singular>
<singular xml:lang="en">Fill Question</singular>
@@ -17,7 +18,6 @@
<description xml:lang="en">An open question, where the user can write his
own answer</description>
</descriptions>
-
<fieldlist>
<field name="textFirst">
@@ -35,6 +35,7 @@
<maxLength value="65535" />
</datatype>
</field>
+
<field name="textSecond">
<descriptions>
<description xml:lang="nl">Tekst van de vraag</description>
@@ -49,6 +50,7 @@
<maxLength value="65535" />
</datatype>
</field>
+
<field name="impos">
<descriptions>
<description xml:lang="nl">Positie afbeelding</description>
@@ -70,16 +72,14 @@
</enumeration>
</datatype>
</field>
+
<field name="flashOrText">
<descriptions>
<description xml:lang="nl">Kies flash of tekst</description>
<description xml:lang="en">Choose flash file or text</description>
</descriptions>
- <gui>
- <guiname xml:lang="nl">flashOrText</guiname>
- </gui>
<datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes" >
- <defaul value="1" />
+ <default value="1" />
<enumeration>
<entry value="0" xml:lang="nl" display="Tekst" />
<entry value="0" xml:lang="en" display="Text" />
@@ -88,6 +88,6 @@
</enumeration>
</datatype>
</field>
+
</fieldlist>
</builder>
-
Index: pages.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/pages.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- pages.xml 26 Jan 2008 12:40:05 -0000 1.2
+++ pages.xml 28 Jan 2008 14:35:33 -0000 1.3
@@ -52,36 +52,16 @@
<datatype base="didactor_layout"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
- <field>
+ <field name="imagelayout">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Layout afbeeldingen</description>
<description xml:lang="en">Images layout</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Layout afbeeldingen</guiname>
<guiname xml:lang="en">Images layout</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>2</input>
- <!-- position in list area of the editor -->
- <list>2</list>
- <!-- position in search area of the editor -->
- <search>2</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>imagelayout</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="didactor_imagelayout"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
</fieldlist>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs