| @@ 203-207 (lines=5) @@ | ||
| 200 | } |
|
| 201 | ||
| 202 | switch ($type) { |
|
| 203 | case 'password': |
|
| 204 | $property['type'] = 'password'; |
|
| 205 | unset($property['value']); |
|
| 206 | $response = self::buildSingleTag('input', $property); |
|
| 207 | break; |
|
| 208 | case 'textarea': |
|
| 209 | unset($property['value']); |
|
| 210 | $response = self::buildContainerTag('textarea', $property, $value, $html); |
|
| @@ 290-294 (lines=5) @@ | ||
| 287 | $property['type'] = 'email'; |
|
| 288 | $response = self::buildSingleTag('input', $property); |
|
| 289 | break; |
|
| 290 | case 'file': |
|
| 291 | $property['type'] = 'file'; |
|
| 292 | unset($property['value']); |
|
| 293 | $response = self::buildSingleTag('input', $property); |
|
| 294 | break; |
|
| 295 | case 'hidden': |
|
| 296 | $property['type'] = 'hidden'; |
|
| 297 | $response = self::buildSingleTag('input', $property); |
|