element['description'];
VmConfig::loadConfig();
$html = '';
$class = !empty($this->class)? 'class="' . $this->class . '"' : '';
if (empty($class)) {
$class.="style=\"font-weight: bold; padding: 5px; background-color: #cacaca; float:none; clear:both;\"";
}
if ($this->value) {
$html .= '
';
$html .= vmText::_($this->value);
$html .= '
';
}
return $html;
}
protected function getInput()
{
if (empty($this->element['description'])) {
return '';
}
$description = (string)$this->element['description'];
$class = $this->element['class'] ? ' class="' . trim((string)$this->element['class']) . '"' : '';
$html = !empty($description) ? vmText::_($description) : '';
return '' . $html . '';
}
}