]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/option-pickone.tmpl
Merge changes from CUPS 1.4svn-r8033.
[thirdparty/cups.git] / templates / option-pickone.tmpl
CommitLineData
ef416fc2 1<TR>
58dc1933 2<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
749b1e90 3<TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
ef416fc2 4{[choices]<OPTION {choices={defchoice}?SELECTED:} VALUE="{choices}">{text}}
749b1e90
MS
5</SELECT>
6{iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
7<TR><TH CLASS="sublabel">{paramtext}:</TH>
8<TD>{params=Units?<SELECT NAME="{keyword}.{params}">
9<OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Points</OPTION>
10<OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Millimeters</OPTION>
11<OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Centimeters</OPTION>
12<OPTION VALUE="in"{paramvalue=in? SELECTED:}>Inches</OPTION>
13<OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Feet</OPTION>
14<OPTION VALUE="m"{paramvalue=m? SELECTED:}>Meters</OPTION>
15</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword}.{params}" VALUE="{paramvalue}">}</TD></TR>
16}</TABLE>
17</TD>:}
ef416fc2 18</TR>