--- loncom/interface/loncommon.pm 2010/03/11 13:42:49 1.692.4.32 +++ loncom/interface/loncommon.pm 2010/04/14 14:14:58 1.692.4.35 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.692.4.32 2010/03/11 13:42:49 raeburn Exp $ +# $Id: loncommon.pm,v 1.692.4.35 2010/04/14 14:14:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4770,14 +4770,6 @@ sub standard_css { h1, h2, h3, th { font-family: $sans } a:focus { color: red; background: yellow } -hr { - clear: both; - color: $tabbg; - background-color: $tabbg; - height: 3px; - border: none; -} - table.thinborder, table.thinborder tr th { @@ -5107,12 +5099,20 @@ table.LC_data_table tr td.LC_leftcol_hea } table.LC_data_table tr.LC_empty_row td, table.LC_nested tr.LC_empty_row td { - background-color: #FFFFFF; font-weight: bold; font-style: italic; text-align: center; padding: 8px; } + +table.LC_data_table tr.LC_empty_row td { + background-color: $tabbg; +} + +table.LC_nested tr.LC_empty_row td { + background-color: #FFFFFF; +} + table.LC_nested tr.LC_empty_row td { padding: 4ex } @@ -9591,6 +9591,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