--- loncom/interface/loncommon.pm 2007/07/03 00:30:47 1.544 +++ loncom/interface/loncommon.pm 2007/07/03 23:02:53 1.545 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.544 2007/07/03 00:30:47 albertel Exp $ +# $Id: loncommon.pm,v 1.545 2007/07/03 23:02:53 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2457,6 +2457,7 @@ sub preferred_languages { split(/\s*(\,|\;|\:)\s*/,$env{'environment.languages'})); } my $browser=(split(/\;/,$ENV{'HTTP_ACCEPT_LANGUAGE'}))[0]; + &Apache::lonnet::logthis($browser); if ($browser) { @languages=(@languages,split(/\s*(\,|\;|\:)\s*/,$browser)); } @@ -4435,28 +4436,66 @@ span.LC_nobreak { white-space: nowrap; } -.LC_docs_course_commands div{ - float: left; - border: 4px solid #AAAAAA; - padding: 4px; - background: #DDDDCC; +table.LC_docs_documents { + background: #BBBBBB; + border-size: 0px; + border-collapse: collapse; +} + +table.LC_docs_documents td.LC_docs_document { + border: 2px solid black; + padding: 4px; +} + +.LC_docs_course_commands div { + float: left; + border: 4px solid #AAAAAA; + padding: 4px; + background: #DDDDCC; +} + +.LC_docs_entry_move { + border: 0px; + border-collapse: collapse; } +.LC_docs_entry_move td { + border: 2px solid #BBBBBB; + background: #DDDDDD; +} + +.LC_docs_editor td.LC_docs_entry_commands { + background: #DDDDDD; + font-size: x-small; +} .LC_docs_copy { - color: #000099; - font-size: x-small; + color: #000099; } .LC_docs_cut { - color: #550044; - font-size: x-small; + color: #550044; } .LC_docs_rename { - color: #009900; - font-size: x-small; + color: #009900; } .LC_docs_remove { - color: #990000; - font-size: x-small; + color: #990000; +} + +.LC_docs_editor td.LC_docs_entry_title, +.LC_docs_editor td.LC_docs_entry_icon { + background: #FFFFBB; +} +.LC_docs_editor td.LC_docs_entry_parameter { + background: #BBBBFF; + font-size: x-small; + white-space: nowrap; +} + +table.LC_docs_adddocs td, +table.LC_docs_adddocs th { + border: 1px solid #BBBBBB; + padding: 4px; + background: #DDDDDD; } END