initial commit of file from CVS for e-smith-formmagick on Wed 12 Jul 08:54:49 BST 2023
This commit is contained in:
23
root/etc/e-smith/tests/20e-smith-formmagick/data.xml
Normal file
23
root/etc/e-smith/tests/20e-smith-formmagick/data.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<form title="Checkboxes" header="head.tmpl" footer="foot.tmpl" post-event="done">
|
||||
<page name="Food">
|
||||
<title>Food</title>
|
||||
<field id="fries" type="checkbox" checked="1">
|
||||
<label>Would you like fries with that?</label>
|
||||
</field>
|
||||
<field id="ketchup" type="checkbox">
|
||||
<label>How about ketchup?</label>
|
||||
</field>
|
||||
</page>
|
||||
<page name="Clothes">
|
||||
<title>Clothes</title>
|
||||
<field id="hat" type="checkbox" checked="1">
|
||||
<label>Hat</label>
|
||||
</field>
|
||||
<field id="shoes" type="checkbox">
|
||||
<label>Shoes</label>
|
||||
</field>
|
||||
<field id="gloves" type="checkbox">
|
||||
<label>Gloves</label>
|
||||
</field>
|
||||
</page>
|
||||
</form>
|
@@ -0,0 +1,6 @@
|
||||
<lexicon lang="en">
|
||||
<entry>
|
||||
<base>YES</base>
|
||||
<trans>Yes</trans>
|
||||
</entry>
|
||||
</lexicon>
|
@@ -0,0 +1,7 @@
|
||||
<lexicon lang="en">
|
||||
<entry>
|
||||
<base>TEST</base>
|
||||
<trans>Test</trans>
|
||||
</entry>
|
||||
</lexicon>
|
||||
|
@@ -0,0 +1,6 @@
|
||||
<lexicon lang="fr">
|
||||
<entry>
|
||||
<base>YES</base>
|
||||
<trans>Oui</trans>
|
||||
</entry>
|
||||
</lexicon>
|
@@ -0,0 +1,6 @@
|
||||
<lexicon lang="fr">
|
||||
<entry>
|
||||
<base>TEST</base>
|
||||
<trans>Essayer</trans>
|
||||
</entry>
|
||||
</lexicon>
|
16
root/etc/e-smith/tests/20e-smith-formmagick/navigation
Normal file
16
root/etc/e-smith/tests/20e-smith-formmagick/navigation
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Junk lines
|
||||
# More junk lines
|
||||
#
|
||||
# The navigation headers we expect to see:
|
||||
# heading : Test heading
|
||||
# description : Test description
|
||||
# navigation : 1000 1200
|
||||
#
|
||||
#
|
||||
#
|
||||
# And some more navigation headers, to make sure we extract the first ones
|
||||
# heading : Wrong heading
|
||||
# description : Wrong description
|
||||
# navigation : 42 64
|
||||
#
|
19
root/etc/e-smith/tests/20e-smith-formmagick/nopipes
Normal file
19
root/etc/e-smith/tests/20e-smith-formmagick/nopipes
Normal file
@@ -0,0 +1,19 @@
|
||||
<form title="Checkboxes" header="head.tmpl" footer="foot.tmpl" post-event="done">
|
||||
<page name="Food">
|
||||
<title>Food</title>
|
||||
<field id="test" type="text" validation="test">
|
||||
<label>Would you like fries with that?</label>
|
||||
</field>
|
||||
<field id="test2" type="text">
|
||||
<label>Would you like fries with that?</label>
|
||||
</field>
|
||||
</page>
|
||||
<page name="Clothes">
|
||||
<field id="test3" type="text" validation="test">
|
||||
<label>Would you like fries with that?</label>
|
||||
</field>
|
||||
<field id="test4" type="text">
|
||||
<label>Would you like fries with that?</label>
|
||||
</field>
|
||||
</page>
|
||||
</form>
|
Reference in New Issue
Block a user