mirror of https://gitee.com/openkylin/cups.git
40 lines
1.3 KiB
Cheetah
40 lines
1.3 KiB
Cheetah
|
<H2 CLASS="title">Modify {printer_name}</H2>
|
||
|
|
||
|
<FORM METHOD="POST" ACTION="/admin">
|
||
|
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
|
||
|
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
|
||
|
|
||
|
<TABLE>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Description:</TH>
|
||
|
<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" VALUE="{?printer_info}" SIZE="40" MAXLENGTH="127"><BR>
|
||
|
<SMALL>(Human-readable description such as "HP LaserJet with Duplexer")</SMALL></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Location:</TH>
|
||
|
<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" VALUE="{?printer_location}" SIZE="40" MAXLENGTH="127"><BR>
|
||
|
<SMALL>(Human-readable location such as "Lab 1")</SMALL></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Connection:</TH>
|
||
|
<TD><INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">{device_uri}</TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TH CLASS="label">Sharing:</TH>
|
||
|
<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" ID="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=1?CHECKED:}>
|
||
|
<LABEL FOR="PRINTER_IS_SHARED">Share This Printer</LABEL></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TR>
|
||
|
<TD></TD>
|
||
|
<TD><INPUT TYPE="SUBMIT" VALUE="Continue"></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
</FORM>
|