version 1.35, 2022/03/29 19:37:25
|
version 1.36, 2022/04/06 21:44:49
|
Line 233 sub handler {
|
Line 233 sub handler {
|
} |
} |
if ($lti_in_use{'notstudent'} eq 'reject') { |
if ($lti_in_use{'notstudent'} eq 'reject') { |
&invalid_request($r,'Information for valid user missing from launch request'); |
&invalid_request($r,'Information for valid user missing from launch request'); |
|
return OK; |
} |
} |
} |
} |
} |
} |
Line 1128 sub invalid_request {
|
Line 1129 sub invalid_request {
|
'<h3>'.&mt('Invalid LTI launch request').'</h3>'. |
'<h3>'.&mt('Invalid LTI launch request').'</h3>'. |
'<p class="LC_warning">'. |
'<p class="LC_warning">'. |
&mt('Launch of LON-CAPA is unavailable from the "external tool" link you had followed in another web application.'). |
&mt('Launch of LON-CAPA is unavailable from the "external tool" link you had followed in another web application.'). |
&mt('Launch failed for the following reason:'). |
' '.&mt('Launch failed for the following reason:'). |
'</p>'. |
'</p>'. |
'<p class="LC_error">'.$msg.'</p>'. |
'<p class="LC_error">'.$msg.'</p>'. |
&Apache::loncommon::end_page()); |
&Apache::loncommon::end_page()); |