[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Thu Dec 6 09:37:36 EST 2012
raeburn Thu Dec 6 14:37:36 2012 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Fix typo in 1.395.
- Icon to edit map containing current resource should be "Edit Page" when
viewing a Composite Page, added via Course Editor.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.395 loncom/interface/lonmenu.pm:1.396
--- loncom/interface/lonmenu.pm:1.395 Thu Dec 6 13:38:25 2012
+++ loncom/interface/lonmenu.pm Thu Dec 6 14:37:35 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.395 2012/12/06 13:38:25 raeburn Exp $
+# $Id: lonmenu.pm,v 1.396 2012/12/06 14:37:35 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -578,7 +578,7 @@
my $text = 'Edit Folder';
if (($mapurl =~ /\.page$/) ||
($env{'request.symb'}=~
- /^uploaded/$cdom/$cnum/default_\d+\.page$/)) {
+ m{uploaded/$cdom/$cnum/default_\d+\.page$})) {
$text = 'Edit Page';
}
&switch('','',7,4,'docs-22x22.png',$text,'parms[_2]',
More information about the LON-CAPA-cvs
mailing list