From 88f8faac759e5d2634aa125709ffaecd01480814 Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 15:55:57 +0100 Subject: [PATCH 01/10] Added classnames to my_view_page --- core/html_api.php | 2 +- my_view_inc.php | 39 +++++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/core/html_api.php b/core/html_api.php index 74ffdae..6f5afbe 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -1232,7 +1232,7 @@ function print_summary_menu( $p_page = '' ) { */ function html_status_legend() { echo '
'; - echo ''; + echo '
'; echo ''; # Don't show the legend if only one status is selected by the current filter diff --git a/my_view_inc.php b/my_view_inc.php index 9fc36cf..fd888ba 100644 --- a/my_view_inc.php +++ b/my_view_inc.php @@ -412,10 +412,11 @@ $box_title = lang_get( 'my_view_title_' . $t_box_title ); # -- ====================== BUG LIST ========================= -- ?> -
+
- + + - +project_id, 'name' ); + + if ( VS_PRIVATE == $t_bug->view_state ) { + $t_bug_class = 'my-buglist-private'; + } else { + $t_bug_class = ''; + } ?> - + - +
@@ -436,7 +437,7 @@ echo "($v_start - $v_end / $t_bug_count)"; ?>
+ id ); @@ -470,7 +477,7 @@ echo "($v_start - $v_end / $t_bug_count)"; echo '
'; if( !bug_is_readonly( $t_bug->id ) && access_has_bug_level( $t_update_bug_threshold, $t_bug->id ) ) { - echo '' . lang_get( 'update_bug_button' ) . ''; + echo '' . lang_get( 'update_bug_button' ) . ''; } if( ON == config_get( 'show_priority_text' ) ) { @@ -480,7 +487,7 @@ echo "($v_start - $v_end / $t_bug_count)"; } if( 0 < $t_attachment_count ) { - echo ''; + echo ''; echo '' . lang_get( 'attachment_alt' ) . ' -
- + project_id ) { - echo '[', string_display_line( project_get_name( $t_bug->project_id ) ), '] '; + echo '[', string_display_line( project_get_name( $t_bug->project_id ) ), '] '; } - echo $t_summary; + echo '', $t_summary, '
'; ?> -
category_id, true, $t_bug->project_id ) ); + echo '', string_display_line( category_full_name( $t_bug->category_id, true, $t_bug->project_id ) ), ''; + echo ' - '; if( $t_bug->last_updated > strtotime( '-' . $t_filter[FILTER_PROPERTY_HIGHLIGHT_CHANGED] . ' hours' ) ) { - echo ' - ' . $t_last_updated . ''; + echo '' . $t_last_updated . ''; } else { - echo ' - ' . $t_last_updated; + echo $t_last_updated; } + echo ''; ?> -
Date: Tue, 4 May 2010 16:24:58 +0100 Subject: [PATCH 02/10] Wrapped footer in div with appropriate class --- core/html_api.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/html_api.php b/core/html_api.php index 6f5afbe..dc3f65c 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -599,8 +599,8 @@ function html_footer( $p_file = null ) { user_update_last_visit( $t_user_id ); } - echo "\t", '
', "\n"; - echo "\t", '
', "\n"; + echo "\t

