|
@@ 228-232 (lines=5) @@
|
| 225 |
|
$label = Widget::Label(__('Handle')); |
| 226 |
|
$label->appendChild(Widget::Input('meta[handle]', (isset($meta['handle']) ? General::sanitize($meta['handle']) : null))); |
| 227 |
|
|
| 228 |
|
if (isset($this->_errors['handle'])) { |
| 229 |
|
$handlediv->appendChild(Widget::Error($label, $this->_errors['handle'])); |
| 230 |
|
} else { |
| 231 |
|
$handlediv->appendChild($label); |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
$div->appendChild($handlediv); |
| 235 |
|
|
|
@@ 438-442 (lines=5) @@
|
| 435 |
|
$label = Widget::Label(__('Handle')); |
| 436 |
|
$label->appendChild(Widget::Input('meta[handle]', (isset($meta['handle']) ? General::sanitize($meta['handle']) : null))); |
| 437 |
|
|
| 438 |
|
if (isset($this->_errors['handle'])) { |
| 439 |
|
$handlediv->appendChild(Widget::Error($label, $this->_errors['handle'])); |
| 440 |
|
} else { |
| 441 |
|
$handlediv->appendChild($label); |
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
$div->appendChild($handlediv); |
| 445 |
|
|