|
@@ 205-209 (lines=5) @@
|
| 202 |
|
$label = Widget::Label(__('Handle')); |
| 203 |
|
$label->appendChild(Widget::Input('meta[handle]', (isset($meta['handle']) ? General::sanitize($meta['handle']) : null))); |
| 204 |
|
|
| 205 |
|
if (isset($this->_errors['handle'])) { |
| 206 |
|
$handlediv->appendChild(Widget::Error($label, $this->_errors['handle'])); |
| 207 |
|
} else { |
| 208 |
|
$handlediv->appendChild($label); |
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
$div->appendChild($handlediv); |
| 212 |
|
|
|
@@ 423-427 (lines=5) @@
|
| 420 |
|
$label = Widget::Label(__('Handle')); |
| 421 |
|
$label->appendChild(Widget::Input('meta[handle]', (isset($meta['handle']) ? General::sanitize($meta['handle']) : null))); |
| 422 |
|
|
| 423 |
|
if (isset($this->_errors['handle'])) { |
| 424 |
|
$handlediv->appendChild(Widget::Error($label, $this->_errors['handle'])); |
| 425 |
|
} else { |
| 426 |
|
$handlediv->appendChild($label); |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
$div->appendChild($handlediv); |
| 430 |
|
|