Skip to content

Commit

Permalink
minros tweaks to summary
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@92 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Dec 20, 2000
1 parent 16f4e44 commit 022e1be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core_API.php
Expand Up @@ -86,7 +86,7 @@ function print_body_top() {
}
#--------------------
function print_header( $p_title="Mantis" ) {
PRINT "<div align=center><h3><font face=Verdana>$p_title</font></h3></div>";
PRINT "<div align=center><h3>$p_title</h3></div>";
}
#--------------------
function print_footer() {
Expand Down
14 changes: 10 additions & 4 deletions summary_page.php3
Expand Up @@ -31,6 +31,10 @@
$t_date_submitted = sql_to_unix_time($row["date_submitted"]);
$t_last_updated = sql_to_unix_time($row["last_updated"]);

if ($t_last_updated < $t_date_submitted) {
$t_last_updated = 0;
$t_date_submitted = 0;
}
$t_diff = $t_last_updated - $t_date_submitted;
$t_total_time = $t_total_time + $t_diff;
if ( $t_diff > $t_largest_diff ) {
Expand Down Expand Up @@ -142,10 +146,12 @@
longest open bug
</td>
<td width=50%>
<? if ( get_current_user_profile_field( "advanced_view" )=="on" ) { ?>
<a href="<? echo $g_view_bug_advanced_page ?>?f_id=<? echo $t_bug_id ?>"><? echo $t_bug_id ?></a>
<? } else {?>
<a href="<? echo $g_view_bug_page ?>?f_id=<? echo $t_bug_id ?>"><? echo $t_bug_id ?></a>
<? if ($t_bug_id>0) { ?>
<? if ( get_current_user_profile_field( "advanced_view" )=="on" ) { ?>
<a href="<? echo $g_view_bug_advanced_page ?>?f_id=<? echo $t_bug_id ?>"><? echo $t_bug_id ?></a>
<? } else {?>
<a href="<? echo $g_view_bug_page ?>?f_id=<? echo $t_bug_id ?>"><? echo $t_bug_id ?></a>
<? } ?>
<? } ?>
</td>
</tr>
Expand Down

0 comments on commit 022e1be

Please sign in to comment.