mirror of https://gitee.com/openkylin/cups.git
19 lines
985 B
Cheetah
19 lines
985 B
Cheetah
<TR>
|
|
<TH {conflicted=1?CLASS="conflict":CLASS="label"} WIDTH="50%"><A NAME="{keyword}">{keytext}</A>:</TH>
|
|
<TD><SELECT NAME="{keyword}" ID="select-{keyword}" ONCHANGE="update_paramtable('{keyword}')">
|
|
{[choices]<OPTION {choices={defchoice-1}?SELECTED:} VALUE="{choices}">{text}}
|
|
</SELECT>
|
|
{iscustom=1?<TABLE NAME="paramtable" id="{keyword}-params">{[params]
|
|
<TR><TH CLASS="sublabel">{paramtext}:</TH>
|
|
<TD>{params=Units?<SELECT NAME="{keyword-1}.{params}">
|
|
<OPTION VALUE="pt"{paramvalue=pt? SELECTED:}>Пункты</OPTION>
|
|
<OPTION VALUE="mm"{paramvalue=mm? SELECTED:}>Миллиметры</OPTION>
|
|
<OPTION VALUE="cm"{paramvalue=cm? SELECTED:}>Сантиметры</OPTION>
|
|
<OPTION VALUE="in"{paramvalue=in? SELECTED:}>Дюймы</OPTION>
|
|
<OPTION VALUE="ft"{paramvalue=ft? SELECTED:}>Футы</OPTION>
|
|
<OPTION VALUE="m"{paramvalue=m? SELECTED:}>Метры</OPTION>
|
|
</SELECT>:<INPUT TYPE="{inputtype}" NAME="{keyword-1}.{params}" VALUE="{paramvalue}">}</TD></TR>
|
|
}</TABLE>
|
|
</TD>:}
|
|
</TR>
|