</tr> <tr> <th class="category"> <label for="os"><?php echo lang_get('os'); ?> </label> </th> <td> <?php if (config_get('allow_freetext_in_profile_fields') == OFF) { ?> <select id="os" name="os"> <option value=""></option> <?php print_os_option_list($f_os); ?> </select> <?php } else { echo '<input type="text" id="os" name="os" class="autocomplete" size="32" maxlength="32" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute($f_os) . '" />'; } ?> </td> </tr> <tr> <th class="category"> <label for="os_build"><?php echo lang_get('os_version'); ?> </label>
/** * print the os field * @return void */ function print_filter_os() { global $g_select_modifier, $g_filter; ?> <!-- OS --> <select<?php echo $g_select_modifier; ?> name="<?php echo FILTER_PROPERTY_OS; ?> []"> <option value="<?php echo META_FILTER_ANY; ?> "<?php check_selected($g_filter[FILTER_PROPERTY_OS], (string) META_FILTER_ANY); ?> >[<?php echo lang_get('any'); ?> ]</option> <?php print_os_option_list($g_filter[FILTER_PROPERTY_OS]); ?> </select> <?php }
function print_filter_os() { global $t_select_modifier, $t_filter; ?> <!-- OS --> <select <?php echo $t_select_modifier; ?> name="os[]"> <option value="<?php echo META_FILTER_ANY; ?> " <?php check_selected($t_filter['os'], META_FILTER_ANY); ?> >[<?php echo lang_get('any'); ?> ]</option> <?php print_os_option_list($t_filter['os']); ?> </select> <?php }
print_platform_option_list($t_bug->platform); echo '</select>'; } else { echo '<input type="text" id="platform" name="platform" class="autocomplete" size="16" maxlength="32" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute($t_bug->platform) . '" />'; } echo '</td>'; } else { $t_spacer += 2; } if ($t_show_os) { # Operating System echo '<th class="category"><label for="os">' . lang_get('os') . '</label></th>'; echo '<td>'; if (config_get('allow_freetext_in_profile_fields') == OFF) { echo '<select ' . helper_get_tab_index() . ' id="os" name="os"><option value=""></option>'; print_os_option_list($t_bug->os); echo '</select>'; } else { echo '<input type="text" id="os" name="os" class="autocomplete" size="16" maxlength="32" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute($t_bug->os) . '" />'; } echo '</td>'; } else { $t_spacer += 2; } if ($t_show_os_version) { # OS Version echo '<th class="category"><label for="os_build">' . lang_get('os_version') . '</label></th>'; echo '<td>'; if (config_get('allow_freetext_in_profile_fields') == OFF) { echo '<select ' . helper_get_tab_index() . ' id="os_build" name="os_build"><option value=""></option>'; print_os_build_option_list($t_bug->os_build);
</select> <?php } else { echo '<input type="text" id="platform" name="platform" class="autocomplete" size="32" maxlength="32" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute( $f_platform ) . '" />'; } ?> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span><?php echo lang_get( 'os' ) ?></span></label> <span class="input"> <?php if( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) { ?> <select id="os" name="os"> <option value=""></option> <?php print_os_option_list( $f_os ); ?> </select> <?php } else { echo '<input type="text" id="os" name="os" class="autocomplete" size="32" maxlength="32" tabindex="' . helper_get_tab_index_value() . '" value="' . string_attribute( $f_os ) . '" />'; } ?> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span><?php echo lang_get( 'os_version' ) ?></span></label> <span class="input"> <?php if( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) { ?>