[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Tue May 15 19:01:24 EDT 2012
raeburn Tue May 15 23:01:24 2012 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface loncommon.pm
Log:
- For 2.11
- Exclude name and role items in standard page header in bookmarkmenu pages.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075 loncom/interface/loncommon.pm:1.1075.2.1
--- loncom/interface/loncommon.pm:1.1075 Wed May 9 20:17:47 2012
+++ loncom/interface/loncommon.pm Tue May 15 23:01:24 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1075 2012/05/09 20:17:47 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.1 2012/05/15 23:01:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5058,13 +5058,14 @@
# }
-
if ($env{'request.noversionuri'} =~ m{^/res/adm/pages/}) {
- if ($dc_info) {
- $dc_info = qq|<span class="LC_cusr_subheading">$dc_info</span>|;
- }
- $bodytag .= qq|<div id="LC_nav_bar">$name $role<br />
- <em>$realm</em> $dc_info</div>|;
+ unless ($env{'request.noversionuri'} =~ m{/res/adm/pages/bookmarkmenu/}) {
+ if ($dc_info) {
+ $dc_info = qq|<span class="LC_cusr_subheading">$dc_info</span>|;
+ }
+ $bodytag .= qq|<div id="LC_nav_bar">$name $role<br />
+ <em>$realm</em> $dc_info</div>|;
+ }
return $bodytag;
}
More information about the LON-CAPA-cvs
mailing list