]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/ru/option-pickone.tmpl
Import CUPS v2.0.3
[thirdparty/cups.git] / templates / ru / option-pickone.tmpl
diff --git a/templates/ru/option-pickone.tmpl b/templates/ru/option-pickone.tmpl
new file mode 100644 (file)
index 0000000..49a9929
--- /dev/null
@@ -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:}>Пункты</OPTION>
+<OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Миллиметры</OPTION>
+<OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Сантиметры</OPTION>
+<OPTION VALUE="in"{paramvalue=in? SELECTED:}>Дюймы</OPTION>
+<OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Футы</OPTION>
+<OPTION VALUE="m"{paramvalue=m? SELECTED:}>Метры</OPTION>
+</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword-1}.{params}" VALUE="{paramvalue}">}</TD></TR>
+}</TABLE>
+</TD>:}
+</TR>