|
|
Choosing A Webhost: |
mantisbt bug_report_advanced_page.php,1.55,1.56 bug_report_page.php,1.57,1.: msg#00059bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12155 Modified Files: bug_report_advanced_page.php bug_report_page.php bug_update_advanced_page.php bug_update_page.php Log Message: Fixed #7114: tabindex in duplicate in bug_report_advanced_page. Index: bug_update_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_update_page.php,v retrieving revision 1.90 retrieving revision 1.91 diff -u -d -r1.90 -r1.91 --- bug_update_page.php 16 May 2006 23:59:28 -0000 1.90 +++ bug_update_page.php 18 May 2006 13:00:28 -0000 1.91 @@ -110,21 +110,21 @@ <?php if ( $t_changed_project ) { echo "[" . project_get_field( $t_bug->project_id, 'name' ) . "] "; } ?> - <select name="category"> + <select <?php echo helper_get_tab_index() ?> name="category"> <?php print_category_option_list( $t_bug->category, $t_bug->project_id ) ?> </select> </td> <!-- Severity --> <td> - <select name="severity"> + <select <?php echo helper_get_tab_index() ?> name="severity"> <?php print_enum_string_option_list( 'severity', $t_bug->severity ) ?> </select> </td> <!-- Reproducibility --> <td> - <select name="reproducibility"> + <select <?php echo helper_get_tab_index() ?> name="reproducibility"> <?php print_enum_string_option_list( 'reproducibility', $t_bug->reproducibility ) ?> </select> </td> @@ -161,7 +161,7 @@ $t_username = user_get_name( $t_bug->reporter_id ); echo ajax_click_to_edit( $t_username, 'reporter_id', 'entrypoint=issue_reporter_combobox&issue_id=' . $f_bug_id ); } else { - echo '<select name="reporter_id">'; + echo '<select ', helper_get_tab_index(), ' name="reporter_id">'; print_reporter_option_list( $t_bug->reporter_id, $t_bug->project_id ); echo '</select>'; } @@ -175,7 +175,7 @@ <td> <?php if ( access_has_project_level( config_get( 'change_view_status_threshold' ) ) ) { ?> - <select name="view_state"> + <select <?php echo helper_get_tab_index() ?> name="view_state"> <?php print_enum_string_option_list( 'view_state', $t_bug->view_state) ?> </select> <?php @@ -199,7 +199,7 @@ <td colspan="5"> <?php if ( access_has_project_level( config_get( 'update_bug_assign_threshold', config_get( 'update_bug_threshold' ) ) ) ) { ?> - <select name="handler_id"> + <select <?php echo helper_get_tab_index() ?> name="handler_id"> <option value="0"></option> <?php print_assign_to_option_list( $t_bug->handler_id, $t_bug->project_id ) ?> </select> @@ -220,7 +220,7 @@ <?php echo lang_get( 'priority' ) ?> </td> <td> - <select name="priority"> + <select <?php echo helper_get_tab_index() ?> name="priority"> <?php print_enum_string_option_list( 'priority', $t_bug->priority ) ?> </select> </td> @@ -230,7 +230,7 @@ <?php echo lang_get( 'resolution' ) ?> </td> <td> - <select name="resolution"> + <select <?php echo helper_get_tab_index() ?> name="resolution"> <?php print_enum_string_option_list( "resolution", $t_bug->resolution ) ?> </select> </td> @@ -261,7 +261,7 @@ # Duplicate ID echo '<td class="category">', lang_get( 'duplicate_id' ), ' </td>'; echo '<td>'; - echo '<input type="text" name="duplicate_id" value="', $t_bug->duplicate_id, '" maxlength="7" /> '; + echo '<input ', helper_get_tab_index(), ' type="text" name="duplicate_id" value="', $t_bug->duplicate_id, '" maxlength="7" /> '; echo '</td>'; } else { # spacer @@ -279,7 +279,7 @@ <?php echo lang_get( 'product_version' ) ?> </td> <td> - <select name="version"> + <select <?php echo helper_get_tab_index() ?> name="version"> <?php print_version_option_list( $t_bug->version, $t_bug->project_id, VERSION_RELEASED ) ?> </select> </td> @@ -295,7 +295,7 @@ <?php echo lang_get( 'fixed_in_version' ) ?> </td> <td colspan="5"> - <select name="fixed_in_version"> + <select <?php echo helper_get_tab_index() ?> name="fixed_in_version"> <?php print_version_option_list( $t_bug->fixed_in_version, $t_bug->project_id, VERSION_ALL ) ?> </select> </td> @@ -314,7 +314,7 @@ <?php echo lang_get( 'summary' ) ?> </td> <td colspan="5"> - <input type="text" name="summary" size="105" maxlength="128" value="<?php echo $t_bug->summary ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="summary" size="105" maxlength="128" value="<?php echo $t_bug->summary ?>" /> </td> </tr> @@ -325,7 +325,7 @@ <?php echo lang_get( 'description' ) ?> </td> <td colspan="5"> - <textarea cols="80" rows="10" name="description" wrap="virtual"><?php echo $t_bug->description ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="description" wrap="virtual"><?php echo $t_bug->description ?></textarea> </td> </tr> @@ -336,7 +336,7 @@ <?php echo lang_get( 'additional_information' ) ?> </td> <td colspan="5"> - <textarea cols="80" rows="10" name="additional_information" wrap="virtual"><?php echo $t_bug->additional_information ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="additional_information" wrap="virtual"><?php echo $t_bug->additional_information ?></textarea> </td> </tr> @@ -384,7 +384,7 @@ <?php echo lang_get( 'add_bugnote_title' ) ?> </td> <td colspan="5"> - <textarea name="bugnote_text" cols="80" rows="10" wrap="virtual"></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="bugnote_text" cols="80" rows="10" wrap="virtual"></textarea> </td> </tr> @@ -400,7 +400,7 @@ $t_default_bugnote_view_status = config_get( 'default_bugnote_view_status' ); if ( access_has_bug_level( config_get( 'set_view_status_threshold' ), $f_bug_id ) ) { ?> - <input type="checkbox" name="private" <?php check_checked( config_get( 'default_bugnote_view_status' ), VS_PRIVATE ); ?> /> + <input <?php echo helper_get_tab_index() ?> type="checkbox" name="private" <?php check_checked( config_get( 'default_bugnote_view_status' ), VS_PRIVATE ); ?> /> <?php echo lang_get( 'private' ); } else { @@ -415,7 +415,7 @@ <!-- Submit Button --> <tr> <td class="center" colspan="6"> - <input type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" /> + <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" /> </td> </tr> Index: bug_report_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_report_advanced_page.php,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- bug_report_advanced_page.php 22 Apr 2006 06:19:40 -0000 1.55 +++ bug_report_advanced_page.php 18 May 2006 13:00:27 -0000 1.56 @@ -143,7 +143,7 @@ <?php if ( $t_changed_project ) { echo "[" . project_get_field( $t_bug->project_id, 'name' ) . "] "; } ?> - <select tabindex="1" name="category"> + <select <?php echo helper_get_tab_index() ?> name="category"> <?php print_category_option_list( $f_category ) ?> </select> </td> @@ -156,7 +156,7 @@ <?php echo lang_get( 'reproducibility' ) ?> <?php print_documentation_link( 'reproducibility' ) ?> </td> <td> - <select tabindex="2" name="reproducibility"> + <select <?php echo helper_get_tab_index() ?> name="reproducibility"> <?php print_enum_string_option_list( 'reproducibility', $f_reproducibility ) ?> </select> </td> @@ -168,7 +168,7 @@ <?php echo lang_get( 'severity' ) ?> <?php print_documentation_link( 'severity' ) ?> </td> <td> - <select tabindex="3" name="severity"> + <select <?php echo helper_get_tab_index() ?> name="severity"> <?php print_enum_string_option_list( 'severity', $f_severity ) ?> </select> </td> @@ -182,7 +182,7 @@ <?php echo lang_get( 'priority' ) ?> <?php print_documentation_link( 'priority' ) ?> </td> <td> - <select tabindex="4" name="priority"> + <select <?php echo helper_get_tab_index() ?> name="priority"> <?php print_enum_string_option_list( 'priority', $f_priority ) ?> </select> </td> @@ -202,7 +202,7 @@ <?php echo lang_get( 'select_profile' ) ?> </td> <td> - <select tabindex="5" name="profile_id"> + <select <?php echo helper_get_tab_index() ?> name="profile_id"> <?php print_profile_option_list( auth_get_current_user_id(), $f_profile_id ) ?> </select> </td> @@ -223,7 +223,7 @@ <?php echo lang_get( 'platform' ) ?> </td> <td> - <input tabindex="6" type="text" name="platform" size="32" maxlength="32" value="<?php echo $f_platform ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="platform" size="32" maxlength="32" value="<?php echo $f_platform ?>" /> </td> </tr> @@ -234,7 +234,7 @@ <?php echo lang_get( 'os' ) ?> </td> <td> - <input tabindex="7" type="text" name="os" size="32" maxlength="32" value="<?php echo $f_os ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="os" size="32" maxlength="32" value="<?php echo $f_os ?>" /> </td> </tr> @@ -245,7 +245,7 @@ <?php echo lang_get( 'os_version' ) ?> </td> <td> - <input tabindex="8" type="text" name="os_build" size="16" maxlength="16" value="<?php echo $f_os_build ?>"> + <input <?php echo helper_get_tab_index() ?> type="text" name="os_build" size="16" maxlength="16" value="<?php echo $f_os_build ?>"> </td> </tr> @@ -268,7 +268,7 @@ <?php echo lang_get( 'product_version' ) ?> </td> <td> - <select tabindex="9" name="product_version"> + <select <?php echo helper_get_tab_index() ?> name="product_version"> <?php print_version_option_list( $f_product_version, $t_project_id, VERSION_RELEASED ) ?> </select> </td> @@ -283,7 +283,7 @@ <?php echo lang_get( 'product_build' ) ?> </td> <td> - <input tabindex="10" type="text" name="build" size="32" maxlength="32" value="<?php echo $f_build ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="build" size="32" maxlength="32" value="<?php echo $f_build ?>" /> </td> </tr> @@ -299,7 +299,7 @@ <?php echo lang_get( 'assign_to' ) ?> </td> <td> - <select tabindex="11" name="handler_id"> + <select <?php echo helper_get_tab_index() ?> name="handler_id"> <option value="0" selected="selected"></option> <?php print_assign_to_option_list( $f_handler_id ) ?> </select> @@ -320,7 +320,7 @@ <span class="required">*</span><?php echo lang_get( 'summary' ) ?> <?php print_documentation_link( 'summary' ) ?> </td> <td> - <input tabindex="12" type="text" name="summary" size="105" maxlength="128" value="<?php echo $f_summary ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="summary" size="105" maxlength="128" value="<?php echo $f_summary ?>" /> </td> </tr> @@ -331,7 +331,7 @@ <span class="required">*</span><?php echo lang_get( 'description' ) ?> <?php print_documentation_link( 'description' ) ?> </td> <td> - <textarea tabindex="13" name="description" cols="80" rows="10" wrap="virtual"><?php echo $f_description ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="description" cols="80" rows="10" wrap="virtual"><?php echo $f_description ?></textarea> </td> </tr> @@ -342,7 +342,7 @@ <?php echo lang_get( 'steps_to_reproduce' ) ?> <?php print_documentation_link( 'steps_to_reproduce' ) ?> </td> <td> - <textarea tabindex="14" name="steps_to_reproduce" cols="80" rows="10" wrap="virtual"><?php echo $f_steps_to_reproduce ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="steps_to_reproduce" cols="80" rows="10" wrap="virtual"><?php echo $f_steps_to_reproduce ?></textarea> </td> </tr> @@ -353,7 +353,7 @@ <?php echo lang_get( 'additional_information' ) ?> <?php print_documentation_link( 'additional_information' ) ?> </td> <td> - <textarea tabindex="15" name="additional_info" cols="80" rows="10" wrap="virtual"><?php echo $f_additional_info ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="additional_info" cols="80" rows="10" wrap="virtual"><?php echo $f_additional_info ?></textarea> </td> </tr> @@ -406,7 +406,7 @@ </td> <td> <input type="hidden" name="max_file_size" value="<?php echo $t_max_file_size ?>" /> - <input tabindex="16" name="file" type="file" size="60" /> + <input <?php echo helper_get_tab_index() ?> name="file" type="file" size="60" /> </td> </tr> <?php } ?> @@ -421,8 +421,8 @@ <?php if ( access_has_project_level( config_get( 'set_view_status_threshold' ) ) ) { ?> - <input tabindex="9" type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?> - <input tabindex="10" type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?> + <input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?> + <input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?> <?php } else { echo get_enum_element( 'project_view_state', $f_view_state ); @@ -454,7 +454,7 @@ <?php echo lang_get( 'report_stay' ) ?> <?php print_documentation_link( 'report_stay' ) ?> </td> <td> - <input tabindex="19" type="checkbox" name="report_stay" <?php check_checked( $f_report_stay ) ?> /> (<?php echo lang_get( 'check_report_more_bugs' ) ?>) + <input <?php echo helper_get_tab_index() ?> type="checkbox" name="report_stay" <?php check_checked( $f_report_stay ) ?> /> (<?php echo lang_get( 'check_report_more_bugs' ) ?>) </td> </tr> @@ -465,7 +465,7 @@ <span class="required"> * <?php echo lang_get( 'required' ) ?></span> </td> <td class="center"> - <input tabindex="20" type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" /> + <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" /> </td> </tr> Index: bug_update_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_update_advanced_page.php,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- bug_update_advanced_page.php 16 May 2006 23:59:28 -0000 1.87 +++ bug_update_advanced_page.php 18 May 2006 13:00:28 -0000 1.88 @@ -106,21 +106,21 @@ <?php if ( $t_changed_project ) { echo "[" . project_get_field( $t_bug->project_id, 'name' ) . "] "; } ?> - <select name="category"> + <select <?php echo helper_get_tab_index() ?> name="category"> <?php print_category_option_list( $t_bug->category, $t_bug->project_id ) ?> </select> </td> <!-- Severity --> <td> - <select name="severity"> + <select <?php echo helper_get_tab_index() ?> name="severity"> <?php print_enum_string_option_list( 'severity', $t_bug->severity ) ?> </select> </td> <!-- Reproducibility --> <td> - <select name="reproducibility"> + <select <?php echo helper_get_tab_index() ?> name="reproducibility"> <?php print_enum_string_option_list( 'reproducibility', $t_bug->reproducibility ) ?> </select> </td> @@ -156,15 +156,8 @@ if ( ON == config_get( 'use_javascript' ) ) { $t_username = user_get_name( $t_bug->reporter_id ); echo ajax_click_to_edit( $t_username, 'reporter_id', 'entrypoint=issue_reporter_combobox&issue_id=' . $f_bug_id ); -/* - ajax_click_to_edit( $t_username, $t_html_to_click, 'reporter_id', 'entrypoint=issue_reporter_combobox&issue_id=$f_bug_id' ); - echo '<a id="reporter_id_target">', $t_username, '</a> '; - echo '<a id="reporter_id_edit" onclick="'; - echo "AjaxLoad('reporter_id_target', )"; - echo '"><small>[Edit]</small></a>'; -*/ } else { - echo '<select name="reporter_id">'; + echo '<select <?php echo helper_get_tab_index() ?> name="reporter_id">'; print_reporter_option_list( $t_bug->reporter_id, $t_bug->project_id ); echo '</select>'; } @@ -178,7 +171,7 @@ <td> <?php if ( access_has_project_level( config_get( 'change_view_status_threshold' ) ) ) { ?> - <select name="view_state"> + <select <?php echo helper_get_tab_index() ?> name="view_state"> <?php print_enum_string_option_list( 'view_state', $t_bug->view_state) ?> </select> <?php @@ -202,7 +195,7 @@ <td colspan="5"> <?php if ( access_has_project_level( config_get( 'update_bug_assign_threshold', config_get( 'update_bug_threshold' ) ) ) ) { ?> - <select name="handler_id"> + <select <?php echo helper_get_tab_index() ?> name="handler_id"> <option value="0"></option> <?php print_assign_to_option_list( $t_bug->handler_id, $t_bug->project_id ) ?> </select> @@ -223,7 +216,7 @@ <?php echo lang_get( 'priority' ) ?> </td> <td align="left"> - <select name="priority"> + <select <?php echo helper_get_tab_index() ?> name="priority"> <?php print_enum_string_option_list( 'priority', $t_bug->priority ) ?> </select> </td> @@ -233,7 +226,7 @@ <?php echo lang_get( 'resolution' ) ?> </td> <td> - <select name="resolution"> + <select <?php echo helper_get_tab_index() ?> name="resolution"> <?php print_enum_string_option_list( "resolution", $t_bug->resolution ) ?> </select> </td> @@ -243,7 +236,7 @@ <?php echo lang_get( 'platform' ) ?> </td> <td> - <input type="text" name="platform" size="16" maxlength="32" value="<?php echo $t_bug->platform ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="platform" size="16" maxlength="32" value="<?php echo $t_bug->platform ?>" /> </td> </tr> @@ -269,7 +262,7 @@ # Duplicate ID echo '<td class="category">', lang_get( 'duplicate_id' ), ' </td>'; echo '<td>'; - echo '<input type="text" name="duplicate_id" value="', $t_bug->duplicate_id, '" maxlength="7" /> '; + echo '<input ', helper_get_tab_index(), ' type="text" name="duplicate_id" value="', $t_bug->duplicate_id, '" maxlength="7" /> '; echo '</td>'; } else { # spacer @@ -282,7 +275,7 @@ <?php echo lang_get( 'os' ) ?> </td> <td> - <input type="text" name="os" size="16" maxlength="32" value="<?php echo $t_bug->os ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="os" size="16" maxlength="32" value="<?php echo $t_bug->os ?>" /> </td> </tr> @@ -308,7 +301,7 @@ <?php echo lang_get( 'os_version' ) ?> </td> <td> - <input type="text" name="os_build" size="16" maxlength="16" value="<?php echo $t_bug->os_build ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="os_build" size="16" maxlength="16" value="<?php echo $t_bug->os_build ?>" /> </td> </tr> @@ -322,7 +315,7 @@ <?php echo lang_get( 'eta' ) ?> </td> <td> - <select name="eta"> + <select <?php echo helper_get_tab_index() ?> name="eta"> <?php print_enum_string_option_list( 'eta', $t_bug->eta ) ?> </select> </td> @@ -341,7 +334,7 @@ <?php if ( $t_show_version ) { ?> - <select name="fixed_in_version"> + <select <?php echo helper_get_tab_index() ?> name="fixed_in_version"> <?php print_version_option_list( $t_bug->fixed_in_version, $t_bug->project_id, VERSION_ALL ) ?> </select> <?php @@ -363,7 +356,7 @@ <?php if ( $t_show_version ) { ?> - <select name="version"> + <select <?php echo helper_get_tab_index() ?> name="version"> <?php print_version_option_list( $t_bug->version, $t_bug->project_id, VERSION_RELEASED ) ?> </select> <?php @@ -392,7 +385,7 @@ <?php echo lang_get( 'build' ) ?> </td> <td> - <input type="text" name="build" size="16" maxlength="32" value="<?php echo $t_bug->build ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="build" size="16" maxlength="32" value="<?php echo $t_bug->build ?>" /> </td> </tr> @@ -413,7 +406,7 @@ <?php echo lang_get( 'summary' ) ?> </td> <td colspan="5"> - <input type="text" name="summary" size="105" maxlength="128" value="<?php echo $t_bug->summary ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="summary" size="105" maxlength="128" value="<?php echo $t_bug->summary ?>" /> </td> </tr> @@ -424,7 +417,7 @@ <?php echo lang_get( 'description' ) ?> </td> <td colspan="5"> - <textarea cols="80" rows="10" name="description" wrap="virtual"><?php echo $t_bug->description ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="description" wrap="virtual"><?php echo $t_bug->description ?></textarea> </td> </tr> @@ -435,7 +428,7 @@ <?php echo lang_get( 'steps_to_reproduce' ) ?> </td> <td colspan="5"> - <textarea cols="80" rows="10" name="steps_to_reproduce" wrap="virtual"><?php echo $t_bug->steps_to_reproduce ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="steps_to_reproduce" wrap="virtual"><?php echo $t_bug->steps_to_reproduce ?></textarea> </td> </tr> @@ -446,7 +439,7 @@ <?php echo lang_get( 'additional_information' ) ?> </td> <td colspan="5"> - <textarea cols="80" rows="10" name="additional_information" wrap="virtual"><?php echo $t_bug->additional_information ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="additional_information" wrap="virtual"><?php echo $t_bug->additional_information ?></textarea> </td> </tr> @@ -495,7 +488,7 @@ <?php echo lang_get( 'add_bugnote_title' ) ?> </td> <td colspan="5"> - <textarea name="bugnote_text" cols="80" rows="10" wrap="virtual"></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="bugnote_text" cols="80" rows="10" wrap="virtual"></textarea> </td> </tr> @@ -511,7 +504,7 @@ $t_default_bugnote_view_status = config_get( 'default_bugnote_view_status' ); if ( access_has_bug_level( config_get( 'set_view_status_threshold' ), $f_bug_id ) ) { ?> - <input type="checkbox" name="private" <?php check_checked( config_get( 'default_bugnote_view_status' ), VS_PRIVATE ); ?> /> + <input <?php echo helper_get_tab_index() ?> type="checkbox" name="private" <?php check_checked( config_get( 'default_bugnote_view_status' ), VS_PRIVATE ); ?> /> <?php echo lang_get( 'private' ); } else { @@ -526,7 +519,7 @@ <!-- Submit Button --> <tr> <td class="center" colspan="6"> - <input type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" /> + <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'update_information_button' ) ?>" /> </td> </tr> Index: bug_report_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_report_page.php,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- bug_report_page.php 22 Apr 2006 06:19:40 -0000 1.57 +++ bug_report_page.php 18 May 2006 13:00:28 -0000 1.58 @@ -128,7 +128,7 @@ <?php if ( $t_changed_project ) { echo "[" . project_get_field( $t_bug->project_id, 'name' ) . "] "; } ?> - <select tabindex="1" name="category"> + <select <?php echo helper_get_tab_index() ?> name="category"> <?php print_category_option_list( $f_category ) ?> </select> </td> @@ -141,7 +141,7 @@ <?php echo lang_get( 'reproducibility' ) ?> <?php print_documentation_link( 'reproducibility' ) ?> </td> <td> - <select tabindex="2" name="reproducibility"> + <select <?php echo helper_get_tab_index() ?> name="reproducibility"> <?php print_enum_string_option_list( 'reproducibility', $f_reproducibility ) ?> </select> </td> @@ -154,7 +154,7 @@ <?php echo lang_get( 'severity' ) ?> <?php print_documentation_link( 'severity' ) ?> </td> <td> - <select tabindex="3" name="severity"> + <select <?php echo helper_get_tab_index() ?> name="severity"> <?php print_enum_string_option_list( 'severity', $f_severity ) ?> </select> </td> @@ -168,7 +168,7 @@ <?php echo lang_get( 'priority' ) ?> <?php print_documentation_link( 'priority' ) ?> </td> <td> - <select tabindex="4" name="priority"> + <select <?php echo helper_get_tab_index() ?> name="priority"> <?php print_enum_string_option_list( 'priority', $f_priority ) ?> </select> </td> @@ -193,7 +193,7 @@ <?php echo lang_get( 'product_version' ) ?> </td> <td> - <select tabindex="9" name="product_version"> + <select <?php echo helper_get_tab_index() ?> name="product_version"> <?php print_version_option_list( $f_product_version, $t_project_id, VERSION_RELEASED ) ?> </select> </td> @@ -214,7 +214,7 @@ <span class="required">*</span><?php echo lang_get( 'summary' ) ?> <?php print_documentation_link( 'summary' ) ?> </td> <td> - <input tabindex="5" type="text" name="summary" size="105" maxlength="128" value="<?php echo $f_summary ?>" /> + <input <?php echo helper_get_tab_index() ?> type="text" name="summary" size="105" maxlength="128" value="<?php echo $f_summary ?>" /> </td> </tr> @@ -225,7 +225,7 @@ <span class="required">*</span><?php echo lang_get( 'description' ) ?> <?php print_documentation_link( 'description' ) ?> </td> <td> - <textarea tabindex="6" name="description" cols="80" rows="10" wrap="virtual"><?php echo $f_description ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="description" cols="80" rows="10" wrap="virtual"><?php echo $f_description ?></textarea> </td> </tr> @@ -236,7 +236,7 @@ <?php echo lang_get( 'additional_information' ) ?> <?php print_documentation_link( 'additional_information' ) ?> </td> <td> - <textarea tabindex="7" name="additional_info" cols="80" rows="10" wrap="virtual"><?php echo $f_additional_info ?></textarea> + <textarea <?php echo helper_get_tab_index() ?> name="additional_info" cols="80" rows="10" wrap="virtual"><?php echo $f_additional_info ?></textarea> </td> </tr> @@ -292,7 +292,7 @@ </td> <td> <input type="hidden" name="max_file_size" value="<?php echo $t_max_file_size ?>" /> - <input tabindex="8" name="file" type="file" size="60" /> + <input <?php echo helper_get_tab_index() ?> name="file" type="file" size="60" /> </td> </tr> <?php } ?> @@ -307,8 +307,8 @@ <?php if ( access_has_project_level( config_get( 'set_view_status_threshold' ) ) ) { ?> - <input tabindex="9" type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?> - <input tabindex="10" type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?> + <input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?> + <input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?> <?php } else { echo get_enum_element( 'project_view_state', $f_view_state ); @@ -340,7 +340,7 @@ <?php echo lang_get( 'report_stay' ) ?> <?php print_documentation_link( 'report_stay' ) ?> </td> <td> - <input tabindex="11" type="checkbox" name="report_stay" <?php check_checked( $f_report_stay ) ?> /> (<?php echo lang_get( 'check_report_more_bugs' ) ?>) + <input <?php echo helper_get_tab_index() ?> type="checkbox" name="report_stay" <?php check_checked( $f_report_stay ) ?> /> (<?php echo lang_get( 'check_report_more_bugs' ) ?>) </td> </tr> @@ -351,7 +351,7 @@ <span class="required"> * <?php echo lang_get( 'required' ) ?></span> </td> <td class="center"> - <input tabindex="12" type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" /> + <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" /> </td> </tr> ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/core custom_field_api.php,1.58,1.59 date_api.php,1.7,1.8 helper_api.php,1.66,1.67 print_api.php,1.156,1.157, Victor Boctor |
|---|---|
| Next by Date: | mantisbt config_defaults_inc.php,1.283.2.1.2.1.2.1.2.2.2.4,1.283.2.1.2.1.2.1.2.2.2.5, Victor Boctor |
| Previous by Thread: | mantisbt/core custom_field_api.php,1.58,1.59 date_api.php,1.7,1.8 helper_api.php,1.66,1.67 print_api.php,1.156,1.157, Victor Boctor |
| Next by Thread: | mantisbt config_defaults_inc.php,1.283.2.1.2.1.2.1.2.2.2.4,1.283.2.1.2.1.2.1.2.2.2.5, Victor Boctor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |