~ubuntu-branches/ubuntu/oneiric/cups/oneiric

« back to all changes in this revision

Viewing changes to templates/choose-device.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-04-09 16:19:16 UTC
  • mto: (25.1.2 lucid) (55.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100409161916-k0e6prz52ubf4vlg
Tags: upstream-1.4.3
ImportĀ upstreamĀ versionĀ 1.4.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
<H2 CLASS="title">{op=modify-printer?Modify {printer_name}:Add Printer}</H2>
4
4
 
5
 
{CUPS_GET_DEVICES_DONE?:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
6
 
ALT="Busy Indicator"> Looking for printers...</P>}
7
 
 
8
 
<FORM METHOD="POST" ACTION="/admin">
 
5
{CUPS_GET_DEVICES_DONE?<FORM METHOD="POST" ACTION="/admin">
9
6
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
10
7
{printer_name?<INPUT TYPE="HIDDEN" NAME="printer_name" VALUE="{printer_name}">:}
11
8
 
12
9
<TABLE>
13
10
{op=add-printer?:<TR>
14
 
<TH CLASS="label">Current Connection:</TH>
 
11
<TH CLASS="label">Current Connection\:</TH>
15
12
<TD><INPUT TYPE="RADIO" NAME="DEVICE_URI" VALUE="{current_device_uri}" CHECKED>
16
13
{current_device_uri}</TD>
17
14
</TR>}
18
15
<TR>
19
 
<TH CLASS="label">Local Printers:</TH>
 
16
<TH CLASS="label">Local Printers\:</TH>
20
17
<TD>
21
18
{[device_uri]{device_class!network?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
22
19
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
25
22
</TD>
26
23
</TR>
27
24
<TR>
28
 
<TH CLASS="label">Discovered Network Printers:</TH>
 
25
<TH CLASS="label">Discovered Network Printers\:</TH>
29
26
<TD>
30
27
{[device_uri]{device_class=network?{device_uri~[a-z]+://?<INPUT TYPE="RADIO" NAME="DEVICE_URI"
31
28
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
35
32
</TR>
36
33
<TR>
37
34
<TR>
38
 
<TH CLASS="label">Other Network Printers:</TH>
 
35
<TH CLASS="label">Other Network Printers\:</TH>
39
36
<TD>
40
37
{[device_uri]{device_class=network?{device_uri~[a-z]+://?:<INPUT TYPE="RADIO" NAME="DEVICE_URI"
41
38
VALUE="{device_uri}{?device_make_and_model!Unknown?|{device_make_and_model}:}">
49
46
</TR>
50
47
</TABLE>
51
48
 
52
 
</FORM>
53
 
</DIV>
 
 
b'\\ No newline at end of file'
 
49
</FORM>:<P><IMG SRC="/images/wait.gif" WIDTH="16" HEIGHT="16" ALIGN="ABSMIDDLE"
 
50
ALT="Busy Indicator"> Looking for printers...</P>}
 
51
 
 
52
</DIV>