[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
raeburn
raeburn at source.lon-capa.org
Sun Dec 29 20:56:42 EST 2013
raeburn Mon Dec 30 01:56:42 2013 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- Add a comment, and move another to a more appropriate location.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1168 loncom/interface/loncommon.pm:1.1169
--- loncom/interface/loncommon.pm:1.1168 Mon Dec 30 00:34:49 2013
+++ loncom/interface/loncommon.pm Mon Dec 30 01:56:41 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1168 2013/12/30 00:34:49 raeburn Exp $
+# $Id: loncommon.pm,v 1.1169 2013/12/30 01:56:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5228,10 +5228,11 @@
}
$bodytag .= qq|<div id="LC_realm">$realm $dc_info</div>|;
- #don't show menus for public users
+ #if directed to not display the secondary menu, don't.
if ($args->{'no_secondary_menu'}) {
return $bodytag;
}
+ #don't show menus for public users
if (!$public){
$bodytag .= Apache::lonmenu::secondary_menu($httphost);
$bodytag .= Apache::lonmenu::serverform();
More information about the LON-CAPA-cvs
mailing list