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