initial commit of file from CVS for e-smith-formmagick on Wed 12 Jul 08:54:49 BST 2023
This commit is contained in:
0
root/etc/e-smith/events/e-smith-formmagick-update/.gitignore
vendored
Normal file
0
root/etc/e-smith/events/e-smith-formmagick-update/.gitignore
vendored
Normal file
719
root/etc/e-smith/locale/en-us/FormMagick/general
Normal file
719
root/etc/e-smith/locale/en-us/FormMagick/general
Normal file
@@ -0,0 +1,719 @@
|
||||
<lexicon lang="en-us">
|
||||
<!-- vim: ft=xml:
|
||||
-->
|
||||
<entry>
|
||||
<base>Collaboration</base>
|
||||
<trans>Collaboration</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Administration</base>
|
||||
<trans>Administration</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Security</base>
|
||||
<trans>Security</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Configuration</base>
|
||||
<trans>Configuration</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Miscellaneous</base>
|
||||
<trans>Miscellaneous</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>Your Settings</base>
|
||||
<trans>Your Settings</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SAVE</base>
|
||||
<trans>Save</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CANCEL</base>
|
||||
<trans>Cancel</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ENABLED</base>
|
||||
<trans>Enabled</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DISABLED</base>
|
||||
<trans>Disabled</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO</base>
|
||||
<trans>No</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>YES</base>
|
||||
<trans>Yes</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ADD</base>
|
||||
<trans>Add</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CREATE</base>
|
||||
<trans>Create</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>MODIFY</base>
|
||||
<trans>Modify</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>REMOVE</base>
|
||||
<trans>Remove</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>COMMENT</base>
|
||||
<trans>Comment</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NEXT</base>
|
||||
<trans>Next</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SELF</base>
|
||||
<trans>Self</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>REMOTE</base>
|
||||
<trans>Remote</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>LOCAL</base>
|
||||
<trans>Local</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACTION</base>
|
||||
<trans>Action</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NETWORK</base>
|
||||
<trans>Network</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ROUTER</base>
|
||||
<trans>Router</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>OPERATION_STATUS_REPORT</base>
|
||||
<trans>Operation status report</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT</base>
|
||||
<trans>Account</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP</base>
|
||||
<trans>Group</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESC_SECTIONBAR</base>
|
||||
<trans>
|
||||
<![CDATA[
|
||||
<hr class="sectionbar"/>
|
||||
]]>
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NO_PIPES_ALLOWED</base>
|
||||
<trans>Pipe symbols (|) are not permitted in this field</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_BELOW</base>
|
||||
<trans>
|
||||
ERROR: There was an error in the validation of this page. Please
|
||||
scroll down and find the specific problem.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCESS</base>
|
||||
<trans>
|
||||
Access
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_LOCKED</base>
|
||||
<trans>
|
||||
Account is locked
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_ADD</base>
|
||||
<trans>
|
||||
Add group
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NETWORKS_ALLOW_LOCAL</base>
|
||||
<trans>
|
||||
Allow access only from local networks
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NETWORKS_ALLOW_PUBLIC</base>
|
||||
<trans>
|
||||
Allow public access (entire Internet)
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_PASSWORD_CHANGE</base>
|
||||
<trans>
|
||||
An error occurred while attempting to change your password. Please make sure that the old password entered is correct.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>BACK</base>
|
||||
<trans>
|
||||
Back
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>BACKUP</base>
|
||||
<trans>
|
||||
Backup
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESCRIPTION_BRIEF</base>
|
||||
<trans>
|
||||
Brief description
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_CHANGE</base>
|
||||
<trans>
|
||||
Change Password
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RESET_PASSWORD_TITLE</base>
|
||||
<trans>Reset user password</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_PASSWORD_CHANGE</base>
|
||||
<trans>
|
||||
Change account password
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CONTENT</base>
|
||||
<trans>
|
||||
Content
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CREATE_GROUP</base>
|
||||
<trans>
|
||||
Create user group
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_LIST_CURRENT</base>
|
||||
<trans>
|
||||
Current list of users
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESCRIPTION</base>
|
||||
<trans>
|
||||
Description
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DESTINATION</base>
|
||||
<trans>
|
||||
Destination
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DOMAIN_NAME</base>
|
||||
<trans>
|
||||
Domain name
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DOMAIN</base>
|
||||
<trans>
|
||||
Domain
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DOMAINS</base>
|
||||
<trans>
|
||||
Domains
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>DOWNLOAD</base>
|
||||
<trans>
|
||||
Download
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_UPDATING_CONFIGURATION</base>
|
||||
<trans>
|
||||
Error occurred while updating system configuration.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_MEMBERS</base>
|
||||
<trans>
|
||||
Group Members
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUP_NAME</base>
|
||||
<trans>
|
||||
Group Name
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>GROUPS</base>
|
||||
<trans>
|
||||
Groups
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IP_ADDRESS</base>
|
||||
<trans>
|
||||
IP Address
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>IP_ADDRESS_OR_FQDN</base>
|
||||
<trans>
|
||||
IP Address or FQDN
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_INVALID</base>
|
||||
<trans>
|
||||
Invalid user
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>LOCATION</base>
|
||||
<trans>
|
||||
Location
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>MB</base>
|
||||
<trans>
|
||||
Mb
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>MODIFY_USER_GROUP</base>
|
||||
<trans>
|
||||
Modify user group
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>NAME</base>
|
||||
<trans>
|
||||
Name
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_VERIFY_NEW</base>
|
||||
<trans>
|
||||
New password (verify):
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_NEW</base>
|
||||
<trans>
|
||||
New password:
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>OFF</base>
|
||||
<trans>
|
||||
Off
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>OK</base>
|
||||
<trans>
|
||||
Ok
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_OLD</base>
|
||||
<trans>
|
||||
Old password:
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ON</base>
|
||||
<trans>
|
||||
On
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD</base>
|
||||
<trans>
|
||||
Password
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PERFORM</base>
|
||||
<trans>
|
||||
Perform
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RECONFIGURE</base>
|
||||
<trans>
|
||||
Reconfigure
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>REMOVE_USER_GROUP</base>
|
||||
<trans>
|
||||
Remove user group
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_RESET</base>
|
||||
<trans>
|
||||
Reset password
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>RESTORE</base>
|
||||
<trans>
|
||||
Restore
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SHUTDOWN</base>
|
||||
<trans>
|
||||
Shutdown
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>SUCCESS</base>
|
||||
<trans>
|
||||
Success
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_NAME_INVALID</base>
|
||||
<trans>
|
||||
The account name entered is invalid.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_NAME_INVALID_CHARS</base>
|
||||
<trans>
|
||||
The account name you entered contained invalid characters.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_OLD_INVALID_CHARS</base>
|
||||
<trans>
|
||||
The old password you entered contained invalid characters.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_INVALID_CHARS</base>
|
||||
<trans>
|
||||
The password you entered contained invalid characters.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_VERIFY_ERROR</base>
|
||||
<trans>
|
||||
The passwords you entered did not match.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_USER_NONE</base>
|
||||
<trans>
|
||||
There are no user accounts in the system.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ACCOUNT_GROUP_NONE</base>
|
||||
<trans>
|
||||
There are no user groups in the system.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>ERROR_INVALID_CHARS</base>
|
||||
<trans>
|
||||
Unexpected characters in description.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>USER_NAME</base>
|
||||
<trans>
|
||||
User Name
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>YOUR_ACCOUNT</base>
|
||||
<trans>
|
||||
Your account:
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>YOUR_ACCOUNT_INVALID</base>
|
||||
<trans>The account name entered is invalid.</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>PASSWORD_CHANGE_SUCCESS</base>
|
||||
<trans>
|
||||
Your password has been successfully changed.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_NONBLANK</base>
|
||||
<trans>
|
||||
This field must not be left blank
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_INTEGER</base>
|
||||
<trans>
|
||||
This field must contain a positive integer
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_NUMBER</base>
|
||||
<trans>
|
||||
This field must contain a number
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_WORD</base>
|
||||
<trans>
|
||||
This field must look like a single word.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_DATE</base>
|
||||
<trans>
|
||||
The data entered could not be parsed as a date
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_NUMBER1</base>
|
||||
<trans>
|
||||
You must enter a credit card number
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_NUMBER2</base>
|
||||
<trans>
|
||||
Credit card numbers shouldn't have anything but numbers, spaces or dashes
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_NUMBER3</base>
|
||||
<trans>
|
||||
Must be at least 14 characters in length
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_NUMBER4</base>
|
||||
<trans>
|
||||
Doesn't appear to be a valid credit card number
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_EXPIRY1</base>
|
||||
<trans>
|
||||
No expiry date entered.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_EXPIRY2</base>
|
||||
<trans>
|
||||
Expiry date must be in the format MM/YY or MM/YYYY
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_EXPIRY3</base>
|
||||
<trans>
|
||||
This expiry date appears to have already passed
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_CREDIT_CARD_EXPIRY4</base>
|
||||
<trans>
|
||||
This expiry date appears to be too far in the future
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_ISO_COUNTRY_CODE1</base>
|
||||
<trans>
|
||||
You must provide a country code
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_ISO_COUNTRY_CODE2</base>
|
||||
<trans>
|
||||
This field does not contain an ISO country code
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_US_STATE</base>
|
||||
<trans>
|
||||
This doesn't appear to be a valid 2-letter US state abbreviation
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_US_ZIPCODE</base>
|
||||
<trans>
|
||||
US zip codes must contain 5 or 9 numbers
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MINLENGTH1</base>
|
||||
<trans>
|
||||
Minimum length has been specified meaninglessly as {$minlength}
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MINLENGTH2</base>
|
||||
<trans>
|
||||
This field must be at least {$minlength} characters
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MAXLENGTH1</base>
|
||||
<trans>
|
||||
Maximum length has been specified meaninglessly as {$maxlength}
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MAXLENGTH2</base>
|
||||
<trans>
|
||||
This field must be no more than {$maxlength} characters
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_EXACTLENGTH1</base>
|
||||
<trans>
|
||||
You must specify the length for the field.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_EXACTLENGTH2</base>
|
||||
<trans>
|
||||
You must specify the exactlength of the field with an integer
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_EXACTLENGTH3</base>
|
||||
<trans>
|
||||
This field must be exactly {$exactlength} characters
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_LENGTHRANGE1</base>
|
||||
<trans>
|
||||
You must specify the maximum and minimum length for the field.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_LENGTHRANGE2</base>
|
||||
<trans>
|
||||
You must specify the maximum and minimum lengths of the field with an integer
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_LENGTHRANGE3</base>
|
||||
<trans>
|
||||
This field must be between {$minlength} and {$maxlength} characters
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_URL</base>
|
||||
<trans>
|
||||
This field must contain a URL starting with http:// or ftp://
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_EMAIL_SIMPLE1</base>
|
||||
<trans>
|
||||
You must enter an email address.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_EMAIL_SIMPLE2</base>
|
||||
<trans>
|
||||
This field doesn't look like an RFC822-compliant email address
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_DOMAIN_NAME</base>
|
||||
<trans>
|
||||
This field doesn't look like a valid Internet domain name or hostname.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_IP_NUMBER1</base>
|
||||
<trans>
|
||||
This field must contain a valid IP number and can not be left blank.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_IP_NUMBER2</base>
|
||||
<trans>
|
||||
Invalid IP address format (expected X.X.X.X)
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_IP_NUMBER3</base>
|
||||
<trans>
|
||||
{$octet} is more than 255
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_USERNAME</base>
|
||||
<trans>
|
||||
This field must look like a valid username (3 to 8 letters and numbers)
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_PASSWORD1</base>
|
||||
<trans>
|
||||
You must provide a password.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_PASSWORD2</base>
|
||||
<trans>
|
||||
The password you provided was not a good password. A good password must
|
||||
contain all of the following: upper case letter, lower case letter, number,
|
||||
non-alphanumeric character, be at least 7 characters long.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MAC_ADDRESS1</base>
|
||||
<trans>
|
||||
You must provide a MAC address.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_MAC_ADDRESS2</base>
|
||||
<trans>
|
||||
The MAC address you provided was not valid.
|
||||
</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>FM_ERR_UNEXPECTED_DESC</base>
|
||||
<trans>Error: unexpected or missing characters in description</trans>
|
||||
</entry>
|
||||
<entry>
|
||||
<base>CSRF_VALIDATION_FAILURE</base>
|
||||
<trans>Error: CSRF token is invalid or outdated.</trans>
|
||||
</entry>
|
||||
</lexicon>
|
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>
|
BIN
root/etc/e-smith/web/common/checkmark.jpg
Normal file
BIN
root/etc/e-smith/web/common/checkmark.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 520 B |
BIN
root/etc/e-smith/web/common/tickmark.jpg
Normal file
BIN
root/etc/e-smith/web/common/tickmark.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 474 B |
Reference in New Issue
Block a user