'.&mt('No settings chosen').
@@ -275,6 +275,34 @@ sub display_settings {
}
$r->print('');
}
+ if ($context eq 'course') {
+ $r->print('
+
+');
+ }
$r->print(&Apache::loncommon::end_page());
return;
}
@@ -291,13 +319,13 @@ sub display_choices {
&Apache::loncommon::check_uncheck_jscript()."\n".
'// ]]>'."\n".
''."\n");
- $r->print(''.&mt('Settings to display/modify').'
'."\n".
- 'print('
'.&mt('Settings to display/modify').'
'.
+ ''.(' 'x2).
''.
- '
'."\n".
+ "\n".
'');
my ($numitems,$maxincol,$firstthird,$secondthird,$seconddiv,$thirddiv,$count);
if (ref($prefs_order) eq 'ARRAY') {
@@ -313,9 +341,10 @@ sub display_choices {
$count = 0;
if ((ref($prefs_order) eq 'ARRAY') && (ref($prefs) eq 'HASH')) {
foreach my $item (@{$prefs_order}) {
- $r->print(&Apache::loncommon::help_open_topic($prefs->{$item}->{'help'}).
+ $r->print('
'.
+ &Apache::loncommon::help_open_topic($prefs->{$item}->{'help'}).
'
');
+ '" /> '.&mt($prefs->{$item}->{'text'}).'
');
$count ++;
if ((!$seconddiv) && ($count >= $firstthird)) {
$r->print(''."\n".''."\n");
@@ -324,7 +353,7 @@ sub display_choices {
if ((!$thirddiv) && ($count >= $secondthird)) {
$r->print('
'."\n".''."\n");
$thirddiv = 1;
- }
+ }
}
$r->print('
');
}