--- loncom/interface/lonindexer.pm 2008/09/19 08:50:42 1.182 +++ loncom/interface/lonindexer.pm 2008/12/05 10:23:56 1.184 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.182 2008/09/19 08:50:42 bisitz Exp $ +# $Id: lonindexer.pm,v 1.184 2008/12/05 10:23:56 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -452,9 +452,12 @@ ENDHEADER 'ud' => 'Update Display', 'pr' => 'Problems', 'gr' => 'Graphics', - 'at' => 'All types' + 'at' => 'All types', + 'hd' => 'Display Options' ); $r->print(< +$lt{'hd'}
@@ -495,8 +498,9 @@ END %select_file_categories); $type_element = ''; + $r->print($type_element + .''); $r->print(< @@ -953,9 +957,9 @@ sub display_line { } # Set the icon for the file my $iconname = &Apache::loncommon::icon($listname); -#SB $r->print(""); - $r->print(&Apache::loncommon::start_data_table_row()); # valign="$valign" ?!?" - $r->print(''); +#SB $r->print("); + $r->print(&Apache::loncommon::start_data_table_row()); #SB valign="$valign" ?!? + $r->print(''); if ($env{'form.catalogmode'} eq 'interactive') { my $quotable_filelink = &Apache::loncommon::escape_single($filelink); @@ -963,7 +967,7 @@ sub display_line { $quotable_filelink,"')\">"); $r->print("\"\"". "\n"); - $r->print(""); + $r->print(''); } elsif ($env{'form.catalogmode'} eq 'import') { $r->print("\n"); $r->print("print("checked"); } $r->print(" />\n"); - $r->print(""); + $r->print(''); $hash{"pre_${fnum}_link"}=$filelink; $hash{"pre_${fnum}_title"}=$title; if (!$hash{"pre_${fnum}_title"}) { @@ -1030,12 +1034,12 @@ sub display_line { if ($filelink=~/\.(page|sequence)$/) { $r->print(''); } - $r->print("\n"); + $r->print("\n"); if ($hash{'display_attrs_0'} == 1) { $r->print(' '.($title eq '' ? ' ' : $title). ' '."\n"); } - $r->print(' ', + $r->print(' ', $filecom[8]," \n") if $hash{'display_attrs_1'} == 1; $r->print(' '.