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

This commit is contained in:
james 2010-04-06 19:00:52 +00:00
parent 6d8c74e8ae
commit 9dfa523bb5
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);