2 <TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
3 <TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
4 {[choices]<OPTION {choices={defchoice}?SELECTED:} VALUE="{choices}">{text}}
6 {iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
7 <TR><TH CLASS="sublabel">{paramtext}:</TH>
8 <TD>{params=Units?<SELECT NAME="{keyword}.{params}">
9 <OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Пункты</OPTION>
10 <OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Миллиметры</OPTION>
11 <OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Сантиметры</OPTION>
12 <OPTION VALUE="in"{paramvalue=in? SELECTED:}>Дюймы</OPTION>
13 <OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Футы</OPTION>
14 <OPTION VALUE="m"{paramvalue=m? SELECTED:}>Метры</OPTION>
15 </SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword}.{params}" VALUE="{paramvalue}">}</TD></TR>