[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn@source.lon-capa.org
Wed, 16 Dec 2009 01:42:46 -0000
raeburn Wed Dec 16 01:42:46 2009 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Don't display name and role for each .problem within a composite page
(i.e., a .page file).
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.926 loncom/interface/loncommon.pm:1.927
--- loncom/interface/loncommon.pm:1.926 Tue Dec 8 14:44:17 2009
+++ loncom/interface/loncommon.pm Wed Dec 16 01:42:46 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.926 2009/12/08 14:44:17 bisitz Exp $
+# $Id: loncommon.pm,v 1.927 2009/12/16 01:42:46 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4545,7 +4545,9 @@
return $bodytag;
}
- $bodytag .= qq|<div id="LC_nav_bar">$name $role</div>|;
+ unless ($env{'request.symb'} =~ m/\.page___\d+___/) {
+ $bodytag .= qq|<div id="LC_nav_bar">$name $role</div>|;
+ }
$bodytag .= Apache::lonhtmlcommon::scripttag(
Apache::lonmenu::utilityfunctions(), 'start');