Load cups into easysw/current.
[thirdparty/cups.git] / templates / classes.tmpl
1 <P><A HREF="/admin?op=add-class"><IMG
2 SRC="/images/add-class.gif" ALT="Add Class"
3 CLASS="button"></A></P>
4
5 {#printer_name=0?No classes:
6 <P><B>Server Default Destination:</B> {default_name?<A HREF="{default_uri}">{default_name}</A>:none}</P>
7 {[printer_name]
8 <H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>{default_name={printer_name}? (Default Printer):}</H2>
9
10 <TABLE WIDTH="100%" CLASS="button" CELLSPACING="0" CELLPADDING="0">
11 <TR>
12 <TD VALIGN=TOP><A HREF="{printer_uri_supported}">
13 <IMG SRC="/images/classes.gif" CLASS="button" ALT=""></A></TD>
14 <TD VALIGN=TOP>Description: {printer_info}<BR>
15 Location: {printer_location}<BR>
16 Class State: {printer_state=3?idle:{printer_state=4?processing:stopped}},
17 {printer_is_accepting_jobs=0?rejecting jobs:accepting jobs}, {printer_is_shared=0?not:} published.
18 {?printer_state_message=?:<BR><I>"{printer_state_message}"</I>}
19 {?member_uris=?:<BR>Members: {member_uris}}
20
21 <P>
22 <A HREF="{printer_uri_supported}?op=print-test-page">
23 <IMG SRC="/images/print-test-page.gif" ALT="Print Test Page" CLASS="button"></A>
24 {printer_state=5?
25 <A HREF="{admin_uri}?op=start-class&amp;printer_name={printer_name}">
26 <IMG SRC="/images/start-class.gif" ALT="Start Class" CLASS="button"></A>
27 :
28 <A HREF="{admin_uri}?op=stop-class&amp;printer_name={printer_name}">
29 <IMG SRC="/images/stop-class.gif" ALT="Stop Class" CLASS="button"></A>
30 }
31 {printer_is_accepting_jobs=0?
32 <A HREF="{admin_uri}?op=accept-jobs&amp;printer_name={printer_name}">
33 <IMG SRC="/images/accept-jobs.gif" ALT="Accept Jobs" CLASS="button"></A>
34 :
35 <A HREF="{admin_uri}?op=reject-jobs&amp;printer_name={printer_name}">
36 <IMG SRC="/images/reject-jobs.gif" ALT="Reject Jobs" CLASS="button"></A>
37 }
38 <A HREF="{admin_uri}?op=purge-jobs&amp;printer_name={printer_name}">
39 <IMG SRC="/images/cancel-all-jobs.gif" ALT="Cancel All Jobs" CLASS="button"></A>
40 {printer_is_shared=0?
41 <A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=1">
42 <IMG SRC="/images/publish-printer.gif" ALT="Publish Printer" CLASS="button"></A>
43 :
44 <A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=0">
45 <IMG SRC="/images/unpublish-printer.gif" ALT="Unpublish Printer" CLASS="button"></A>
46 }
47 <A HREF="{admin_uri}?op=modify-class&amp;printer_name={printer_name}">
48 <IMG SRC="/images/modify-class.gif" ALT="Modify Class" CLASS="button"></A>
49 <A HREF="{admin_uri}?op=delete-class&amp;printer_name={printer_name}">
50 <IMG SRC="/images/delete-class.gif" ALT="Delete Class" CLASS="button"></A>
51 <A HREF="{admin_uri}?op=set-as-default&amp;printer_name={printer_name}">
52 <IMG SRC="/images/set-as-default.gif" ALT="Set As Default" CLASS="button"></A>
53 <A HREF="{admin_uri}?op=set-allowed-users&amp;printer_name={printer_name}">
54 <IMG SRC="/images/set-allowed-users.gif" ALT="Set Allowed Users" CLASS="button"></A>
55 </P>
56 </TD>
57 </TR>
58 </TABLE>
59
60 }}