]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/admin.tmpl
Load cups into easysw/current.
[thirdparty/cups.git] / templates / admin.tmpl
1 <TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" SUMMARY="Administration Tasks">
2 <TR><TD VALIGN="TOP">
3
4 <H2 CLASS="title">Printers</H2>
5
6 <P>
7 <A HREF="/admin?op=add-printer"><IMG
8 SRC="/images/button-add-printer.gif" ALT="Add Printer" CLASS="button"></A>
9 <A HREF="/printers/"><IMG SRC="/images/button-manage-printers.gif"
10 ALT="Manage Printers" CLASS="button"></A>
11 {have_samba?<A HREF="/admin/?op=export-samba"><IMG
12 SRC="/images/button-export-samba.gif" ALT="Export Printers to Samba"
13 CLASS="button"></A>:}
14 </P>
15
16 {#device_uri=0?:<P><B>New Printers Found:</B></P><UL>{[device_uri]
17 <LI><A HREF="/admin?op=add-printer&amp;{device_options}"><IMG
18 SRC="/images/button-add-this-printer.gif" ALT="Add This Printer" CLASS="button"
19 ALIGN="MIDDLE"></A>
20 {device_make_and_model} ({device_info})</LI>
21 }</UL>}
22
23 <H2 CLASS="title">Classes</H2>
24
25 <P>
26 <A HREF="/admin?op=add-class"><IMG SRC="/images/button-add-class.gif"
27 ALT="Add Class" CLASS="button"></A>
28 <A HREF="/classes/"><IMG SRC="/images/button-manage-classes.gif"
29 ALT="Manage Classes" CLASS="button"></A>
30 </P>
31
32 <H2 CLASS="title">Jobs</H2>
33
34 <P>
35 <A HREF="/jobs/"><IMG SRC="/images/button-manage-jobs.gif" ALT="Manage
36 Jobs" CLASS="button"></A>
37 </P>
38
39 </TD><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD VALIGN="TOP">
40
41 <H2 CLASS="title">Server</H2>
42
43 <P>
44 <A HREF="/admin?op=config-server"><IMG
45 SRC="/images/button-edit-configuration-file.gif" ALT="Edit Configuration
46 File" CLASS="button"></A>
47 <A HREF="/admin/log/access_log" TARGET="_blank"><IMG
48 SRC="/images/button-view-access-log.gif" ALT="View Access Log"
49 CLASS="button"></A>
50 <A HREF="/admin/log/error_log" TARGET="_blank"><IMG
51 SRC="/images/button-view-error-log.gif" ALT="View Error Log"
52 CLASS="button"></A>
53 <A HREF="/admin/log/page_log" TARGET="_blank"><IMG
54 SRC="/images/button-view-page-log.gif" ALT="View Page Log"
55 CLASS="button"></A>
56 </P>
57
58 {SETTINGS_ERROR?<P>{SETTINGS_MESSAGE}</P>
59 <BLOCKQUOTE>{SETTINGS_ERROR}</BLOCKQUOTE>:
60
61 <FORM METHOD="POST" ACTION="/admin">
62
63 <P><B>Basic Server Settings:</B></P>
64
65 <P><INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
66 <INPUT TYPE="CHECKBOX" NAME="REMOTE_PRINTERS" {?remote_printers}> Show printers shared by other systems<BR>
67 <INPUT TYPE="CHECKBOX" NAME="SHARE_PRINTERS" {?share_printers}> Share published printers connected to this system<BR>
68 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME="REMOTE_ANY" {?remote_any}> Allow printing from the Internet<BR>
69 <INPUT TYPE="CHECKBOX" NAME="REMOTE_ADMIN" {?remote_admin}> Allow remote administration<BR>
70 <INPUT TYPE="CHECKBOX" NAME="USER_CANCEL_ANY" {?user_cancel_any}> Allow users to cancel any job (not just their own)<BR>
71 <INPUT TYPE="CHECKBOX" NAME="DEBUG_LOGGING" {?debug_logging}> Save debugging information for troubleshooting</P>
72
73 <P><INPUT TYPE="IMAGE" SRC="/images/button-change-settings.gif" ALT="Change Settings"></P>
74
75 </FORM>}
76
77 </TD></TR>
78 </TABLE>
79
80 <H2 CLASS="title">Subscriptions</H2>
81
82 <P>
83 <A HREF="/admin/?op=add-rss-subscription"><IMG SRC="/images/button-add-rss-subscription.gif" ALT="Add RSS Subscription" CLASS="button"></A>
84 </P>
85
86 {notify_subscription_id?<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0" SUMMARY="RSS Subscriptions">
87 <THEAD><TR CLASS="data"><TH>ID</TH><TH>Name</TH><TH>Events</TH><TH>Queue</TH></TR></THEAD>
88 <TBODY>{[notify_subscription_id]
89 <TR><TD><A HREF="{notify_recipient_uri}">{notify_subscription_id}</A></TD><TD NOWRAP><A HREF="{notify_recipient_uri}">{notify_recipient_name}</A> <A HREF="/admin/?op=cancel-subscription&amp;notify_subscription_id={notify_subscription_id}"><IMG SRC="/images/button-cancel-subscription.gif" CLASS="button" ALT="Cancel RSS Subscription"></A>&nbsp;</TD><TD>{notify_events}</TD><TD NOWRAP>&nbsp;{notify_printer_name?{notify_printer_name}:All Queues}</TD></TR>}
90 </TBODY>
91 </TABLE>:}