Update of
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education
In directory james.mmbase.org:/tmp/cvs-serv32012
Modified Files:
fillquestions.xml fillselectquestions.xml
Log Message:
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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- fillquestions.xml 28 Jan 2008 14:35:33 -0000 1.3
+++ fillquestions.xml 28 Mar 2008 10:24:44 -0000 1.4
@@ -60,17 +60,7 @@
<guiname xml:lang="nl">Positie afbeelding</guiname>
<guiname xml:lang="en">Image position</guiname>
</gui>
- <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes" >
- <default value="0" />
- <enumeration>
- <entry value="0" xml:lang="nl" display="Boven" />
- <entry value="0" xml:lang="en" display="Above" />
- <entry value="1" xml:lang="nl" display="Onder" />
- <entry value="1" xml:lang="en" display="Under" />
- <entry value="2" xml:lang="nl" display="Naast" />
- <entry value="2" xml:lang="en" display="Next to" />
- </enumeration>
- </datatype>
+ <datatype base="didactor_imageposition"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
<field name="flashOrText">
@@ -78,15 +68,7 @@
<description xml:lang="nl">Kies flash of tekst</description>
<description xml:lang="en">Choose flash file or text</description>
</descriptions>
- <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes" >
- <default value="1" />
- <enumeration>
- <entry value="0" xml:lang="nl" display="Tekst" />
- <entry value="0" xml:lang="en" display="Text" />
- <entry value="1" xml:lang="nl" display="Flash" />
- <entry value="1" xml:lang="en" display="Flash" />
- </enumeration>
- </datatype>
+ <datatype base="didactor_flashortext"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
</fieldlist>
Index: fillselectquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/fillselectquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- fillselectquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ fillselectquestions.xml 28 Mar 2008 10:24:44 -0000 1.2
@@ -1,28 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE builder PUBLIC "-//MMBase/DTD builder config 1.1//EN"
"http://www.mmbase.org/dtd/builder_1_1.dtd">
-<builder name="fillselectquestions" maintainer="didactor.nl" version="2"
extends="questions">
- <status>active</status>
+<?xml version="1.0"?>
+<builder
+ xmlns="http://www.mmbase.org/xmlns/builder"
+ 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="fillselectquestions" maintainer="didactor.nl" version="2"
extends="questions">
<classfile>nl.didactor.education.builders.MCQuestionBuilder</classfile>
<searchage>31</searchage>
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Fill Select Vraag</singular>
<singular xml:lang="en">Fill Select Question</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Fill Select Vragen</plural>
<plural xml:lang="en">Fill Select Questions</plural>
</names>
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Een open vraag, waar de gebruiker zelf een
antwoord moet formuleren</description>
<description xml:lang="en">An open question, where the user can select his
own answer</description>
</descriptions>
- <properties>
- <property name="max-nodes-from-query">99999</property>
- </properties>
<!-- Possible values for the 'layout' field defined in the super-builder:
0 = Large field
1 = Small field
@@ -30,131 +26,41 @@
<fieldlist>
- <!-- POS 4 : <field> 'text' -->
- <field>
+ <field name="textFirst">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="nl">Tekst van de vraag</description>
+ <description xml:lang="nl">Eerste deel van de zin</description>
<description xml:lang="en">Question text</description>
</descriptions>
- <!-- gui related -->
<gui>
- <guiname xml:lang="nl">Text</guiname>
- <guitype>string</guitype>
+ <guiname xml:lang="nl">Eerste deel</guiname>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>4</input>
- <!-- position in list area of the editor -->
- <list>4</list>
- <!-- position in search area of the editor -->
- <search>4</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>textFirst</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="65535" notnull="true"
key="false">STRING</type>
- </db>
+ <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <maxLength value="65535" />
+ </datatype>
</field>
- <!-- POS 5 : <field> 'text' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="nl">Tekst van de vraag</description>
- <description xml:lang="en">Question text</description>
- </descriptions>
- <!-- gui related -->
+ <field name="textSecond">
<gui>
- <guiname xml:lang="nl">Text</guiname>
- <guitype>string</guitype>
+ <guiname xml:lang="nl">Tweede deel</guiname>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>5</input>
- <!-- position in list area of the editor -->
- <list>5</list>
- <!-- position in search area of the editor -->
- <search>5</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>textSecond</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="65535" notnull="true"
key="false">STRING</type>
- </db>
+ <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <maxLength value="65535" />
+ </datatype>
</field>
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="nl">Image position</description>
- <description xml:lang="en">Image position</description>
- </descriptions>
- <!-- gui related -->
+ <field name="impos">
<gui>
<guiname xml:lang="nl">Image position</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>6</input>
- <!-- position in list area of the editor -->
- <list>6</list>
- <!-- position in search area of the editor -->
- <search>6</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>impos</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="didactor_imageposition"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
- <field>
+ <field name="flashOrText">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Choose flash file or text</description>
<description xml:lang="en">Choose flash file or text</description>
</descriptions>
- <!-- gui related -->
- <gui>
- <guiname xml:lang="nl">flashOrText</guiname>
- <guitype>integer</guitype>
- </gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>7</input>
- <!-- position in list area of the editor -->
- <list>7</list>
- <!-- position in search area of the editor -->
- <search>7</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>flashOrText</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="didactor_flashortext"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
- <field>
+ <field name="type">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
Type van de Multiple Choice vraag.
0 = selecteer 1 antwoord
@@ -166,30 +72,15 @@
1 = multiple answers need to be selected
</description>
</descriptions>
- <!-- gui related -->
- <gui>
- <guiname xml:lang="nl">Type</guiname>
- <guiname xml:lang="en">Type</guiname>
- <guitype>integer</guitype>
- </gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>8</input>
- <!-- position in list area of the editor -->
- <list>8</list>
- <!-- position in search area of the editor -->
- <search>8</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>type</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <default value="0" />
+ <enumeration>
+ <entry value="0" xml:lang="nl" display="selecteer 1 antwoord" />
+ <entry value="0" xml:lang="en" display="one answer needs to be
selected" />
+ <entry value="1" xml:lang="nl" display="selecteer meerder antwoorden"
/>
+ <entry value="1" xml:lang="en" display="multiple answers need to be
selected" />
+ </enumeration>
+ </datatype>
</field>
</fieldlist>
</builder>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs