diff --git a/checkin_notes b/checkin_notes index 8dd799f60b..b5944931e4 100755 --- a/checkin_notes +++ b/checkin_notes @@ -22720,3 +22720,9 @@ David 14 Jan 2005 html/inc/ forum.inc + +David 14 Jan 2005 + - fix to fix in msg board code + + html/inc/ + forum_show.inc diff --git a/html/inc/forum_show.inc b/html/inc/forum_show.inc index 566a37f58d..96ecb91099 100644 --- a/html/inc/forum_show.inc +++ b/html/inc/forum_show.inc @@ -14,7 +14,7 @@ function show_page_nav($forum) { $totalPages = ceil($forum->threads / $threads_per_page); $curPage = floor($_GET['start'] / $threads_per_page); - if ($total_pages == 0) { + if ($totalPages == 2) { $pages = array(0, 1); } else { $pages = array(0, 1, 2); diff --git a/sched/db_dump.C b/sched/db_dump.C index da9a9e14b3..91880f8cc4 100644 --- a/sched/db_dump.C +++ b/sched/db_dump.C @@ -446,6 +446,7 @@ void write_team(TEAM& team, FILE* f, bool detail) { fprintf(f, "\n" " %d\n" + " %d\n" " %s\n" " %d\n" " %f\n" @@ -453,6 +454,7 @@ void write_team(TEAM& team, FILE* f, bool detail) { " %f\n" " %d\n", team.id, + team.type, name.c_str(), team.userid, team.total_credit, @@ -461,6 +463,16 @@ void write_team(TEAM& team, FILE* f, bool detail) { team.nusers ); + // show founder name since that user might not be active + // + retval = user.lookup_id(team.userid); + if (!retval) { + fprintf(f, + " %s\n", + user.name + ); + } + fprintf(f, " %d\n", team.create_time