--- loncom/interface/loncommon.pm 2007/04/17 18:28:44 1.527 +++ loncom/interface/loncommon.pm 2007/04/20 21:39:39 1.531 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.527 2007/04/17 18:28:44 www Exp $ +# $Id: loncommon.pm,v 1.531 2007/04/20 21:39:39 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3165,7 +3165,7 @@ Returns: Determines which domain should ############################################### sub determinedomain { my $domain=shift; - if (! $domain) { + if (! $domain) { # Determine domain if we have not been given one $domain = $Apache::lonnet::perlvar{'lonDefDomain'}; if ($env{'user.domain'}) { $domain=$env{'user.domain'}; } @@ -3411,9 +3411,7 @@ sub bodytag { my $bodytag = "". &Apache::lontexconvert::init_math_support(); - if ($bodyonly - || ($env{'request.state'} eq 'construct' - && $env{'environment.remote'} ne 'off' )) { + if ($bodyonly) { return $bodytag; } elsif ($env{'browser.interface'} eq 'textual') { # Accessibility @@ -4361,7 +4359,11 @@ table.LC_prior_tries td { } -span.LC_prior_numerical { +span.LC_prior_numerical, +span.LC_prior_string, +span.LC_prior_custom, +span.LC_prior_reaction, +span.LC_prior_math { font-family: monospace; white-space: pre; } @@ -4375,7 +4377,12 @@ table.LC_prior_option { width: 100%; border-collapse: collapse; } -table.LC_prior_option tr td { +table.LC_prior_rank, table.LC_prior_match { + border-collapse: collapse; +} +table.LC_prior_option tr td, +table.LC_prior_rank tr td, +table.LC_prior_match tr td { border: 1px solid #000000; } @@ -4425,7 +4432,7 @@ sub headtag { my $bgcolor = $args->{'bgcolor'} || &designparm($function.'.pgbg',$domain); my $url = join(':',$env{'user.name'},$env{'user.domain'}, $Apache::lonnet::perlvar{'lonVersion'}, - time(), + #time(), $env{'environment.color.timestamp'}, $function,$domain,$bgcolor);