2022-05-13 20:08:20 +08:00
|
|
|
<H2 CLASS="title">{op=modify-printer?Rediger {printer_name}:Tilføj printer}</H2>
|
|
|
|
|
|
|
|
{CUPS_GET_DEVICES_DONE?<FORM METHOD="POST" ACTION="/admin">
|
|
|
|
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
|
|
|
|
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
|
|
|
|
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
|
|
|
|
|
|
|
|
<TABLE>
|
|
|
|
{op=add-printer?:<TR>
|
|
|
|
<TH CLASS="label">Nuværende forbindelse\:</TH>
|
|
|
|
<TD><INPUT TYPE="RADIO" NAME="DEVICE_URI" ID="{current_device_uri}" VALUE="{current_device_uri}" CHECKED>
|
|
|
|
<LABEL FOR="{current_device_uri}">{current_device_uri}</LABEL></TD>
|
|
|
|
</TR>}
|
|
|
|
<TR>
|
|
|
|
<TH CLASS="label">Lokale printere\:</TH>
|
|
|
|
<TD>
|
|
|
|
{[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI" ID="{device_uri}"
|
|
|
|
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
|
|
|
|
<LABEL FOR="{device_uri}">{device_info} {?device_make_and_model!Ukendt?({device_make_and_model}):}</LABEL><BR>
|
|
|
|
:}}
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
|
|
|
<TH CLASS="label">Opdagede netværksprintere\:</TH>
|
|
|
|
<TD>
|
|
|
|
{[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}:}"
|
|
|
|
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
|
2023-10-26 10:19:35 +08:00
|
|
|
<LABEL FOR="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}" title="{device_uri}">{device_info} {?device_make_and_model!Ukendt?({device_make_and_model}):}</LABEL><BR>
|
2022-05-13 20:08:20 +08:00
|
|
|
:}:}}
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
|
|
|
<TR>
|
|
|
|
<TH CLASS="label">Andre netværksprintere\:</TH>
|
|
|
|
<TD>
|
|
|
|
{[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}:}"
|
|
|
|
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
|
|
|
|
<LABEL FOR="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">{device_info} {?device_make_and_model!Ukendt?({device_make_and_model}):}</LABEL><BR>
|
|
|
|
}:}}
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
<TR>
|
|
|
|
<TD></TD>
|
|
|
|
<TD><INPUT TYPE="SUBMIT" VALUE="Fortsæt"></TD>
|
|
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
|
|
|
|
</FORM>:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
|
|
|
|
ALT="Optaget-indikator"> Leder efter printere...</P>}
|