|
@@ 376-379 (lines=4) @@
|
| 373 |
|
$s_input = $this->GetHtmlInput($elt); |
| 374 |
|
|
| 375 |
|
// Attrib option as value |
| 376 |
|
if (isset($elt['attrib']['option'])) |
| 377 |
|
$s_input = str_replace('/>' |
| 378 |
|
, 'value="' . $elt['attrib']['option'] . '" />' |
| 379 |
|
, $s_input); |
| 380 |
|
|
| 381 |
|
// Checked ? |
| 382 |
|
if (!empty($elt['attrib']['checked'])) |
|
@@ 495-498 (lines=4) @@
|
| 492 |
|
// No label |
| 493 |
|
$s_html = $this->GetElementHidden($elt); |
| 494 |
|
|
| 495 |
|
if (isset($elt['attrib']['src'])) |
| 496 |
|
$s_html = str_replace('/>' |
| 497 |
|
, 'src="' . $elt['attrib']['src'] . '" />' |
| 498 |
|
, $s_html); |
| 499 |
|
|
| 500 |
|
// Label is alt text |
| 501 |
|
if (isset($elt['label'])) |