version 1.2, 2009/04/22 12:42:16
|
version 1.3, 2009/04/26 00:09:53
|
Line 43 sub print_header {
|
Line 43 sub print_header {
|
($pagetitle, $brcrumtitle) = ('View/Modify Domain Settings','Domain Settings'); |
($pagetitle, $brcrumtitle) = ('View/Modify Domain Settings','Domain Settings'); |
$action = '/adm/domainprefs'; |
$action = '/adm/domainprefs'; |
} else { |
} else { |
($pagetitle, $brcrumtitle) = ('Set Course Environment','Course Environment'); |
($pagetitle, $brcrumtitle) = ('Course Configuration','Course Configuration'); |
$action = '/adm/courseprefs'; |
$action = '/adm/courseprefs'; |
} |
} |
my $alert = &mt('You must select at least one functionality type to display.'); |
my $alert = &mt('You must select at least one functionality type to display.'); |
Line 180 sub make_changes {
|
Line 180 sub make_changes {
|
} |
} |
|
|
sub display_settings { |
sub display_settings { |
my ($r,$dom,$phase,$context,$prefs_order,$prefs,$values,$confname,$jscript) = @_; |
my ($r,$dom,$phase,$context,$prefs_order,$prefs,$values,$confname,$jscript, |
|
$allitems) = @_; |
my %brcrumtext = &get_crumb_text(); |
my %brcrumtext = &get_crumb_text(); |
my @actions = &Apache::loncommon::get_env_multiple('form.actions'); |
my @actions = &Apache::loncommon::get_env_multiple('form.actions'); |
&Apache::lonhtmlcommon::add_breadcrumb |
&Apache::lonhtmlcommon::add_breadcrumb |
Line 202 sub display_settings {
|
Line 203 sub display_settings {
|
} else { |
} else { |
($output{$item},$rowtotal{$item}) = |
($output{$item},$rowtotal{$item}) = |
&Apache::courseprefs::print_config_box($r,$dom,$phase, |
&Apache::courseprefs::print_config_box($r,$dom,$phase, |
$item,$prefs->{$item},$values); |
$item,$prefs->{$item},$values,$allitems); |
} |
} |
$rowsum += $rowtotal{$item}; |
$rowsum += $rowtotal{$item}; |
} |
} |