summaryrefslogtreecommitdiff
path: root/templates/set-printer-options-header.tmpl
blob: 91e0981aa51b99dec99bb5d8b192d260b8837bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<H2 CLASS="title">Set Default Options for {printer_name}</H2>

<FORM METHOD="POST" ACTION="/admin">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
{HAVE_AUTOCONFIGURE?<INPUT TYPE="SUBMIT" NAME="AUTOCONFIGURE" VALUE="Query Printer for Default Options">:}

<SCRIPT TYPE="text/javascript"><!--
function update_paramtable(option)
{
  var cb = document.getElementById("select-" + option)
  var paramstable = document.getElementById(option + "-params");
  if (cb.value == "Custom")
    paramstable.style.display = "table";
  else
    paramstable.style.display = "none";
}
--></SCRIPT>

<H3 CLASS="title">{[group_id]
<A HREF="#{group_id}">{group}</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</H3>

<DIV CLASS="tabs">