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