--- loncom/interface/loncommon.pm 2008/08/28 03:04:41 1.675 +++ loncom/interface/loncommon.pm 2008/09/05 15:48:08 1.680 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.675 2008/08/28 03:04:41 raeburn Exp $ +# $Id: loncommon.pm,v 1.680 2008/09/05 15:48:08 riegler Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4493,7 +4493,7 @@ table.LC_docs_path td.LC_docs_path_compo td.LC_table_cell_checkbox { text-align: center; } - +#changed in a new style. see at the end of the css deklaration LC_mainmenu_col__fieldset table#LC_mainmenu td.LC_mainmenu_column { vertical-align: top; } @@ -4507,7 +4507,7 @@ table#LC_mainmenu td.LC_mainmenu_column .LC_menubuttons_link { text-decoration: none; } - +#2008--9-5: new menu style sheet.Changed category .LC_menubuttons_category { color: $font; background: $pgbg; @@ -5360,6 +5360,27 @@ hr.LC_edit_problem_divide { height: 3px; border: 0px; } +img.stift{ + border-width:0; + vertical-align:middle; +} + +#Styles for main menu +table#LC_mainmenu td.LC_mainmenu_col_fieldset{ + vertical-align: top; + width: 45%; +} +.LC_mainmenu_fieldset_category { + color: $font; + background: $pgbg; + font-family: $sans; + font-size: small; + font-weight: bold; +} +fieldset#LC_mainmenu_fieldset { + margin:0px 0px 10px 0px; + +} END } @@ -9380,9 +9401,11 @@ sub init_user_environment { sub _add_to_env { my ($idf,$env_data,$prefix) = @_; - while (my ($key,$value) = each(%$env_data)) { - $idf->{$prefix.$key} = $value; - $env{$prefix.$key} = $value; + if (ref($env_data) eq 'HASH') { + while (my ($key,$value) = each(%$env_data)) { + $idf->{$prefix.$key} = $value; + $env{$prefix.$key} = $value; + } } }