mirror of https://gitee.com/openkylin/cups.git
42 lines
2.4 KiB
Cheetah
42 lines
2.4 KiB
Cheetah
<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>
|
||
({printer_state=3?En attente:{printer_state=4?En cours d'impression:Arrêtée}},
|
||
{printer_is_accepting_jobs=0?rejette les tâches:accepte les tâches},
|
||
{server_is_sharing_printers=0?Non p:{printer_is_shared=0?Non p:P}}artagée{default_name={printer_name}?, imprimante par défaut:})</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="">Maintenance</OPTION>
|
||
<OPTION VALUE="print-test-page">Imprimer une page de test</OPTION>
|
||
{printer_state=5?<OPTION VALUE="start-class">Démarrer la classe</OPTION>:<OPTION VALUE="stop-class">Arrêter la classe</OPTION>}
|
||
{printer_is_accepting_jobs=0?<OPTION VALUE="accept-jobs">Accepter les tâches</OPTION>:<OPTION VALUE="reject-jobs">Rejeter les tâches</OPTION>}
|
||
<OPTION VALUE="move-jobs">Transférer toutes les tâches</OPTION>
|
||
<OPTION VALUE="cancel-jobs">Annuler toutes les tâches</OPTION>
|
||
</SELECT>
|
||
<INPUT TYPE="SUBMIT" VALUE="Valider" 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="">Administration</OPTION>
|
||
<OPTION VALUE="modify-class">Modifier la classe</OPTION>
|
||
<OPTION VALUE="delete-class">Supprimer la classe</OPTION>
|
||
<OPTION VALUE="set-class-options">Réinitialiser les options</OPTION>
|
||
<OPTION VALUE="set-as-default">Définir par défaut</OPTION>
|
||
<OPTION VALUE="set-allowed-users">Définir les autorisations</OPTION>
|
||
</SELECT>
|
||
<INPUT TYPE="SUBMIT" VALUE="Valider" STYLE="display: none;">
|
||
</FORM>
|
||
|
||
<TABLE SUMMARY="{printer_name}">
|
||
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Description :</TH><TD>{printer_info}</TD></TR>
|
||
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Emplacement :</TH><TD>{printer_location}</TD></TR>
|
||
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Membres :</TH><TD>{?member_uris=?Aucun:{member_uris}}</TD></TR>
|
||
<TR><TH ALIGN="RIGHT" VALIGN="TOP">Par défaut :</TH><TD>job-sheets={job_sheets_default}
|
||
media={media_default?{media_default}:inconnu}
|
||
{sides_default?sides={sides_default}:}</TD></TR>
|
||
</TABLE>
|