]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/admin.tmpl
Load cups into easysw/current.
[thirdparty/cups.git] / templates / admin.tmpl
CommitLineData
757d2cad 1<TABLE CELLPADDING="0" CELLSPACING="0" WIDTH="100%" SUMMARY="Administration Tasks">
f7deaa1a 2<TR><TD VALIGN="TOP">
ef416fc2 3
ef416fc2 4<H2 CLASS="title">Printers</H2>
5
6<P>
7<A HREF="/admin?op=add-printer"><IMG
4744bd90 8SRC="/images/button-add-printer.gif" ALT="Add Printer" CLASS="button"></A>
9<A HREF="/printers/"><IMG SRC="/images/button-manage-printers.gif"
ef416fc2 10ALT="Manage Printers" CLASS="button"></A>
fa73b229 11{have_samba?<A HREF="/admin/?op=export-samba"><IMG
4744bd90 12SRC="/images/button-export-samba.gif" ALT="Export Printers to Samba"
fa73b229 13CLASS="button"></A>:}
ef416fc2 14</P>
15
16{#device_uri=0?:<P><B>New Printers Found:</B></P><UL>{[device_uri]
89d46774 17<LI><A HREF="/admin?op=add-printer&amp;{device_options}"><IMG
4744bd90 18SRC="/images/button-add-this-printer.gif" ALT="Add This Printer" CLASS="button"
89d46774 19ALIGN="MIDDLE"></A>
20{device_make_and_model} ({device_info})</LI>
ef416fc2 21}</UL>}
22
fa73b229 23<H2 CLASS="title">Classes</H2>
24
25<P>
4744bd90 26<A HREF="/admin?op=add-class"><IMG SRC="/images/button-add-class.gif"
fa73b229 27ALT="Add Class" CLASS="button"></A>
4744bd90 28<A HREF="/classes/"><IMG SRC="/images/button-manage-classes.gif"
fa73b229 29ALT="Manage Classes" CLASS="button"></A>
30</P>
31
32<H2 CLASS="title">Jobs</H2>
33
34<P>
4744bd90 35<A HREF="/jobs/"><IMG SRC="/images/button-manage-jobs.gif" ALT="Manage
fa73b229 36Jobs" CLASS="button"></A>
37</P>
38
f7deaa1a 39</TD><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD VALIGN="TOP">
ef416fc2 40
41<H2 CLASS="title">Server</H2>
42
43<P>
44<A HREF="/admin?op=config-server"><IMG
4744bd90 45SRC="/images/button-edit-configuration-file.gif" ALT="Edit Configuration
ef416fc2 46File" CLASS="button"></A>
47<A HREF="/admin/log/access_log" TARGET="_blank"><IMG
4744bd90 48SRC="/images/button-view-access-log.gif" ALT="View Access Log"
ef416fc2 49CLASS="button"></A>
50<A HREF="/admin/log/error_log" TARGET="_blank"><IMG
4744bd90 51SRC="/images/button-view-error-log.gif" ALT="View Error Log"
ef416fc2 52CLASS="button"></A>
53<A HREF="/admin/log/page_log" TARGET="_blank"><IMG
4744bd90 54SRC="/images/button-view-page-log.gif" ALT="View Page Log"
ef416fc2 55CLASS="button"></A>
56</P>
57
480ef0fe 58{SETTINGS_ERROR?<P>{SETTINGS_MESSAGE}</P>
59<BLOCKQUOTE>{SETTINGS_ERROR}</BLOCKQUOTE>:
60
ef416fc2 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>
f7deaa1a 68&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME="REMOTE_ANY" {?remote_any}> Allow printing from the Internet<BR>
ef416fc2 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
4744bd90 73<P><INPUT TYPE="IMAGE" SRC="/images/button-change-settings.gif" ALT="Change Settings"></P>
ef416fc2 74
480ef0fe 75</FORM>}
ef416fc2 76
77</TD></TR>
78</TABLE>
f7deaa1a 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>:}