--- loncom/interface/lonmenu.pm 2010/01/19 19:00:02 1.312 +++ loncom/interface/lonmenu.pm 2010/02/10 08:24:31 1.313 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.312 2010/01/19 19:00:02 droeschl Exp $ +# $Id: lonmenu.pm,v 1.313 2010/02/10 08:24:31 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -849,7 +849,17 @@ ENDMENUITEMS if(hidden_button_check() ne 'yes') { Apache::lonhtmlcommon::add_breadcrumb_tool( - 'tools', @inlineremote[93,91,81,82,83,63]); + 'tools', @inlineremote[93,91,81,82,83]); + + #publish button in construction space + if ($env{'request.state'} eq 'construct'){ + Apache::lonhtmlcommon::add_breadcrumb_tool( + 'advtools', @inlineremote[63]); + }else{ + Apache::lonhtmlcommon::add_breadcrumb_tool( + 'tools', @inlineremote[63]); + } + Apache::lonhtmlcommon::add_breadcrumb_tool( 'advtools', @inlineremote[61,71,72,73,92]);