--- loncom/interface/loncommon.pm 2011/12/12 02:46:12 1.1037 +++ loncom/interface/loncommon.pm 2011/12/23 16:55:34 1.1046 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1037 2011/12/12 02:46:12 www Exp $ +# $Id: loncommon.pm,v 1.1046 2011/12/23 16:55:34 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6563,6 +6563,10 @@ a#LC_content_toolbar_changefolder_toggle background-image:url(/res/adm/pages/open-all-folders.gif); } +a#LC_content_toolbar_edittoplevel { + background-image:url(/res/adm/pages/edittoplevel.gif); +} + ul#LC_toolbar li a:hover { background-position: bottom center; } @@ -6737,7 +6741,9 @@ sub headtag { && !$args->{'frameset'}) { $result .= &help_menu_js(); $result.=&modal_window(); + $result.=&togglebox_script(); $result.=&wishlist_window(); + $result.=&LCprogressbarUpdate_script(); } else { if ($args->{'add_modal'}) { $result.=&modal_window(); @@ -6745,6 +6751,12 @@ sub headtag { if ($args->{'add_wishlist'}) { $result.=&wishlist_window(); } + if ($args->{'add_togglebox'}) { + $result.=&togglebox_script(); + } + if ($args->{'add_progressbar'}) { + $result.=&LCprogressbarUpdate_script(); + } } if (ref($args->{'redirect'})) { my ($time,$url,$inhibit_continue) = @{$args->{'redirect'}}; @@ -6961,7 +6973,7 @@ sub end_page { sub wishlist_window { return(<<'ENDWISHLIST'); -