--- loncom/interface/loncommon.pm 2006/06/26 23:32:56 1.402 +++ loncom/interface/loncommon.pm 2006/06/27 17:50:37 1.404 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.402 2006/06/26 23:32:56 albertel Exp $ +# $Id: loncommon.pm,v 1.404 2006/06/27 17:50:37 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3148,6 +3148,7 @@ table#LC_top_nav, table#LC_menubuttons { background: $pgbg; border: 2px; border-collapse: separate; + padding: 0px; } table#LC_title_bar, table#LC_breadcrumbs, table#LC_nav_location, @@ -3160,6 +3161,7 @@ table#LC_title_bar.LC_with_remote { background: $pgbg; font-family: $sans; border-collapse: collapse; + padding: 0px; } table#LC_title_bar td { @@ -5173,8 +5175,8 @@ sub course_type { if (!defined($cid)) { $cid = $env{'request.course.id'}; } - if (defined($env{'course.'.$cid.'type'})) { - return $env{'course.'.$cid.'type'}; + if (defined($env{'course.'.$cid.'.type'})) { + return $env{'course.'.$cid.'.type'}; } else { return 'Course'; }