--- loncom/interface/loncommon.pm 2007/04/17 23:25:41 1.528 +++ loncom/interface/loncommon.pm 2007/05/13 06:34:42 1.534 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.528 2007/04/17 23:25:41 albertel Exp $ +# $Id: loncommon.pm,v 1.534 2007/05/13 06:34:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1467,6 +1467,8 @@ sub home_server_option_list { =pod +=back + =cut ############################################################### @@ -2912,7 +2914,7 @@ sub blockcheck { } my $no_ownblock = 0; my $no_userblock = 0; - if ($otheruser) { + if ($otheruser && $activity ne 'com') { # Check if current user has 'evb' priv for this if (defined($own_courses{$course})) { foreach my $sec (keys(%{$own_courses{$course}})) { @@ -3165,7 +3167,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 +3413,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 @@ -3717,6 +3717,8 @@ form, .inline { display: inline; } .LC_diff_removed { color: red; } + +.LC_info, .LC_success, .LC_diff_added { color: green; @@ -3725,6 +3727,10 @@ form, .inline { display: inline; } border: 0px; } +.LC_internal_info { + color: #999; +} + table.LC_pastsubmission { border: 1px solid black; margin: 2px; @@ -4361,7 +4367,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; } @@ -4430,7 +4440,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);