function makeTypeList($currentType) { return '<select name="type">' . Event::getTypesAsHTMLOptions($currentType) . '</select>'; }