summaryrefslogtreecommitdiff
path: root/templates/de/set-printer-options-trailer.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/de/set-printer-options-trailer.tmpl')
-rw-r--r--templates/de/set-printer-options-trailer.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/de/set-printer-options-trailer.tmpl b/templates/de/set-printer-options-trailer.tmpl
new file mode 100644
index 000000000..b92988a7f
--- /dev/null
+++ b/templates/de/set-printer-options-trailer.tmpl
@@ -0,0 +1,14 @@
+</DIV>
+
+<SCRIPT TYPE="text/javascript"><!--
+// Hide custom options parameters for browsers that understand Javascript
+var paramtables = document.getElementsByName("paramtable");
+for (var i = 0; i < paramtables.length; i++)
+{
+ var opt = paramtables[i].id.substr(0, paramtables[i].id.lastIndexOf("-"));
+ var cb = document.getElementById("select-" + opt);
+ if (cb.value != "Custom")
+ paramtables[i].style.display = "none";
+}
+--></SCRIPT>
+</FORM>