]> git.ipfire.org Git - thirdparty/cups.git/blob - templates/set-printer-options-header.tmpl
Merge changes from CUPS 1.4svn-r7994.
[thirdparty/cups.git] / templates / set-printer-options-header.tmpl
1 <DIV CLASS="indent">
2
3 <FORM METHOD="POST" ACTION="/admin">
4 <INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
5 <INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
6 {HAVE_AUTOCONFIGURE?<INPUT TYPE="SUBMIT" NAME="AUTOCONFIGURE" VALUE="Auto-Configure Options">:}
7
8 <SCRIPT TYPE="text/javascript"><!--
9 function update_paramtable(option)
10 {
11 var cb = document.getElementById("select-" + option)
12 var paramstable = document.getElementById(option + "-params");
13 if (cb.value == "Custom")
14 paramstable.style.display = "table";
15 else
16 paramstable.style.display = "none";
17 }
18 --></SCRIPT>
19