version 1.8, 2009/11/23 21:45:18
|
version 1.8.2.1, 2010/02/13 19:32:51
|
Line 212 sub make_changes {
|
Line 212 sub make_changes {
|
} |
} |
if ($context eq 'course') { |
if ($context eq 'course') { |
if ($numchanged) { |
if ($numchanged) { |
$r->print(&Apache::courseprefs::store_changes($dom,$confname,$prefs_order,\@actions, |
my $message = &Apache::courseprefs::store_changes($dom,$confname,$prefs_order,\@actions, |
$prefs,$values,\%changes,$crstype)); |
$prefs,$values,\%changes,$crstype); |
|
$r->print(&Apache::loncommon::confirmwrapper($message)); |
} else { |
} else { |
if ($crstype eq 'Community') { |
if ($crstype eq 'Community') { |
$r->print(&mt("No changes made to community configuration.")); |
$r->print(&Apache::loncommon::confirmwrapper(&mt("No changes made to community configuration."))); |
} else { |
} else { |
$r->print(&mt("No changes made to course configuration.")); |
$r->print(&Apache::loncommon::confirmwrapper(&mt("No changes made to course configuration."))); |
} |
} |
} |
} |
if (keys(%disallowed) > 0) { |
if (keys(%disallowed) > 0) { |