addClass('element-value-changer');
$valueName = $element->getValueName();
if ($valueName === '') {
$valueName = '...';
}
if ($element->getShowAsText()) {
$html = ' '
. htmlspecialchars($valueName) . ' ';
} else {
$html = ' getParamId() ? ' id="' . $element->getParamId() . '"' : '') . '>'
. '';
$translate = Mage::getSingleton('core/translate_inline');
$html .= $translate->isAllowed() ? Mage::helper('core')->escapeHtml($valueName) :
Mage::helper('core')->escapeHtml(Mage::helper('core/string')->truncate($valueName, 33, '...'));
$html .= ' ' . $element->getElementHtml();
if ($element->getExplicitApply()) {
$html .= ' ';
}
$html .= ' ';
}
return $html;
}
}