Haibo Huang | 265f757 | 2019-12-13 16:47:52 -0800 | [diff] [blame^] | 1 | <H2 CLASS="title">{op=modify-printer?Изменение {printer_name}:Добавление принтера}</H2> |
| 2 | |
| 3 | {CUPS_GET_DEVICES_DONE?<FORM METHOD="POST" ACTION="/admin"> |
| 4 | <INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}"> |
| 5 | <INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}"> |
| 6 | {printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:} |
| 7 | |
| 8 | <TABLE> |
| 9 | {op=add-printer?:<TR> |
| 10 | <TH CLASS="label">Сейчас подключен\:</TH> |
| 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> |
| 13 | </TR>} |
| 14 | <TR> |
| 15 | <TH CLASS="label">Установленные принтеры\:</TH> |
| 16 | <TD> |
| 17 | {[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI" ID="{device_uri}" |
| 18 | VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}"> |
| 19 | <LABEL FOR="{device_uri}">{device_info} {?device_make_and_model!Unknown?({device_make_and_model}):}</LABEL><BR> |
| 20 | :}} |
| 21 | </TD> |
| 22 | </TR> |
| 23 | <TR> |
| 24 | <TH CLASS="label">Найденные сетевые принтеры\:</TH> |
| 25 | <TD> |
| 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}:}" |
| 27 | VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}"> |
| 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> |
| 29 | :}:}} |
| 30 | </TD> |
| 31 | </TR> |
| 32 | <TR> |
| 33 | <TR> |
| 34 | <TH CLASS="label">Другие сетевые принтеры\:</TH> |
| 35 | <TD> |
| 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}:}" |
| 37 | VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}"> |
| 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> |
| 39 | }:}} |
| 40 | </TD> |
| 41 | </TR> |
| 42 | <TR> |
| 43 | <TD></TD> |
| 44 | <TD><INPUT TYPE="SUBMIT" VALUE="Продолжить"></TD> |
| 45 | </TR> |
| 46 | </TABLE> |
| 47 | |
| 48 | </FORM>:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE" |
| 49 | ALT="Ожидание"> Поиск принтеров...</P>} |