Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 52316f5cf05fba7e45865f5728d4ab27 > files > 29

perl-CGI-FormMagick-0.910.0-10.mga7.noarch.rpm

<form title="Hello" header="head.tmpl" footer="foot.tmpl" post-event="say_hello">
    <page name="Name">
        <title>Test dropdown</title>
        <description>The colours listed here should be localised into
        English and French.  If you see upper-case options in the list,
        it didn't work.</description>
        <field id="colour" type="select" options="'RED','GREEN','BLUE'">
            <label>Colours</label>
        </field>
        <field id="colour2" type="radio" options="'RED','GREEN','BLUE'">
            <label>Colours</label>
        </field>
    </page>

    <lexicon lang="en">
        <entry>
            <base>RED</base>
            <trans>red</trans>
        </entry>
        <entry>
            <base>GREEN</base>
            <trans>green</trans>
        </entry>
        <entry>
            <base>BLUE</base>
            <trans>blue</trans>
        </entry>
    </lexicon>

    <lexicon lang="fr">
        <entry>
            <base>RED</base>
            <trans>rouge</trans>
        </entry>
        <entry>
            <base>GREEN</base>
            <trans>vert</trans>
        </entry>
        <entry>
            <base>BLUE</base>
            <trans>bleu</trans>
        </entry>
    </lexicon>
</form>