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