[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Thu May 10 00:06:13 EDT 2018
raeburn Thu May 10 04:06:13 2018 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Bug 6754 LON-CAPA as LTI Provider
- For LTI session use icons only, by default, for standard items on right
of page.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.491 loncom/interface/lonmenu.pm:1.492
--- loncom/interface/lonmenu.pm:1.491 Tue May 8 20:30:12 2018
+++ loncom/interface/lonmenu.pm Thu May 10 04:06:13 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.491 2018/05/08 20:30:12 raeburn Exp $
+# $Id: lonmenu.pm,v 1.492 2018/05/10 04:06:13 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1551,7 +1551,8 @@
unless ($env{'request.state'} eq 'construct') {
push(@tools,63);
}
- if (($env{'environment.icons'} eq 'iconsonly') &&
+ if ((($env{'environment.icons'} eq 'iconsonly') ||
+ ($env{'environment.icons'} eq '') && ($env{'request.lti.login'})) &&
(grep(/^$idx$/, at tools))) {
$inlineremote[$idx] =
'<a title="'.$desc.'" class="LC_menubuttons_link" href="javascript:'.$act.';">'.$pic.'</a>';
More information about the LON-CAPA-cvs
mailing list