Skip to content

Commit

Permalink
M view_all_inc.php
Browse files Browse the repository at this point in the history
M doc/ChangeLog
- Fixed #2954: Bgcolor attribute on TD in view_all_bug_page (moved to TR) [optimisation]


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1959 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Feb 19, 2003
1 parent 43880b0 commit 0c1a78b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -4,6 +4,7 @@ Mantis ChangeLog

* Fix: META redirects were not XHTML-compliant
* Fix: db_insert_id() did not use mysql_insert_id(), but executed another query (which is probably slower)
* Fix #2954: Bgcolor attribute on TD in view_all_bug_page (moved to TR) [optimisation]
* Languages: Updated German localisation.

2003.02.19 - 0.18.0a2
Expand Down
22 changes: 11 additions & 11 deletions view_all_inc.php
Expand Up @@ -298,20 +298,20 @@
}
?>
<!-- Repeating bug row -->
<tr>
<tr bgcolor="<?php echo $status_color ?>">
<!-- Checkbox -->
<?php
if ( access_has_project_level( config_get( 'update_bug_threshold' ) ) ) {
?>
<td bgcolor="<?php echo $status_color ?>">
<td>
<input type="checkbox" name="bug_arr[]" value="<?php echo "$v_id" ?>" />
</td>
<?php
}
?>

<!-- Pencil shortcut -->
<td bgcolor="<?php echo $status_color ?>" class="center">
<td class="center">
<?php
if ( access_has_bug_level( UPDATER, $v_id ) ) {
echo '<a href="' . string_get_bug_update_url( $v_id ) . '"><img border="0" src="' . config_get( 'icon_path' ) . 'update.png' . '" /></a>';
Expand All @@ -322,7 +322,7 @@
</td>

<!-- Priority -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php
if ( ON == config_get( 'show_priority_text' ) ) {
print_formatted_priority_string( $v_status, $v_priority );
Expand All @@ -333,12 +333,12 @@
</td>

<!-- Bug ID and details link -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php print_bug_link( $v_id ) ?>
</td>

<!-- Bugnote count -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php
if ( $bugnote_count > 0 ) {
if ( $v_bugnote_updated > strtotime( '-'.$t_filter['highlight_changed'].' hours' ) ) {
Expand All @@ -355,7 +355,7 @@
</td>

<!-- Category -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php
# type project name if viewing 'all projects'
if ( ON == config_get( 'show_bug_project_links' ) &&
Expand All @@ -369,11 +369,11 @@
?>
</td>
<!-- Severity -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php print_formatted_severity_string( $v_status, $v_severity ) ?>
</td>
<!-- Status / Handler -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php
echo get_enum_element( 'status', $v_status );
# print username instead of status
Expand All @@ -385,7 +385,7 @@
?>
</td>
<!-- Last Updated -->
<td class="center" bgcolor="<?php echo $status_color ?>">
<td class="center">
<?php
if ( $v_last_updated > strtotime( '-'.$t_filter['highlight_changed'].' hours' ) ) {
echo '<span class="bold">'.$t_last_updated.'</span>';
Expand All @@ -395,7 +395,7 @@
?>
</td>
<!-- Summary -->
<td class="left" bgcolor="<?php echo $status_color ?>">
<td class="left">
<?php
echo $v_summary;
if ( PRIVATE == $v_view_state ) {
Expand Down

0 comments on commit 0c1a78b

Please sign in to comment.