Skip to content

Commit

Permalink
More logical and useful placement of BUGNOTE_START and BUGNOTE_END ev…
Browse files Browse the repository at this point in the history
…ents.
  • Loading branch information
amyreese committed Dec 5, 2008
1 parent 325dff0 commit 28bd7b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bugnote_view_inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
<?php # Bugnotes BEGIN ?>
<a name="bugnotes" id="bugnotes" /><br />

<?php
event_signal( 'EVENT_VIEW_BUGNOTES_START', $f_bug_id );

<?php
collapse_open( 'bugnotes' );
?>
<table class="width100" cellspacing="1">
Expand All @@ -82,6 +80,8 @@
</td>
</tr>
<?php
event_signal( 'EVENT_VIEW_BUGNOTES_START', $f_bug_id );

$t_normal_date_format = config_get( 'normal_date_format' );
$t_total_time = 0;

Expand Down Expand Up @@ -206,6 +206,8 @@
echo '<tr><td colspan="2">', sprintf ( lang_get( 'total_time_for_issue' ), db_minutes_to_hhmm( $t_total_time ) ), '</td></tr>';
}
} # end else

event_signal( 'EVENT_VIEW_BUGNOTES_END', $f_bug_id );
?>
</table>

Expand All @@ -223,8 +225,6 @@
</table>
<?php
collapse_end( 'bugnotes' );

event_signal( 'EVENT_VIEW_BUGNOTES_END', $f_bug_id );
?>

<?php # Bugnotes END ?>

0 comments on commit 28bd7b6

Please sign in to comment.