]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/classes.tmpl
Added templates, CGI variable code, and updated printers CGI to use
[thirdparty/cups.git] / templates / classes.tmpl
1 <TABLE BORDER="1">
2 <TR>
3 <TH>Name</TH>
4 <TH>Information</TH>
5 </TR>
6 {[printer_name]
7 <TR>
8 <TD VALIGN=TOP><A HREF="{printer_uri}">
9 <IMG SRC="../images/classes.gif" BORDER="0"><BR>{printer_name}</A></TD>
10 <TD VALIGN=TOP>Description: {printer_info}<BR>
11 Location: {printer_location}<BR>
12 Class State: {printer_state=3?idle:{printer_state=4?processing:stopped}}},
13 {printer_is_accepting_jobs=0?rejecting jobs:accepting jobs}.
14 <P>
15 <IMG SRC="../images/print-test-page.gif" ALT="Print Test Page">
16 <IMG SRC="../images/start-class.gif" ALT="Start Class">
17 <IMG SRC="../images/stop-class.gif" ALT="Stop Class">
18 <IMG SRC="../images/accept-jobs.gif" ALT="Accept Jobs">
19 <IMG SRC="../images/reject-jobs.gif" ALT="Reject Jobs">
20 </TD>
21 </TR>
22 }
23 </TABLE>