From 9dfa523bb514fa1abc661bd3b75830163803a790 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 6 Apr 2010 19:00:52 +0000 Subject: [PATCH] Adjust the timeslot column width if the date is being displayed, becuase now it can be formatted to be slightly longer than standard database format --- admin/reports_judges_teams_projects.php | 4 ++-- admin/reports_projects_judges_teams.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/reports_judges_teams_projects.php b/admin/reports_judges_teams_projects.php index 572a2312..3d15450c 100644 --- a/admin/reports_judges_teams_projects.php +++ b/admin/reports_judges_teams_projects.php @@ -60,7 +60,7 @@ $table=array(); $table['header']=array(i18n("Timeslot"),i18n("Proj #"),i18n("Project Title")); if($show_date) - $table['widths']=array( 2.0, 0.75, 4.25); + $table['widths']=array( 2.25, 0.75, 4.00); else $table['widths']=array( 1.5, 0.75, 4.75); @@ -140,7 +140,7 @@ while($r=mysql_fetch_object($q)) { if($show_date) - $timeslot=format_date($r->date)." "; + $timeslot=$r->date." "; else $timeslot=""; $timeslot.=format_time($r->starttime)." - ".format_time($r->endtime); diff --git a/admin/reports_projects_judges_teams.php b/admin/reports_projects_judges_teams.php index f20fe572..e3ff4ffb 100644 --- a/admin/reports_projects_judges_teams.php +++ b/admin/reports_projects_judges_teams.php @@ -110,7 +110,7 @@ $table=array(); $table['header']=array(i18n("Timeslot"),i18n("Judging Team")); if($show_date) - $table['widths']=array( 2.0, 5.00); + $table['widths']=array( 2.25, 4.75); else $table['widths']=array( 1.5, 5.50);