]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/choose-device.tmpl
Merge changes from CUPS 1.5svn-r8950.
[thirdparty/cups.git] / templates / choose-device.tmpl
CommitLineData
0af14961
MS
1<DIV CLASS="indent">
2
3<H2 CLASS="title">{op=modify-printer?Modify {printer_name}:Add Printer}</H2>
4
ef55b745 5{CUPS_GET_DEVICES_DONE?<FORM METHOD="POST" ACTION="/admin">
ef416fc2 6<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
0af14961 7{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
ef416fc2 8
9<TABLE>
0af14961 10{op=add-printer?:<TR>
ef55b745 11<TH CLASS="label">Current Connection\:</TH>
0af14961
MS
12<TD><INPUT TYPE="RADIO" NAME="DEVICE_URI" VALUE="{current_device_uri}" CHECKED>
13{current_device_uri}</TD>
58dc1933 14</TR>}
0af14961 15<TR>
ef55b745 16<TH CLASS="label">Local Printers\:</TH>
2e4ff8af 17<TD>
0af14961
MS
18{[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
19VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
2e4ff8af
MS
20{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
21:}}
22</TD>
23</TR>
24<TR>
ef55b745 25<TH CLASS="label">Discovered Network Printers\:</TH>
2e4ff8af 26<TD>
0af14961
MS
27{[device_uri]{device_class=network?{device_uri~[a-z]+://?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
28VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
2e4ff8af
MS
29{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
30:}:}}
31</TD>
32</TR>
33<TR>
ef416fc2 34<TR>
ef55b745 35<TH CLASS="label">Other Network Printers\:</TH>
ef416fc2 36<TD>
0af14961
MS
37{[device_uri]{device_class=network?{device_uri~[a-z]+://?:<INPUT TYPE="RADIO" NAME="DEVICE_URI"
38VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
2e4ff8af
MS
39{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}<BR>
40}:}}
ef416fc2 41</TD>
42</TR>
43<TR>
44<TD></TD>
2e4ff8af 45<TD><INPUT TYPE="SUBMIT" VALUE="Continue"></TD>
ef416fc2 46</TR>
47</TABLE>
48
ef55b745
MS
49</FORM>:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
50ALT="Busy Indicator"> Looking for printers...</P>}
51
52</DIV>