--- loncom/interface/lonindexer.pm 2007/08/17 18:14:37 1.176 +++ loncom/interface/lonindexer.pm 2009/03/18 13:47:14 1.193 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.176 2007/08/17 18:14:37 banghart Exp $ +# $Id: lonindexer.pm,v 1.193 2009/03/18 13:47:14 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -104,7 +104,7 @@ sub handler { my $lonhost = $r->dir_config('lonHostID'); my $tabdir = $r->dir_config('lonTabDir'); - my $fileclr='#ffffe6'; +#SB my $fileclr='#ffffe6'; my $line; my (@attrchk,@openpath,$typeselect); my $uri=$r->uri; @@ -177,7 +177,8 @@ ENDSUBM # --------------------- define extra fields and buttons in case of special mode if ($env{'form.catalogmode'} eq 'interactive') { - $extrafield=''. +#SB $extrafield=''. + $extrafield=''. ''; $colspan=" colspan='2' "; @@ -187,7 +188,8 @@ ENDSUBM END } elsif ($env{'form.catalogmode'} eq 'import') { - $extrafield=''. +#SB $extrafield=''. + $extrafield=''. ''; $colspan=" colspan='2' "; @@ -418,7 +420,7 @@ ENDHEADER # ---------------------------------- get state of file attributes to be showing if ($env{'form.attrs'}) { - for (my $i=0; $i<=11; $i++) { + for (my $i=0; $i<=16; $i++) { delete $hash{'display_attrs_'.$i}; if ($env{'form.attr'.$i} == 1) { $attrchk[$i] = 'checked'; @@ -426,7 +428,7 @@ ENDHEADER } } } else { - for (my $i=0; $i<=11; $i++) { + for (my $i=0; $i<=16; $i++) { $attrchk[$i] = 'checked' if $hash{'display_attrs_'.$i} == 1; } } @@ -442,6 +444,11 @@ ENDHEADER 'st' => 'Statistics', 'au' => 'Author', 'kw' => 'Keywords', + 'sb' => 'Subject', + 'nt' => 'Notes', + 'gl' => 'Grade Level', + 'ab' => 'Abstract', + 'sd' => 'Standards', 'ln' => 'Language', 'sa' => 'Source Available', 'sr' => 'Show resource', @@ -450,9 +457,12 @@ ENDHEADER 'ud' => 'Update Display', 'pr' => 'Problems', 'gr' => 'Graphics', - 'at' => 'All types' + 'at' => 'All types', + 'hd' => 'Display Options' ); $r->print(< +$lt{'hd'}
@@ -462,32 +472,53 @@ ENDHEADER + + + + +   -