| 1 |
<?php |
| 2 |
/** |
| 3 |
* |
| 4 |
*/ |
| 5 |
$definition = $this->getDefinition(); |
| 6 |
$checked = $this->getValue() ? ' checked="checked"' : ''; |
| 7 |
// Element id. |
| 8 |
$elementId = $this->getElementId(); |
| 9 |
?> |
| 10 |
<label for="<?php echo $elementId; ?>" title="<?php echo $definition->getDescription() ?>"><?php echo $definition->getName() ?></label> |
| 11 |
<input type="checkbox" id="<?php echo $elementId; ?>" name="<?php echo $this->getName() ?>" value="1" <?php echo $checked; ?> /> |
| 12 |
<?php echo $this->getTemplate('helpText') ?> |