]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/option-pickone.tmpl
Merge changes from CUPS 1.4svn-r7874.
[thirdparty/cups.git] / templates / option-pickone.tmpl
1 <TR>
2 <TH CLASS="label"{conflicted=1? CLASS="conflict":}><A NAME="{keyword}">{keytext}</A>:</TH>
3 <TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
4 {[choices]<OPTION {choices={defchoice}?SELECTED:} VALUE="{choices}">{text}}
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>:}
18 </TR>