version 1.202, 2009/12/01 18:07:50
|
version 1.203, 2009/12/02 18:33:27
|
Line 518 END
|
Line 518 END
|
$select_file_categories{''} = &mt('All file types'); |
$select_file_categories{''} = &mt('All file types'); |
foreach my $cat (@file_categories) { |
foreach my $cat (@file_categories) { |
my $types = join(",",&Apache::loncommon::filecategorytypes($cat)); |
my $types = join(",",&Apache::loncommon::filecategorytypes($cat)); |
$select_file_categories{$types} = $cat; |
$select_file_categories{$types} = &mt($cat); |
push(@select_form_order,$types); |
push(@select_form_order,$types); |
} |
} |
$select_file_categories{'select_form_order'} = \@select_form_order; |
$select_file_categories{'select_form_order'} = \@select_form_order; |
my $type_element= |
my $type_element= |
&Apache::loncommon::select_form($typeselect,'only', |
&Apache::loncommon::select_form( |
%select_file_categories); |
$typeselect, |
|
'only', |
|
%select_file_categories); |
$type_element = '<label>'.&mt('File Type Displayed: [_1]', |
$type_element = '<label>'.&mt('File Type Displayed: [_1]', |
$type_element).'</label>'; |
$type_element).'</label>'; |
$r->print($type_element |
$r->print($type_element |