--- loncom/interface/loncommon.pm 2006/05/12 02:17:50 1.370 +++ loncom/interface/loncommon.pm 2006/05/17 23:25:56 1.374 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.370 2006/05/12 02:17:50 www Exp $ +# $Id: loncommon.pm,v 1.374 2006/05/17 23:25:56 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2608,10 +2608,7 @@ sub timehash { sub utc_string { my ($date)=@_; - my @utctime=gmtime($date); - my $year=$utctime[5]+1900; - my $month=$utctime[4]+1; - return "$year$month$utctime[3]T$utctime[2]$utctime[1]$utctime[0]Z"; + return strftime("%Y%m%dT%H%M%SZ",gmtime($date)); } sub maketime { @@ -3131,7 +3128,7 @@ table#LC_title_bar { padding: 0px 2px 0px 2px; background: $pgbg; font-family: $sans; - border-collapse: collapse; + border-collapse: separate; } table#LC_title_bar.LC_with_remote { width: 100%; @@ -3168,7 +3165,7 @@ table#LC_menubuttons_mainmenu { background: $pgbg; border: 0px; border-spacing: 1px; - padding: 0px; + padding: 0px 1px; margin: 0px; border-collapse: separate; } @@ -3557,7 +3554,6 @@ Inputs: $args - additional optio sub end_page { my ($args) = @_; - #&Apache::lonnet::logthis("end_page ".join(':',caller(0))); $env{'internal.end_page'}++; my $result; if ($args->{'discussion'}) { @@ -3600,7 +3596,7 @@ sub js_ready { $result =~ s/[\n\r]/ /xmsg; $result =~ s/\\/\\\\/xmsg; $result =~ s/'/\\'/xmsg; - $result =~ s{}{}xmsg; + $result =~ s{[2]{id}; + @{$content{$tool}{$role}} = (); } } else { my $value=$parser->get_text('/'.$entry); @@ -5028,6 +5024,7 @@ a hash ref describing the data to be sto 'chartoutputmode' => 'scalar', 'chartoutputdata' => 'scalar', 'Section' => 'array', + 'Group' => 'array', 'StudentData' => 'array', 'Maps' => 'array');