use new et2 config

This commit is contained in:
Ralf Becker 2016-04-24 14:04:14 +00:00
parent 540b59a711
commit b68db0525d

View File

@ -79,6 +79,7 @@ foreach($trs[2] as $n => $tr)
switch($matches[1]) switch($matches[1])
{ {
case 'input': case 'input':
case 'textarea':
echo "\t\t\t\t\t<textbox id=\"".$attrs['name'].'"'; echo "\t\t\t\t\t<textbox id=\"".$attrs['name'].'"';
unset($attrs['value'], $attrs['name']); unset($attrs['value'], $attrs['name']);
foreach($attrs as $name => $value) foreach($attrs as $name => $value)
@ -86,7 +87,7 @@ foreach($trs[2] as $n => $tr)
echo " $name=\"$value\""; echo " $name=\"$value\"";
} }
echo "/>\n"; echo "/>\n";
if (trim($matches[3])) if (trim($matches[3]) && $matches['1'] == 'input')
{ {
if ($commented) if ($commented)
{ {