define(`html_input_inc', `0')dnl
define(`html_select_inc', `0')dnl
dnl
dnl Header
dnl
define(`html_header',
$1 |
)dnl
dnl
dnl Input
dnl
define(`html_input_element',
`'
$1
|
$3
|
|
)dnl
dnl
define(`html_input',
`ifelse(eval($0_inc`%2'), 0, dnl
html_input_element($@),
`html_input_element($@)')`
'define(`$0_inc',incr($0_inc))')dnl
dnl
dnl Select
dnl
define(`html_select_element', `'
$1
|
$3
|
|
)dnl
dnl
define(`html_select', `ifelse(eval($0_inc`%2'), 0, dnl
html_select_element($@),
html_select_element($@))`
'define(`$0_inc',incr($0_inc))')dnl
dnl
dnl Options
dnl
define(`html_options', `ifelse($#, 0, , $#, 1,dnl
,
`html_options(shift($@))')')dnl