[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /interface courseprefs.pm
From: raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2023-06-01 20:04:36
Message-ID: cvsraeburn1685649876 () cvsserver
[Download RAW message or body]
raeburn Thu Jun 1 20:04:36 2023 EDT
Modified files:
/loncom/interface courseprefs.pm
Log:
- Input disabled for form elements displayed via External > External Tools
in Course Editor for user with view-only access to course editing tools.
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.120 loncom/interface/courseprefs.pm:1.121
--- loncom/interface/courseprefs.pm:1.120 Mon May 22 21:10:55 2023
+++ loncom/interface/courseprefs.pm Thu Jun 1 20:04:36 2023
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.120 2023/05/22 21:10:55 raeburn Exp $
+# $Id: courseprefs.pm,v 1.121 2023/06/01 20:04:36 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6310,6 +6310,9 @@
sub print_ltitools {
my ($cdom,$cnum,$settings,$rowtotal,$crstype,$noedit,$context) = @_;
my ($datatable,$disabled,$css_class,$dest);
+ if ($noedit) {
+ $disabled = ' disabled="disabled"';
+ }
my $itemcount = 1;
unless ($context eq 'domain') {
my %tooltypes = &Apache::loncommon::usable_exttools();
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic