]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/es/set-printer-options-trailer.tmpl
Import CUPS v2.0.0
[thirdparty/cups.git] / templates / es / set-printer-options-trailer.tmpl
diff --git a/templates/es/set-printer-options-trailer.tmpl b/templates/es/set-printer-options-trailer.tmpl
new file mode 100644 (file)
index 0000000..b92988a
--- /dev/null
@@ -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>