<select name="ctype" class="j-required" id="j-contacts-form-subject"><?= $types ?></select>
protected function getContactTypes($options = false)
{
$types = array(
self::TYPE_SITE_ERROR => array('id' => self::TYPE_SITE_ERROR,
'title' => _t('contacts', 'Ошибка на сайте')
),
self::TYPE_TECH_SUPPORT => array('id' => self::TYPE_TECH_SUPPORT,
'title' => _t('contacts', 'Технический вопрос')
),
self::TYPE_PAY_SUPPORT => array('id' => self::TYPE_PAY_SUPPORT,
'title' => _t('contacts', 'Вопрос по оплате')
),
self::TYPE_OTHER => array('id' => self::TYPE_OTHER, 'title' => _t('contacts', 'Другие вопросы')),
);
if ($options) {
return HTML::selectOptions($types, 0, false, 'id', 'title');
}
return $types;
}
<img class="rel br2 zi3 shadow" src="def-m.png" alt="Алиса">