fixed return of field types
This commit is contained in:
parent
467f4ae563
commit
638c4e817d
|
@ -333,7 +333,7 @@ class htmlButton implements htmlElement {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '<input type="submit"' . $name . $value . $style . $class . '>';
|
echo '<input type="submit"' . $name . $value . $style . $class . '>';
|
||||||
return array($this->name, 'submit');
|
return array($this->name => 'submit');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -455,10 +455,10 @@ class htmlSelect implements htmlElement {
|
||||||
}
|
}
|
||||||
echo "</select>\n";
|
echo "</select>\n";
|
||||||
if ($this->multiSelect) {
|
if ($this->multiSelect) {
|
||||||
return array($this->name, 'multiselect');
|
return array($this->name => 'multiselect');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return array($this->name, 'select');
|
return array($this->name => 'select');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue