]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - templates/option-pickone.tmpl
The web interface did not allow setting of a default custom page size
[thirdparty/cups.git] / templates / option-pickone.tmpl
index 5030c46379812f72b5a98ca0984d7574e6a98082..890ef4e7d3b79652e7342d409a0115a773f05a01 100644 (file)
@@ -5,14 +5,14 @@
 </SELECT>
 {iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
 <TR><TH CLASS="sublabel">{paramtext}:</TH>
-<TD>{params=Units?<SELECT NAME="{keyword}.{params}">
+<TD>{params=Units?<SELECT NAME="{keyword-1}.{params}">
 <OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Points</OPTION>
 <OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Millimeters</OPTION>
 <OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Centimeters</OPTION>
 <OPTION VALUE="in"{paramvalue=in? SELECTED:}>Inches</OPTION>
 <OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Feet</OPTION>
 <OPTION VALUE="m"{paramvalue=m? SELECTED:}>Meters</OPTION>
-</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword}.{params}" VALUE="{paramvalue}">}</TD></TR>
+</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword-1}.{params}" VALUE="{paramvalue}">}</TD></TR>
 }</TABLE>
 </TD>:}
 </TR>