\n"; + echo "\t
\n"; echo '
'; if( ON == config_get( 'show_version' ) ) { @@ -668,7 +668,7 @@ function html_footer( $p_file = null ) { echo '', "\n\t", '
'; echo 'Powered by Mantis Bugtracker'; - echo '
', "\n", '
', "\n"; + echo "
\n\n"; } /** -- 1.7.0.2 From baa747ac40319715fa8118418836d3fb6e019bc8 Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:00:21 +0100 Subject: [PATCH 03/10] Added CSS class names to bracketed links --- bug_view_inc.php | 14 +++++++------- core/print_api.php | 6 +++++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/bug_view_inc.php b/bug_view_inc.php index da35b66..887fad9 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -247,15 +247,15 @@ echo $tpl_form_title; echo ' '; # Jump to Bugnotes -print_bracket_link( "#bugnotes", lang_get( 'jump_to_bugnotes' ) ); +print_bracket_link( "#bugnotes", lang_get( 'jump_to_bugnotes' ), false, 'jump-to-bugnotes' ); # Send Bug Reminder if ( $tpl_show_reminder_link ) { - print_bracket_link( $tpl_bug_reminder_link, lang_get( 'bug_reminder' ) ); + print_bracket_link( $tpl_bug_reminder_link, lang_get( 'bug_reminder' ), false, 'bug-reminder' ); } if ( !is_blank( $tpl_wiki_link ) ) { - print_bracket_link( $tpl_wiki_link, lang_get( 'wiki' ) ); + print_bracket_link( $tpl_wiki_link, lang_get( 'wiki' ), false, 'wiki' ); } foreach ( $tpl_links as $t_plugin => $t_hooks ) { @@ -284,11 +284,11 @@ if ( $t_bugslist ) { $t_index = array_search( $f_bug_id, $t_bugslist ); if ( false !== $t_index ) { if ( isset( $t_bugslist[$t_index-1] ) ) { - print_bracket_link( 'bug_view_page.php?bug_id='.$t_bugslist[$t_index-1], '<<' ); + print_bracket_link( 'bug_view_page.php?bug_id='.$t_bugslist[$t_index-1], '<<', false, 'previous-bug' ); } if ( isset( $t_bugslist[$t_index+1] ) ) { - print_bracket_link( 'bug_view_page.php?bug_id='.$t_bugslist[$t_index+1], '>>' ); + print_bracket_link( 'bug_view_page.php?bug_id='.$t_bugslist[$t_index+1], '>>', false, 'next-bug' ); } } echo ''; @@ -301,13 +301,13 @@ echo ''; if ( !is_blank( $tpl_history_link ) ) { # History echo ''; - print_bracket_link( $tpl_history_link, lang_get( 'bug_history' ) ); + print_bracket_link( $tpl_history_link, lang_get( 'bug_history' ), false , 'bug-history' ); echo ''; } # Print Bug echo ''; -print_bracket_link( $tpl_print_link, lang_get( 'print' ) ); +print_bracket_link( $tpl_print_link, lang_get( 'print' ), false, 'print' ); echo ''; echo ''; echo ''; diff --git a/core/print_api.php b/core/print_api.php index 19e02fe..d458188 100644 --- a/core/print_api.php +++ b/core/print_api.php @@ -1335,7 +1335,11 @@ function print_bracket_link_prepared( $p_link ) { # if the $p_link is blank then the text is printed but no link is created # if $p_new_window is true, link will open in a new window, default false. function print_bracket_link( $p_link, $p_url_text, $p_new_window = false, $p_class = '' ) { - echo '[ '; + echo '[ '; print_link( $p_link, $p_url_text, $p_new_window, $p_class ); echo ' ] '; } -- 1.7.0.2 From c3c5629346a644396344f19689d22d2f3bf1019e Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:01:19 +0100 Subject: [PATCH 04/10] Added CSS class names to misc. layout elements --- bug_view_inc.php | 13 ++++++++----- core/print_api.php | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bug_view_inc.php b/bug_view_inc.php index 887fad9..5414fb5 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -237,7 +237,7 @@ $tpl_links = event_signal( 'EVENT_MENU_ISSUE', $f_bug_id ); echo '
'; echo ''; -echo ''; +echo ''; # Form Title echo ''; # prev/next links if ( $t_bugslist ) { - echo ''; echo ''; if ( $tpl_top_buttons_enabled ) { - echo ''; + echo ''; echo ''; echo ''; } +echo ''; +echo ''; + if ( $tpl_show_id || $tpl_show_project || $tpl_show_category || $tpl_show_view_state || $tpl_show_date_submitted || $tpl_show_last_updated ) { # Labels echo ''; @@ -724,7 +727,7 @@ if ( $tpl_bottom_buttons_enabled ) { echo ''; } -echo '
'; @@ -278,7 +278,7 @@ echo ''; + echo ''; +echo '
'; html_buttons_view_bug_page( $tpl_bug_id ); echo '
'; +echo ''; # User list sponsoring the bug if ( $tpl_show_sponsorships_box ) { diff --git a/core/print_api.php b/core/print_api.php index d458188..56d2da2 100644 --- a/core/print_api.php +++ b/core/print_api.php @@ -1596,7 +1596,7 @@ function print_file_icon( $p_filename ) { # Prints an RSS image that is hyperlinked to an RSS feed. function print_rss( $p_feed_url, $p_title = '' ) { $t_path = config_get( 'path' ); - echo '', $p_title, ''; + echo '', $p_title, ''; } # Prints the recently visited issues. @@ -1611,7 +1611,7 @@ function print_recently_visited() { return; } - echo '
' . lang_get( 'recently_visited' ) . ': '; + echo '
' . lang_get( 'recently_visited' ) . ': '; $t_first = true; foreach( $t_ids as $t_id ) { -- 1.7.0.2 From 1830de42de4975df83347f72186484ca3c48252c Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:07:39 +0100 Subject: [PATCH 05/10] Moved bottom buttons to element. --- bug_view_inc.php | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bug_view_inc.php b/bug_view_inc.php index 5414fb5..c39184b 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -321,6 +321,15 @@ if ( $tpl_top_buttons_enabled ) { } echo ''; + +if ( $tpl_bottom_buttons_enabled ) { + echo ''; + echo ''; + html_buttons_view_bug_page( $tpl_bug_id ); + echo ''; + echo ''; +} + echo ''; if ( $tpl_show_id || $tpl_show_project || $tpl_show_category || $tpl_show_view_state || $tpl_show_date_submitted || $tpl_show_last_updated ) { @@ -721,12 +730,6 @@ if ( $tpl_show_attachments ) { echo ''; } -if ( $tpl_bottom_buttons_enabled ) { - echo ''; - html_buttons_view_bug_page( $tpl_bug_id ); - echo ''; -} - echo ''; # User list sponsoring the bug -- 1.7.0.2 From 7178efa472807b66031ecc7a994973383dba0725 Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:08:07 +0100 Subject: [PATCH 06/10] Added specific CSS class names to all bug fields. --- bug_view_inc.php | 139 ++++++++++++++++++++++++++---------------------------- 1 files changed, 67 insertions(+), 72 deletions(-) diff --git a/bug_view_inc.php b/bug_view_inc.php index c39184b..cc1825f 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -334,34 +334,34 @@ echo ''; if ( $tpl_show_id || $tpl_show_project || $tpl_show_category || $tpl_show_view_state || $tpl_show_date_submitted || $tpl_show_last_updated ) { # Labels - echo ''; - echo '', $tpl_show_id ? lang_get( 'id' ) : '', ''; - echo '', $tpl_show_project ? lang_get( 'email_project' ) : '', ''; - echo '', $tpl_show_category ? lang_get( 'category' ) : '', ''; - echo '', $tpl_show_view_state ? lang_get( 'view_status' ) : '', ''; - echo '', $tpl_show_date_submitted ? lang_get( 'date_submitted' ) : '', ''; - echo '', $tpl_show_last_updated ? lang_get( 'last_update' ) : '',''; + echo ''; + echo '', $tpl_show_id ? lang_get( 'id' ) : '', ''; + echo '', $tpl_show_project ? lang_get( 'email_project' ) : '', ''; + echo '', $tpl_show_category ? lang_get( 'category' ) : '', ''; + echo '', $tpl_show_view_state ? lang_get( 'view_status' ) : '', ''; + echo '', $tpl_show_date_submitted ? lang_get( 'date_submitted' ) : '', ''; + echo '', $tpl_show_last_updated ? lang_get( 'last_update' ) : '',''; echo ''; - echo ''; + echo ''; # Bug ID - echo '', $tpl_formatted_bug_id, ''; + echo '', $tpl_formatted_bug_id, ''; # Project - echo '', $tpl_project_name, ''; + echo '', $tpl_project_name, ''; # Category - echo '', $tpl_category, ''; + echo '', $tpl_category, ''; # View Status - echo '', $tpl_bug_view_state_enum, ''; + echo '', $tpl_bug_view_state_enum, ''; # Date Submitted - echo '', $tpl_date_submitted, ''; + echo '', $tpl_date_submitted, ''; # Date Updated - echo '', $tpl_last_updated, ''; + echo '', $tpl_last_updated, ''; echo ''; @@ -379,15 +379,10 @@ if ( $tpl_show_reporter ) { $t_spacer = 4; # Reporter - if ( $tpl_show_reporter ) { - echo '', lang_get( 'reporter' ), ''; - echo ''; - print_user_with_subject( $tpl_bug->reporter_id, $tpl_bug_id ); - echo ''; - } else { - $t_spacer += 2; - } - + echo '', lang_get( 'reporter' ), ''; + echo ''; + print_user_with_subject( $tpl_bug->reporter_id, $tpl_bug_id ); + echo ''; echo ' '; echo ''; @@ -403,19 +398,19 @@ if ( $tpl_show_handler || $tpl_show_due_date ) { $t_spacer = 2; # Handler - echo '', lang_get( 'assigned_to' ), ''; - echo ''; + echo '', lang_get( 'assigned_to' ), ''; + echo ''; print_user_with_subject( $tpl_bug->handler_id, $tpl_bug_id ); echo ''; # Due Date if ( $tpl_show_due_date ) { - echo '', lang_get( 'due_date' ), ''; + echo '', lang_get( 'due_date' ), ''; if ( $tpl_bug_overdue ) { - echo '', $tpl_bug_due_date, ''; + echo '', $tpl_bug_due_date, ''; } else { - echo '', $tpl_bug_due_date, ''; + echo '', $tpl_bug_due_date, ''; } } else { $t_spacer += 2; @@ -436,24 +431,24 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { # Priority if ( $tpl_show_priority ) { - echo '', lang_get( 'priority' ), ''; - echo '', $tpl_priority, ''; + echo '', lang_get( 'priority' ), ''; + echo '', $tpl_priority, ''; } else { $t_spacer += 2; } # Severity if ( $tpl_show_severity ) { - echo '', lang_get( 'severity' ), ''; - echo '', $tpl_severity, ''; + echo '', lang_get( 'severity' ), ''; + echo '', $tpl_severity, ''; } else { $t_spacer += 2; } # Reproducibility if ( $tpl_show_reproducibility ) { - echo '', lang_get( 'reproducibility' ), ''; - echo '', $tpl_reproducibility, ''; + echo '', lang_get( 'reproducibility' ), ''; + echo '', $tpl_reproducibility, ''; } else { $t_spacer += 2; } @@ -477,16 +472,16 @@ if ( $tpl_show_status || $tpl_show_resolution ) { # Status if ( $tpl_show_status ) { - echo '', lang_get( 'status' ), ''; - echo '', $tpl_status, ''; + echo '', lang_get( 'status' ), ''; + echo '', $tpl_status, ''; } else { $t_spacer += 2; } # Resolution if ( $tpl_show_resolution ) { - echo '', lang_get( 'resolution' ), ''; - echo '', $tpl_resolution, ''; + echo '', lang_get( 'resolution' ), ''; + echo '', $tpl_resolution, ''; } else { $t_spacer += 2; } @@ -510,16 +505,16 @@ if ( $tpl_show_projection || $tpl_show_eta ) { if ( $tpl_show_projection ) { # Projection - echo '', lang_get( 'projection' ), ''; - echo '', $tpl_projection, ''; + echo '', lang_get( 'projection' ), ''; + echo '', $tpl_projection, ''; } else { $t_spacer += 2; } # ETA if ( $tpl_show_eta ) { - echo '', lang_get( 'eta' ), ''; - echo '', $tpl_eta, ''; + echo '', lang_get( 'eta' ), ''; + echo '', $tpl_eta, ''; } else { $t_spacer += 2; } @@ -539,24 +534,24 @@ if ( $tpl_show_platform || $tpl_show_os || $tpl_show_os_version ) { # Platform if ( $tpl_show_platform ) { - echo '', lang_get( 'platform' ), ''; - echo '', $tpl_platform, ''; + echo '', lang_get( 'platform' ), ''; + echo '', $tpl_platform, ''; } else { $t_spacer += 2; } # Operating System if ( $tpl_show_os ) { - echo '', lang_get( 'os' ), ''; - echo '', $tpl_os, ''; + echo '', lang_get( 'os' ), ''; + echo '', $tpl_os, ''; } else { $t_spacer += 2; } # OS Version if ( $tpl_show_os_version ) { - echo '', lang_get( 'os_version' ), ''; - echo '', $tpl_os_version, ''; + echo '', lang_get( 'os_version' ), ''; + echo '', $tpl_os_version, ''; } else { $t_spacer += 2; } @@ -579,16 +574,16 @@ if ( $tpl_show_product_version || $tpl_show_product_build ) { # Product Version if ( $tpl_show_product_version ) { - echo '', lang_get( 'product_version' ), ''; - echo '', $tpl_product_version_string, ''; + echo '', lang_get( 'product_version' ), ''; + echo '', $tpl_product_version_string, ''; } else { $t_spacer += 2; } # Product Build if ( $tpl_show_product_build ) { - echo '', lang_get( 'product_build' ), ''; - echo '', $tpl_product_build, ''; + echo '', lang_get( 'product_build' ), ''; + echo '', $tpl_product_build, ''; } else { $t_spacer += 2; } @@ -611,16 +606,16 @@ if ( $tpl_show_target_version || $tpl_show_fixed_in_version ) { # target version if ( $tpl_show_target_version ) { # Target Version - echo '', lang_get( 'target_version' ), ''; - echo '', $tpl_target_version_string, ''; + echo '', lang_get( 'target_version' ), ''; + echo '', $tpl_target_version_string, ''; } else { $t_spacer += 2; } # fixed in version if ( $tpl_show_fixed_in_version ) { - echo '', lang_get( 'fixed_in_version' ), ''; - echo '', $tpl_fixed_in_version_string, ''; + echo '', lang_get( 'fixed_in_version' ), ''; + echo '', $tpl_fixed_in_version_string, ''; } else { $t_spacer += 2; } @@ -647,40 +642,40 @@ echo ''; # Summary if ( $tpl_show_summary ) { echo ''; - echo '', lang_get( 'summary' ), ''; - echo '', $tpl_summary, ''; + echo '', lang_get( 'summary' ), ''; + echo '', $tpl_summary, ''; echo ''; } # Description if ( $tpl_show_description ) { echo ''; - echo '', lang_get( 'description' ), ''; - echo '', $tpl_description, ''; + echo '', lang_get( 'description' ), ''; + echo '', $tpl_description, ''; echo ''; } # Steps to Reproduce if ( $tpl_show_steps_to_reproduce ) { echo ''; - echo '', lang_get( 'steps_to_reproduce' ), ''; - echo '', $tpl_steps_to_reproduce, ''; + echo '', lang_get( 'steps_to_reproduce' ), ''; + echo '', $tpl_steps_to_reproduce, ''; echo ''; } # Additional Information if ( $tpl_show_additional_information ) { echo ''; - echo '', lang_get( 'additional_information' ), ''; - echo '', $tpl_additional_information, ''; + echo '', lang_get( 'additional_information' ), ''; + echo '', $tpl_additional_information, ''; echo ''; } # Tagging if ( $tpl_show_tags ) { echo ''; - echo '', lang_get( 'tags' ), ''; - echo ''; + echo '', lang_get( 'tags' ), ''; + echo ''; tag_display_attached( $tpl_bug_id ); echo ''; } @@ -688,8 +683,8 @@ if ( $tpl_show_tags ) { # Attachments Form if ( $tpl_can_attach_tag ) { echo ''; - echo '', lang_get( 'tag_attach_long' ), ''; - echo ''; + echo '', lang_get( 'tag_attach_long' ), ''; + echo ''; print_tag_attach_form( $tpl_bug_id ); echo ''; } @@ -710,8 +705,8 @@ foreach( $t_related_custom_field_ids as $t_id ) { $t_def = custom_field_get_definition( $t_id ); echo ''; - echo '', string_display( lang_get_defaulted( $t_def['name'] ) ), ''; - echo ''; + echo '', string_display( lang_get_defaulted( $t_def['name'] ) ), ''; + echo ''; print_custom_field_value( $t_def, $t_id, $f_bug_id ); echo ''; } @@ -724,8 +719,8 @@ if ( $t_custom_fields_found ) { # Attachments if ( $tpl_show_attachments ) { echo ''; - echo '', lang_get( 'attached_files' ), ''; - echo ''; + echo '', lang_get( 'attached_files' ), ''; + echo ''; print_bug_attachments_list( $tpl_bug_id ); echo ''; } -- 1.7.0.2 From 31e687b2732b9506c9422ef0ece2d02e79f620fa Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:19:55 +0100 Subject: [PATCH 07/10] Added CSS class names to bracketed new-window links. --- core/print_api.php | 8 ++------ core/string_api.php | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/core/print_api.php b/core/print_api.php index 56d2da2..7a7486a 100644 --- a/core/print_api.php +++ b/core/print_api.php @@ -1351,11 +1351,7 @@ function print_link( $p_link, $p_url_text, $p_new_window = false, $p_class = '' } else { $t_link = htmlspecialchars( $p_link ); if( $p_new_window === true ) { - if( $p_class !== '') { - echo "$p_url_text"; - } else { - echo "$p_url_text"; - } + echo "$p_url_text"; } else { if( $p_class !== '') { echo "$p_url_text"; @@ -1681,7 +1677,7 @@ function print_bug_attachments_list( $p_bug_id ) { $t_href_start = ""; $t_href_end = ''; - $t_href_clicket = " [^]"; + $t_href_clicket = " [^]"; } else { $t_href_start = ''; $t_href_end = ''; diff --git a/core/string_api.php b/core/string_api.php index 1eb8ec6..8f1367f 100644 --- a/core/string_api.php +++ b/core/string_api.php @@ -473,7 +473,7 @@ function string_insert_hrefs( $p_string ) { $s_url_regex = "/(([[:alpha:]][-+.[:alnum:]]*):\/\/(${t_url_part1}*?${t_url_part2}+))/sue"; } - $p_string = preg_replace( $s_url_regex, "'\\1 [^]'", $p_string ); + $p_string = preg_replace( $s_url_regex, "'\\1 [^]'", $p_string ); if( $t_change_quotes ) { ini_set( 'magic_quotes_sybase', true ); } -- 1.7.0.2 From 0d12fbcd47648c19ad506dffc084ba770da775ab Mon Sep 17 00:00:00 2001 From: Kornel Date: Tue, 4 May 2010 17:27:13 +0100 Subject: [PATCH 08/10] Added CSS class name to My View bug count --- my_view_inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/my_view_inc.php b/my_view_inc.php index fd888ba..21284a5 100644 --- a/my_view_inc.php +++ b/my_view_inc.php @@ -433,7 +433,7 @@ else { $v_start = 0; $v_end = 0; } -echo "($v_start - $v_end / $t_bug_count)"; +echo "($v_start - $v_end / $t_bug_count)"; ?> -- 1.7.0.2 From c959861b9bccc6f61f77d39bda633a9c68dfe250 Mon Sep 17 00:00:00 2001 From: Kornel Date: Wed, 5 May 2010 14:37:06 +0100 Subject: [PATCH 09/10] Replaced all with --- account_page.php | 44 +++++++------- account_prefs_inc.php | 64 +++++++++--------- account_prof_edit_page.php | 16 +++--- account_prof_menu_page.php | 20 +++--- admin/index.php | 2 +- bug_actiongroup_add_note_inc.php | 6 +- bug_actiongroup_attach_tags_inc.php | 2 +- bug_actiongroup_page.php | 20 +++--- bug_actiongroup_update_product_build_inc.php | 2 +- bug_actiongroup_update_severity_inc.php | 4 +- bug_change_status_page.php | 44 +++++++------- bug_monitor_list_view_inc.php | 4 +- bug_reminder_page.php | 8 +- bug_report_page.php | 84 ++++++++++++------------ bug_revision_view_page.php | 6 +- bug_sponsorship_list_view_inc.php | 4 +- bug_update_advanced_page.php | 52 ++++++++-------- bug_view_inc.php | 64 +++++++++--------- bugnote_add_inc.php | 12 ++-- core/authentication_api.php | 4 +- core/bug_group_action_api.php | 4 +- core/relationship_api.php | 2 +- css/default.css | 8 +- login_page.php | 16 +++--- login_select_proj_page.php | 8 +- lost_pwd_page.php | 8 +- manage_columns_inc.php | 20 +++--- manage_custom_field_edit_page.php | 84 ++++++++++++------------ manage_custom_field_page.php | 20 +++--- manage_overview_page.php | 10 ++-- manage_proj_cat_edit_page.php | 4 +- manage_proj_create_page.php | 28 ++++---- manage_proj_edit_page.php | 36 +++++----- manage_proj_ver_edit_page.php | 20 +++--- manage_tags_page.php | 4 +- manage_user_create_page.php | 32 +++++----- manage_user_edit_page.php | 36 +++++----- news_edit_page.php | 16 +++--- news_menu_page.php | 16 +++--- plugins/MantisCoreFormatting/pages/config.php | 8 +- plugins/MantisGraph/pages/config.php | 20 +++--- plugins/XmlImportExport/pages/import.php | 6 +- print_all_bug_options_inc.php | 4 +- print_bug_page.php | 58 +++++++++--------- proj_doc_add_page.php | 8 +- proj_doc_edit_page.php | 12 ++-- signup_page.php | 12 ++-- tag_attach.php | 6 +- tag_update_page.php | 2 +- tag_view_page.php | 4 +- view_filters_page.php | 14 ++-- view_user_page.php | 12 ++-- 52 files changed, 500 insertions(+), 500 deletions(-) diff --git a/account_page.php b/account_page.php index d93becb..ca7fe2b 100644 --- a/account_page.php +++ b/account_page.php @@ -133,9 +133,9 @@ html_page_top( lang_get( 'account_link' ) ); > - + - + @@ -143,9 +143,9 @@ html_page_top( lang_get( 'account_link' ) ); > - + - + @@ -158,9 +158,9 @@ html_page_top( lang_get( 'account_link' ) ); > - + - + @@ -168,14 +168,14 @@ html_page_top( lang_get( 'account_link' ) ); > - + * - + @@ -183,14 +183,14 @@ html_page_top( lang_get( 'account_link' ) ); > - + * - + @@ -203,9 +203,9 @@ if ( $t_ldap && ON == config_get( 'use_ldap_email' ) ) { ?> > - + - + @@ -215,9 +215,9 @@ if ( $t_ldap && ON == config_get( 'use_ldap_email' ) ) { ?> > - + - + valign="top"> - + - + > - + - + @@ -257,9 +257,9 @@ if ( $t_ldap && ON == config_get( 'use_ldap_realname' ) ) { > - + - + @@ -267,9 +267,9 @@ if ( $t_ldap && ON == config_get( 'use_ldap_realname' ) ) { valign="top"> - + - + diff --git a/account_prefs_inc.php b/account_prefs_inc.php index 6d7fe17..9b47b82 100644 --- a/account_prefs_inc.php +++ b/account_prefs_inc.php @@ -95,9 +95,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + > - + - + > - + - + @@ -133,9 +133,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ if ( ON == config_get( 'enable_email_notification' ) ) { ?> > - + - + email_on_new, ON ); ?> /> @@ -147,9 +147,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_assigned, ON ); ?> /> @@ -161,9 +161,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_feedback, ON ); ?> /> @@ -175,9 +175,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_resolved, ON ); ?> /> @@ -189,9 +189,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_closed, ON ); ?> /> @@ -203,9 +203,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_reopened, ON ); ?> /> @@ -217,9 +217,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_bugnote, ON ); ?> /> @@ -231,9 +231,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_status, ON ); ?> /> @@ -245,9 +245,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + email_on_priority , ON); ?> /> @@ -259,9 +259,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + @@ -288,9 +288,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_ > - + - + language ) ?> diff --git a/account_prof_edit_page.php b/account_prof_edit_page.php index 1da677a..bf10df0 100644 --- a/account_prof_edit_page.php +++ b/account_prof_edit_page.php @@ -98,33 +98,33 @@ if ( profile_is_global( $f_profile_id ) ) { - + * - + - + * - + - + * - + - + - + diff --git a/account_prof_menu_page.php b/account_prof_menu_page.php index d65a73b..887785d 100644 --- a/account_prof_menu_page.php +++ b/account_prof_menu_page.php @@ -104,33 +104,33 @@ if ( $g_global_profiles ) { - + * - + - + * - + - + * - + - + - + @@ -177,9 +177,9 @@ if ( $g_global_profiles ) { - + - + '; + echo '', lang_get( 'add_bugnote_title' ), ''; ?> - + - + ',lang_get('tag_attach_long'),''; + echo '',lang_get('tag_attach_long'),''; print_tag_input(); echo ''; } diff --git a/bug_actiongroup_page.php b/bug_actiongroup_page.php index fe5305e..fbf8bf1 100644 --- a/bug_actiongroup_page.php +++ b/bug_actiongroup_page.php @@ -246,9 +246,9 @@ if ( $t_multiple_projects ) { if ( !$t_finished ) { ?> - + - + - + - + > - + - + ', lang_get( 'product_build' ), ''; + echo '', lang_get( 'product_build' ), ''; echo '
'; } diff --git a/bug_actiongroup_update_severity_inc.php b/bug_actiongroup_update_severity_inc.php index d275be9..d4ce243 100644 --- a/bug_actiongroup_update_severity_inc.php +++ b/bug_actiongroup_update_severity_inc.php @@ -56,9 +56,9 @@ function action_update_severity_print_title() { * A row has two columns. */ function action_update_severity_print_fields() { - echo ''; + echo ''; echo lang_get( 'update_severity_msg' ); - echo ''; print_enum_string_option_list( 'severity' ); echo ''; echo '
'; diff --git a/bug_change_status_page.php b/bug_change_status_page.php index f5e0c7b..b2a6beb 100644 --- a/bug_change_status_page.php +++ b/bug_change_status_page.php @@ -154,9 +154,9 @@ $t_bug_is_open = $t_current_resolution < $t_resolved; if ( ( $f_new_status >= $t_resolved ) && ( ( $f_new_status < $t_closed ) || ( $t_bug_is_open ) ) ) { ?> > - + - + @@ -202,9 +202,9 @@ if ( access_has_bug_level( config_get( 'update_bug_assign_threshold', config_get ?> > - + - + > - + - + @@ -339,18 +339,18 @@ if ( ( $t_resolved <= $f_new_status ) && ( $f_new_status < $t_closed ) ) { ?> > - + - + > - + - + > - + (HH:MM) - + diff --git a/bug_monitor_list_view_inc.php b/bug_monitor_list_view_inc.php index c0c2eb4..9e62079 100644 --- a/bug_monitor_list_view_inc.php +++ b/bug_monitor_list_view_inc.php @@ -82,9 +82,9 @@ if ( access_has_bug_level( config_get( 'show_monitor_list_threshold' ), $f_bug_i - + - + - + - - + + - + > diff --git a/bug_report_page.php b/bug_report_page.php index 92ec56e..e5a367b 100644 --- a/bug_report_page.php +++ b/bug_report_page.php @@ -217,9 +217,9 @@ print_recently_visited(); if ( $tpl_show_category ) { ?> > - + *'; print_documentation_link( 'category' ) ?> - + project_id, 'name' ) . "] "; @@ -237,9 +237,9 @@ print_recently_visited(); ?> > - + - + name="severity"> @@ -267,9 +267,9 @@ print_recently_visited(); if ( $tpl_show_priority ) { ?> > - + - + name="profile_id"> @@ -321,9 +321,9 @@ print_recently_visited(); > - + - + @@ -355,9 +355,9 @@ print_recently_visited(); > - + - + > - + - + type="text" name="build" size="32" maxlength="32" value="" /> @@ -415,9 +415,9 @@ print_recently_visited(); > - + - + name="target_version"> @@ -442,17 +442,17 @@ print_recently_visited(); > - + * - + type="text" name="summary" size="105" maxlength="128" value="" /> > - + * - + @@ -460,9 +460,9 @@ print_recently_visited(); > - + - + @@ -471,9 +471,9 @@ print_recently_visited(); > - + - + @@ -490,9 +490,9 @@ print_recently_visited(); $t_custom_fields_found = true; ?> > - + * - + @@ -520,9 +520,9 @@ print_recently_visited(); if ( $tpl_show_view_state ) { ?> > - + - + @@ -535,9 +535,9 @@ print_recently_visited(); if( $f_master_bug_id > 0 ) { ?> > - + - + ' . lang_get( 'bug' ) . ' ' . bug_format_id( $f_master_bug_id ) . '' ?> @@ -547,9 +547,9 @@ print_recently_visited(); } ?> > - + - + diff --git a/bug_revision_view_page.php b/bug_revision_view_page.php index 330b1d5..e5c9e44 100644 --- a/bug_revision_view_page.php +++ b/bug_revision_view_page.php @@ -133,7 +133,7 @@ $t_by_string = sprintf( lang_get( 'revision_by' ), string_display_line( date( co > - + > - + @@ -169,7 +169,7 @@ print_bracket_link( 'view.php?id=' . $t_bug_id, lang_get( 'back_to_issue' ) ); > - + diff --git a/bug_sponsorship_list_view_inc.php b/bug_sponsorship_list_view_inc.php index 6d46f4b..5e7b779 100644 --- a/bug_sponsorship_list_view_inc.php +++ b/bug_sponsorship_list_view_inc.php @@ -106,7 +106,7 @@ if ( $t_show_sponsorships ) { if ( $t_can_sponsor ) { ?> - +
@@ -124,7 +124,7 @@ if ( $t_show_sponsorships ) { if ( $t_total_sponsorship > 0 ) { ?> - + ', lang_get( 'reporter' ), ''; + echo '', lang_get( 'reporter' ), ''; echo ''; if ( ON == config_get( 'use_javascript' ) ) { @@ -288,7 +288,7 @@ if ( $tpl_show_handler || $tpl_show_due_date ) { $t_spacer = 2; # Assigned To - echo '', lang_get( 'assigned_to' ), ''; + echo '', lang_get( 'assigned_to' ), ''; echo ''; if ( access_has_project_level( config_get( 'update_bug_assign_threshold', config_get( 'update_bug_threshold' ) ) ) ) { @@ -304,7 +304,7 @@ if ( $tpl_show_handler || $tpl_show_due_date ) { if ( $tpl_show_due_date ) { # Due Date - echo '', lang_get( 'due_date' ), ''; + echo '', lang_get( 'due_date' ), ''; if ( bug_is_overdue( $tpl_bug_id ) ) { echo ''; @@ -350,7 +350,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { if ( $tpl_show_priority ) { # Priority - echo '', lang_get( 'priority' ), ''; + echo '', lang_get( 'priority' ), ''; echo '', ''; @@ -360,7 +360,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { if ( $tpl_show_severity ) { # Severity - echo '', lang_get( 'severity' ), ''; + echo '', lang_get( 'severity' ), ''; echo '', ''; @@ -370,7 +370,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { if ( $tpl_show_reproducibility ) { # Reproducibility - echo '', lang_get( 'reproducibility' ), ''; + echo '', lang_get( 'reproducibility' ), ''; echo ''; @@ -397,7 +397,7 @@ if ( $tpl_show_status || $tpl_show_resolution ) { if ( $tpl_show_status ) { # Status - echo '', lang_get( 'status' ), ''; + echo '', lang_get( 'status' ), ''; echo ''; print_status_option_list( 'status', $tpl_bug->status, ( $tpl_bug->reporter_id == auth_get_current_user_id() && @@ -409,7 +409,7 @@ if ( $tpl_show_status || $tpl_show_resolution ) { if ( $tpl_show_resolution ) { # Resolution - echo '', lang_get( 'resolution' ), ''; + echo '', lang_get( 'resolution' ), ''; echo ''; @@ -436,9 +436,9 @@ if ( $tpl_show_projection || $tpl_show_eta ) { if ( $tpl_show_projection ) { # Projection - echo ''; + echo ''; echo lang_get( 'projection' ); - echo ''; + echo ''; echo ''; @@ -448,7 +448,7 @@ if ( $tpl_show_projection || $tpl_show_eta ) { # ETA if ( $tpl_show_eta ) { - echo '', lang_get( 'eta' ), ''; + echo '', lang_get( 'eta' ), ''; echo '', ''; print_version_option_list( $tpl_bug->version, $tpl_bug->project_id, $tpl_product_version_released_mask ); echo ''; @@ -554,7 +554,7 @@ if ( $tpl_show_product_version || $tpl_show_product_build ) { } if ( $tpl_show_product_build ) { - echo '', lang_get( 'product_build' ), ''; + echo '', lang_get( 'product_build' ), ''; echo ''; echo ''; echo ''; @@ -579,7 +579,7 @@ if ( $tpl_show_target_version || $tpl_show_fixed_in_version ) { # Target Version if ( $tpl_show_target_version ) { - echo '', lang_get( 'target_version' ), ''; + echo '', lang_get( 'target_version' ), ''; echo ''; @@ -589,9 +589,9 @@ if ( $tpl_show_target_version || $tpl_show_fixed_in_version ) { # Fixed in Version if ( $tpl_show_fixed_in_version ) { - echo ''; + echo ''; echo lang_get( 'fixed_in_version' ); - echo ''; + echo ''; echo ''; echo ''; echo ''; } @@ -624,7 +624,7 @@ if ( $tpl_show_summary ) { # Description if ( $tpl_show_description ) { echo ''; - echo '', lang_get( 'description' ), ''; + echo '', lang_get( 'description' ), ''; echo ''; echo ''; echo ''; @@ -633,7 +633,7 @@ if ( $tpl_show_description ) { # Steps to Reproduce if ( $tpl_show_steps_to_reproduce ) { echo ''; - echo '', lang_get( 'steps_to_reproduce' ), ''; + echo '', lang_get( 'steps_to_reproduce' ), ''; echo ''; echo ''; echo ''; @@ -642,7 +642,7 @@ if ( $tpl_show_steps_to_reproduce ) { # Additional Information if ( $tpl_show_additional_information ) { echo ''; - echo '', lang_get( 'additional_information' ), ''; + echo '', lang_get( 'additional_information' ), ''; echo ''; echo ''; echo ''; @@ -679,13 +679,13 @@ if ( $t_custom_fields_found ) { # Bugnote Text Box echo ''; -echo '', lang_get( 'add_bugnote_title' ), ''; +echo '', lang_get( 'add_bugnote_title' ), ''; echo ''; # Bugnote Private Checkbox (if permitted) if ( access_has_bug_level( config_get( 'private_bugnote_threshold' ), $tpl_bug_id ) ) { echo ''; - echo '', lang_get( 'private' ), ''; + echo '', lang_get( 'private' ), ''; echo ''; $t_default_bugnote_view_status = config_get( 'default_bugnote_view_status' ); @@ -703,7 +703,7 @@ if ( access_has_bug_level( config_get( 'private_bugnote_threshold' ), $tpl_bug_i if ( config_get('time_tracking_enabled') ) { if ( access_has_bug_level( config_get( 'time_tracking_edit_threshold' ), $tpl_bug_id ) ) { echo ''; - echo '', lang_get( 'time_tracking' ), ' (HH:MM)'; + echo '', lang_get( 'time_tracking' ), ' (HH:MM)'; echo ''; } } diff --git a/bug_view_inc.php b/bug_view_inc.php index cc1825f..325a8de 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -335,12 +335,12 @@ echo ''; if ( $tpl_show_id || $tpl_show_project || $tpl_show_category || $tpl_show_view_state || $tpl_show_date_submitted || $tpl_show_last_updated ) { # Labels echo ''; - echo '', $tpl_show_id ? lang_get( 'id' ) : '', ''; - echo '', $tpl_show_project ? lang_get( 'email_project' ) : '', ''; - echo '', $tpl_show_category ? lang_get( 'category' ) : '', ''; - echo '', $tpl_show_view_state ? lang_get( 'view_status' ) : '', ''; - echo '', $tpl_show_date_submitted ? lang_get( 'date_submitted' ) : '', ''; - echo '', $tpl_show_last_updated ? lang_get( 'last_update' ) : '',''; + echo '', $tpl_show_id ? lang_get( 'id' ) : '', ''; + echo '', $tpl_show_project ? lang_get( 'email_project' ) : '', ''; + echo '', $tpl_show_category ? lang_get( 'category' ) : '', ''; + echo '', $tpl_show_view_state ? lang_get( 'view_status' ) : '', ''; + echo '', $tpl_show_date_submitted ? lang_get( 'date_submitted' ) : '', ''; + echo '', $tpl_show_last_updated ? lang_get( 'last_update' ) : '',''; echo ''; echo ''; @@ -352,7 +352,7 @@ if ( $tpl_show_id || $tpl_show_project || $tpl_show_category || $tpl_show_view_s echo '', $tpl_project_name, ''; # Category - echo '', $tpl_category, ''; + echo '', $tpl_category, ''; # View Status echo '', $tpl_bug_view_state_enum, ''; @@ -379,7 +379,7 @@ if ( $tpl_show_reporter ) { $t_spacer = 4; # Reporter - echo '', lang_get( 'reporter' ), ''; + echo '', lang_get( 'reporter' ), ''; echo ''; print_user_with_subject( $tpl_bug->reporter_id, $tpl_bug_id ); echo ''; @@ -398,14 +398,14 @@ if ( $tpl_show_handler || $tpl_show_due_date ) { $t_spacer = 2; # Handler - echo '', lang_get( 'assigned_to' ), ''; + echo '', lang_get( 'assigned_to' ), ''; echo ''; print_user_with_subject( $tpl_bug->handler_id, $tpl_bug_id ); echo ''; # Due Date if ( $tpl_show_due_date ) { - echo '', lang_get( 'due_date' ), ''; + echo '', lang_get( 'due_date' ), ''; if ( $tpl_bug_overdue ) { echo '', $tpl_bug_due_date, ''; @@ -431,7 +431,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { # Priority if ( $tpl_show_priority ) { - echo '', lang_get( 'priority' ), ''; + echo '', lang_get( 'priority' ), ''; echo '', $tpl_priority, ''; } else { $t_spacer += 2; @@ -439,7 +439,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { # Severity if ( $tpl_show_severity ) { - echo '', lang_get( 'severity' ), ''; + echo '', lang_get( 'severity' ), ''; echo '', $tpl_severity, ''; } else { $t_spacer += 2; @@ -447,7 +447,7 @@ if ( $tpl_show_priority || $tpl_show_severity || $tpl_show_reproducibility ) { # Reproducibility if ( $tpl_show_reproducibility ) { - echo '', lang_get( 'reproducibility' ), ''; + echo '', lang_get( 'reproducibility' ), ''; echo '', $tpl_reproducibility, ''; } else { $t_spacer += 2; @@ -472,7 +472,7 @@ if ( $tpl_show_status || $tpl_show_resolution ) { # Status if ( $tpl_show_status ) { - echo '', lang_get( 'status' ), ''; + echo '', lang_get( 'status' ), ''; echo '', $tpl_status, ''; } else { $t_spacer += 2; @@ -480,7 +480,7 @@ if ( $tpl_show_status || $tpl_show_resolution ) { # Resolution if ( $tpl_show_resolution ) { - echo '', lang_get( 'resolution' ), ''; + echo '', lang_get( 'resolution' ), ''; echo '', $tpl_resolution, ''; } else { $t_spacer += 2; @@ -505,7 +505,7 @@ if ( $tpl_show_projection || $tpl_show_eta ) { if ( $tpl_show_projection ) { # Projection - echo '', lang_get( 'projection' ), ''; + echo '', lang_get( 'projection' ), ''; echo '', $tpl_projection, ''; } else { $t_spacer += 2; @@ -513,7 +513,7 @@ if ( $tpl_show_projection || $tpl_show_eta ) { # ETA if ( $tpl_show_eta ) { - echo '', lang_get( 'eta' ), ''; + echo '', lang_get( 'eta' ), ''; echo '', $tpl_eta, ''; } else { $t_spacer += 2; @@ -534,7 +534,7 @@ if ( $tpl_show_platform || $tpl_show_os || $tpl_show_os_version ) { # Platform if ( $tpl_show_platform ) { - echo '', lang_get( 'platform' ), ''; + echo '', lang_get( 'platform' ), ''; echo '', $tpl_platform, ''; } else { $t_spacer += 2; @@ -542,7 +542,7 @@ if ( $tpl_show_platform || $tpl_show_os || $tpl_show_os_version ) { # Operating System if ( $tpl_show_os ) { - echo '', lang_get( 'os' ), ''; + echo '', lang_get( 'os' ), ''; echo '', $tpl_os, ''; } else { $t_spacer += 2; @@ -550,7 +550,7 @@ if ( $tpl_show_platform || $tpl_show_os || $tpl_show_os_version ) { # OS Version if ( $tpl_show_os_version ) { - echo '', lang_get( 'os_version' ), ''; + echo '', lang_get( 'os_version' ), ''; echo '', $tpl_os_version, ''; } else { $t_spacer += 2; @@ -574,7 +574,7 @@ if ( $tpl_show_product_version || $tpl_show_product_build ) { # Product Version if ( $tpl_show_product_version ) { - echo '', lang_get( 'product_version' ), ''; + echo '', lang_get( 'product_version' ), ''; echo '', $tpl_product_version_string, ''; } else { $t_spacer += 2; @@ -582,7 +582,7 @@ if ( $tpl_show_product_version || $tpl_show_product_build ) { # Product Build if ( $tpl_show_product_build ) { - echo '', lang_get( 'product_build' ), ''; + echo '', lang_get( 'product_build' ), ''; echo '', $tpl_product_build, ''; } else { $t_spacer += 2; @@ -606,7 +606,7 @@ if ( $tpl_show_target_version || $tpl_show_fixed_in_version ) { # target version if ( $tpl_show_target_version ) { # Target Version - echo '', lang_get( 'target_version' ), ''; + echo '', lang_get( 'target_version' ), ''; echo '', $tpl_target_version_string, ''; } else { $t_spacer += 2; @@ -614,7 +614,7 @@ if ( $tpl_show_target_version || $tpl_show_fixed_in_version ) { # fixed in version if ( $tpl_show_fixed_in_version ) { - echo '', lang_get( 'fixed_in_version' ), ''; + echo '', lang_get( 'fixed_in_version' ), ''; echo '', $tpl_fixed_in_version_string, ''; } else { $t_spacer += 2; @@ -642,7 +642,7 @@ echo ''; # Summary if ( $tpl_show_summary ) { echo ''; - echo '', lang_get( 'summary' ), ''; + echo '', lang_get( 'summary' ), ''; echo '', $tpl_summary, ''; echo ''; } @@ -650,7 +650,7 @@ if ( $tpl_show_summary ) { # Description if ( $tpl_show_description ) { echo ''; - echo '', lang_get( 'description' ), ''; + echo '', lang_get( 'description' ), ''; echo '', $tpl_description, ''; echo ''; } @@ -658,7 +658,7 @@ if ( $tpl_show_description ) { # Steps to Reproduce if ( $tpl_show_steps_to_reproduce ) { echo ''; - echo '', lang_get( 'steps_to_reproduce' ), ''; + echo '', lang_get( 'steps_to_reproduce' ), ''; echo '', $tpl_steps_to_reproduce, ''; echo ''; } @@ -666,7 +666,7 @@ if ( $tpl_show_steps_to_reproduce ) { # Additional Information if ( $tpl_show_additional_information ) { echo ''; - echo '', lang_get( 'additional_information' ), ''; + echo '', lang_get( 'additional_information' ), ''; echo '', $tpl_additional_information, ''; echo ''; } @@ -674,7 +674,7 @@ if ( $tpl_show_additional_information ) { # Tagging if ( $tpl_show_tags ) { echo ''; - echo '', lang_get( 'tags' ), ''; + echo '', lang_get( 'tags' ), ''; echo ''; tag_display_attached( $tpl_bug_id ); echo ''; @@ -683,7 +683,7 @@ if ( $tpl_show_tags ) { # Attachments Form if ( $tpl_can_attach_tag ) { echo ''; - echo '', lang_get( 'tag_attach_long' ), ''; + echo '', lang_get( 'tag_attach_long' ), ''; echo ''; print_tag_attach_form( $tpl_bug_id ); echo ''; @@ -705,7 +705,7 @@ foreach( $t_related_custom_field_ids as $t_id ) { $t_def = custom_field_get_definition( $t_id ); echo ''; - echo '', string_display( lang_get_defaulted( $t_def['name'] ) ), ''; + echo '', string_display( lang_get_defaulted( $t_def['name'] ) ), ''; echo ''; print_custom_field_value( $t_def, $t_id, $f_bug_id ); echo ''; @@ -719,7 +719,7 @@ if ( $t_custom_fields_found ) { # Attachments if ( $tpl_show_attachments ) { echo ''; - echo '', lang_get( 'attached_files' ), ''; + echo '', lang_get( 'attached_files' ), ''; echo ''; print_bug_attachments_list( $tpl_bug_id ); echo ''; diff --git a/bugnote_add_inc.php b/bugnote_add_inc.php index e98a1ac..d5b8ee6 100644 --- a/bugnote_add_inc.php +++ b/bugnote_add_inc.php @@ -68,18 +68,18 @@ require_api( 'lang_api.php' ); - + - + - + - + > - + (HH:MM) - +