--- loncom/interface/loncommon.pm 2006/05/11 19:04:31 1.369 +++ 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.369 2006/05/11 19:04:31 www Exp $ +# $Id: loncommon.pm,v 1.374 2006/05/17 23:25:56 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2606,6 +2606,11 @@ sub timehash { 'dlsav' => $ltime[8] ); } +sub utc_string { + my ($date)=@_; + return strftime("%Y%m%dT%H%M%SZ",gmtime($date)); +} + sub maketime { my %th=@_; return POSIX::mktime( @@ -3123,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%; @@ -3160,7 +3165,7 @@ table#LC_menubuttons_mainmenu { background: $pgbg; border: 0px; border-spacing: 1px; - padding: 0px; + padding: 0px 1px; margin: 0px; border-collapse: separate; } @@ -3549,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'}) { @@ -3592,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); @@ -5020,6 +5024,7 @@ a hash ref describing the data to be sto 'chartoutputmode' => 'scalar', 'chartoutputdata' => 'scalar', 'Section' => 'array', + 'Group' => 'array', 'StudentData' => 'array', 'Maps' => 'array');