protected function _renderVarInput_sound(&$form, &$var, &$vars)
{
$value = htmlspecialchars($var->getValue($vars));
$html = '<ul class="sound-list">';
if (!$var->isRequired()) {
$html .= '<li><label><input type="radio" id="' . $this->_genID($var->getVarName(), false) . '" name="' . htmlspecialchars($var->getVarName()) . '" value=""' . (!$value ? ' checked="checked"' : '') . ' /> ' . Horde_Core_Translation::t("No Sound") . '</label></li>';
}
foreach ($var->type->getSounds() as $sound) {
$sound = htmlspecialchars($sound);
$html .= '<li><label><input type="radio" id="' . $this->_genID($var->getVarName(), false) . '" name="' . htmlspecialchars($var->getVarName()) . '" value="' . $sound . '"' . ($value == $sound ? ' checked="checked"' : '') . ' />' . $sound . '</label>' . ' <embed autostart="false" src="' . $GLOBALS['registry']->get('themesuri', 'horde') . '/sounds/' . $sound . '" /></li>';
}
return $html . '</ul>';
}