--- loncom/interface/loncommon.pm 2010/03/17 19:35:56 1.954 +++ loncom/interface/loncommon.pm 2010/03/18 09:00:35 1.956 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.954 2010/03/17 19:35:56 raeburn Exp $ +# $Id: loncommon.pm,v 1.956 2010/03/18 09:00:35 onken Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6172,7 +6172,6 @@ ul.LC_TabContentBigger li { color: #737373; } - ul.LC_TabContentBigger li a { background:url('/adm/lonIcons/tabbgleft.gif') left bottom no-repeat; height: 30px; @@ -6182,14 +6181,11 @@ ul.LC_TabContentBigger li a { text-decoration: none; } -ul.LC_TabContentBigger li:hover a, ul.LC_TabContentBigger li.active a { background:url('/adm/lonIcons/tabbgleft.gif') left top no-repeat; color:$font; - text-decoration: underline; } - ul.LC_TabContentBigger li b { background: url('/adm/lonIcons/tabbgright.gif') no-repeat right bottom; display: block; @@ -6197,11 +6193,15 @@ ul.LC_TabContentBigger li b { padding: 0 30px; } -ul.LC_TabContentBigger li:hover b, +ul.LC_TabContentBigger li:hover b { + color:$button_hover; +} + ul.LC_TabContentBigger li.active b { background:url('/adm/lonIcons/tabbgright.gif') right top no-repeat; color:$font; border-bottom: 1px solid #FFFFFF; + cursor:default; } @@ -10209,6 +10209,10 @@ sub construct_course { $cenv{'url'}=$oldcenv{'url'}; # Restore title $cenv{'description'}=$oldcenv{'description'}; +# Restore creation date, creator and creation context. + $cenv{'internal.created'}=$oldcenv{'internal.created'}; + $cenv{'internal.creator'}=$oldcenv{'internal.creator'}; + $cenv{'internal.creationcontext'}=$oldcenv{'internal.creationcontext'}; # Mark as cloned $cenv{'clonedfrom'}=$cloneid; # Need to clone grading mode