[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
droeschl
droeschl@source.lon-capa.org
Wed, 10 Feb 2010 08:24:31 -0000
droeschl Wed Feb 10 08:24:31 2010 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
Moved publish button in resource space to advanced tools box.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.312 loncom/interface/lonmenu.pm:1.313
--- loncom/interface/lonmenu.pm:1.312 Tue Jan 19 19:00:02 2010
+++ loncom/interface/lonmenu.pm Wed Feb 10 08:24:31 2010
@@ -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 @@
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]);