--- loncom/interface/loncommon.pm 2006/09/13 19:42:06 1.454 +++ loncom/interface/loncommon.pm 2006/09/19 21:47:32 1.457 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.454 2006/09/13 19:42:06 banghart Exp $ +# $Id: loncommon.pm,v 1.457 2006/09/19 21:47:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3199,10 +3199,12 @@ form, .inline { display: inline; } color: red; font-size: larger; } -.LC_warning { +.LC_warning, +.LC_diff_removed { color: red; } -.LC_success { +.LC_success, +.LC_diff_added { color: green; } .LC_icon { @@ -3499,7 +3501,8 @@ table#LC_browser tr.LC_browser_file_unpu table#LC_browser tr.LC_browser_file_obsolete { background: #AAAAAA; } -table#LC_browser tr.LC_browser_file_modified { +table#LC_browser tr.LC_browser_file_modified, +table#LC_browser tr.LC_browser_file_metamodified { background: #FFFF77; } table#LC_browser tr.LC_browser_folder { @@ -5950,15 +5953,6 @@ sub lonhttpdurl { return 'http://'.$ENV{'SERVER_NAME'}.':'.$lonhttpd_port.$url; } -sub absolute_url { - my ($host_name) = @_; - my $protocol = ($ENV{'SERVER_PORT'} == 443?'https://':'http://'); - if ($host_name eq '') { - $host_name = $ENV{'SERVER_NAME'}; - } - return $protocol.$host_name; -} - sub connection_aborted { my ($r)=@_; $r->print(" ");$r->rflush();