--- loncom/interface/domainprefs.pm 2017/03/20 03:19:43 1.295
+++ loncom/interface/domainprefs.pm 2017/04/25 22:18:59 1.296
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.295 2017/03/20 03:19:43 raeburn Exp $
+# $Id: domainprefs.pm,v 1.296 2017/04/25 22:18:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -488,7 +488,7 @@ sub handler {
},
'ltitools' =>
{text => 'External Tools (LTI)',
- help => 'Domain_configuration_LTI_Tools',
+ help => 'Domain_Configuration_LTI_Tools',
header => [{col1 => 'Setting',
col2 => 'Value',}],
print => \&print_ltitools,
@@ -3754,6 +3754,8 @@ sub print_ltitools {
if ($settings->{$item}->{'display'}->{'height'} =~ /^(\d+)$/) {
$currdisp{'height'} = $1;
}
+ $currdisp{'linktext'} = $settings->{$item}->{'display'}->{'linktext'};
+ $currdisp{'explanation'} = $settings->{$item}->{'display'}->{'explanation'};
} else {
$currdisp{'iframe'} = ' checked="checked"';
}
@@ -3767,6 +3769,12 @@ sub print_ltitools {
''.
(' 'x2);
}
+ $datatable .= '
'.
+ '
'.$lt{'linktext'}.'
'.
+ '
'.
+ ''.$lt{'explanation'}.'
'.
+ '
';
$datatable .= '
';
foreach my $extra ('passback','roster') {
my $checkedon = '';
@@ -3848,7 +3856,7 @@ sub print_ltitools {
}
}
$datatable .= ''.
''.
'