summaryrefslogtreecommitdiff
path: root/templates/hu/option-pickone.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hu/option-pickone.tmpl')
-rw-r--r--templates/hu/option-pickone.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/hu/option-pickone.tmpl b/templates/hu/option-pickone.tmpl
new file mode 100644
index 000000000..31f461669
--- /dev/null
+++ b/templates/hu/option-pickone.tmpl
@@ -0,0 +1,18 @@
+<TR>
+<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
+<TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
+{[choices]<OPTION {choices={defchoice-1}?SELECTED:} VALUE="{choices}">{text}}
+</SELECT>
+{iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
+<TR><TH CLASS="sublabel">{paramtext}:</TH>
+<TD>{params=Units?<SELECT NAME="{keyword-1}.{params}">
+<OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Pont</OPTION>
+<OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Milliméter</OPTION>
+<OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Centiméter</OPTION>
+<OPTION VALUE="in"{paramvalue=in? SELECTED:}>Hüvelyk</OPTION>
+<OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Láb</OPTION>
+<OPTION VALUE="m"{paramvalue=m? SELECTED:}>Méter</OPTION>
+</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword-1}.{params}" VALUE="{paramvalue}">}</TD></TR>
+}</TABLE>
+</TD>:}
+</TR>