?> </label> </th> <td> <?php if (config_get('allow_freetext_in_profile_fields') == OFF) { ?> <select id="os_build" name="os_build"> <option value=""></option> <?php print_os_build_option_list($f_os_build); ?> </select> <?php } else { echo '<input type="text" id="os_build" name="os_build" class="autocomplete" size="16" maxlength="16" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute($f_os_build) . '" />'; } ?> </td> </tr> <?php if (ON == config_get('use_javascript')) { ?> </table> <?php collapse_closed('profile'); collapse_icon('profile'); echo lang_get('or_fill_in'); ?> <?php collapse_end('profile');
echo lang_get('os_version'); ?> </td> <td> <?php if (config_get('allow_freetext_in_profile_fields') == OFF) { ?> <select name="os_build"> <option value=""></option> <?php print_os_build_option_list($f_os_build); ?> </select> <?php } else { projax_autocomplete('os_build_get_with_prefix', 'os_build', array('value' => string_attribute($f_os_build), 'size' => '16', 'maxlength' => '16', 'tabindex' => helper_get_tab_index_value())); } ?> </td> </tr> <?php if (ON == config_get('use_javascript')) { ?> </table> <?php collapse_closed('profile'); collapse_icon('profile'); echo lang_get('or_fill_in'); ?> <?php collapse_end('profile');
function helper_get_tab_index() { return 'tabindex="' . helper_get_tab_index_value() . '"'; }
echo lang_get('os_version'); ?> </td> <td> <?php if (config_get('allow_freetext_in_profile_fields') == OFF) { ?> <select name="os_build"> <option value=""></option> <?php print_os_build_option_list($t_bug->os_build); ?> </select> <?php } else { projax_autocomplete('os_build_get_with_prefix', 'os_build', array('value' => $t_bug->os_build, 'size' => '16', 'maxlength' => '16', 'tabindex' => helper_get_tab_index_value())); } ?> </td> </tr> <tr <?php echo helper_alternate_class(); ?> > <!-- ETA --> <td class="category"> <!-- Fixed in Version -->