mirror of https://gitee.com/openkylin/cups.git
42 lines
2.3 KiB
Cheetah
42 lines
2.3 KiB
Cheetah
<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
|
|
({printer_state=3?inactiva:{printer_state=4?procesando:en pausa}},
|
|
{printer_is_accepting_jobs=0?rechazando trabajos:aceptando trabajos},
|
|
{server_is_sharing_printers=0?no:{printer_is_shared=0?no:}} compartida{default_name={printer_name}?, predeterminada del servidor:})</H2>
|
|
|
|
<FORM METHOD="POST" ACTION="{printer_uri_supported}" NAME="maintenance">
|
|
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
|
|
<SELECT NAME="OP" ONCHANGE="document.maintenance.submit();">
|
|
<OPTION VALUE="">Mantenimiento</OPTION>
|
|
<OPTION VALUE="print-test-page">Imprimir página de prueba</OPTION>
|
|
{printer_state=5?<OPTION VALUE="start-class">Reanudar clase</OPTION>:<OPTION VALUE="stop-class">Pausar clase</OPTION>}
|
|
{printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Aceptar trabajos</OPTION>:<OPTION VALUE="reject-jobs">Rechazar trabajos</OPTION>}
|
|
<OPTION VALUE="move-jobs">Mover todos los trabajos</OPTION>
|
|
<OPTION VALUE="purge-jobs">Cancelar todos los trabajos</OPTION>
|
|
</SELECT>
|
|
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
|
</FORM>
|
|
|
|
<FORM METHOD="POST" ACTION="{admin_uri}" NAME="administration">
|
|
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
|
|
<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">
|
|
<INPUT TYPE="HIDDEN" NAME="IS_CLASS" VALUE="1">
|
|
<SELECT NAME="OP" ONCHANGE="document.administration.submit();">
|
|
<OPTION VALUE="">Administración</OPTION>
|
|
<OPTION VALUE="modify-class">Modificar clase</OPTION>
|
|
<OPTION VALUE="delete-class">Borrar clase</OPTION>
|
|
<OPTION VALUE="set-class-options">Establecer opciones predeterminadas</OPTION>
|
|
<OPTION VALUE="set-as-default">Poner como predeterminada del servidor</OPTION>
|
|
<OPTION VALUE="set-allowed-users">Establecer usuarios permitidos</OPTION>
|
|
</SELECT>
|
|
<INPUT TYPE="SUBMIT" VALUE="Go" STYLE="display: none;">
|
|
</FORM>
|
|
|
|
<TABLE SUMMARY="{printer_name}">
|
|
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Descripción:</TH><TD>{printer_info}</TD></TR>
|
|
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Ubicación:</TH><TD>{printer_location}</TD></TR>
|
|
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Miembros:</TH><TD>{?member_uris=?Ninguno:{member_uris}}</TD></TR>
|
|
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Opciones predeterminadas:</TH><TD>job-sheets={job_sheets_default}
|
|
media={media_default?{media_default}:desconocido}
|
|
{sides_default?sides={sides_default}:}</TD></TR>
|
|
</TABLE>
|