--- loncom/homework/bridgetask.pm 2007/05/03 16:51:47 1.233 +++ loncom/homework/bridgetask.pm 2007/08/01 23:57:35 1.234 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.233 2007/05/03 16:51:47 albertel Exp $ +# $Id: bridgetask.pm,v 1.234 2007/08/01 23:57:35 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1559,19 +1559,25 @@ sub show_queue { } } + $result .= + '

'. + &mt('Return to resource').'


'. + "\n

Current Queue - $queue

"; my $regexp="^$symb\0"; my %queue=&Apache::lonnet::dump($queue,$cdom,$cnum,$regexp); my ($tmp)=%queue; if ($tmp=~/^error: 2 /) { - return "\n

Current Queue - $queue

". + $result.= + &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_row(). ''.&mt('Empty').''. &Apache::loncommon::end_data_table_row(). &Apache::loncommon::end_data_table(); + return $result; } my $title=&Apache::lonnet::gettitle($symb); - $result.="\n

Current Queue - $title $queue

". + $result.= &Apache::loncommon::start_data_table(). &Apache::loncommon::start_data_table_header_row(); if ($with_selects) { $result.="Status"; }