--- loncom/interface/slotrequest.pm 2006/06/16 19:49:00 1.64 +++ loncom/interface/slotrequest.pm 2006/06/16 19:54:02 1.65 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.64 2006/06/16 19:49:00 albertel Exp $ +# $Id: slotrequest.pm,v 1.65 2006/06/16 19:54:02 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1031,14 +1031,15 @@ sub show_table { $r->print(''); $r->print('

'); my $linkstart=' - - '); + $r->print(&Apache::loncommon::start_data_table(). + &Apache::loncommon::start_data_table_header_row().' + '); foreach my $which (@show_order) { if ($which ne 'proctor' && exists($show{$which})) { $r->print(''.$linkstart.$which.'">'.$show_fields{$which}.''); } } + $r->print(&Apache::loncommon::end_data_table_header_row()); my %name_cache; my $slotsort = sub { @@ -1180,7 +1181,10 @@ DELETELINK undef($remove_all); } - $r->print("\n$edit $delete\n"); + my $row_start=&Apache::loncommon::start_data_table_row(); + my $row_end=&Apache::loncommon::end_data_table_row(); + $r->print($row_start. + "\n$edit $delete\n"); if (exists($show{'name'})) { $colspan++;$r->print("$slot"); } @@ -1223,12 +1227,12 @@ DELETELINK if (exists($show{'scheduled'})) { $colspan++;$r->print("$remove_all $ids\n"); } - $r->print("\n"); + $r->print("$row_end\n"); if (exists($show{'proctor'})) { $r->print(< +$row_start $proctors - +$row_end STUFF } }