--- loncom/publisher/lonpubdir.pm 2006/11/22 20:50:44 1.97 +++ loncom/publisher/lonpubdir.pm 2009/02/12 21:15:56 1.119 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Directory Lister # -# $Id: lonpubdir.pm,v 1.97 2006/11/22 20:50:44 banghart Exp $ +# $Id: lonpubdir.pm,v 1.119 2009/02/12 21:15:56 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -41,6 +41,7 @@ use Apache::lonlocal; use Apache::lonmsg; use Apache::lonmenu; use Apache::lonnet; +use LONCAPA; sub handler { @@ -104,15 +105,16 @@ sub handler { my $numres = 0; # Start off the directory table. - $r->print('
'.&mt('Type').' | '. - ''.&mt('Actions').' | '. - ''.&mt('Name').' | '. - ''.&mt('Title').' | '. - ''.&mt('Status').' | '. - ''.&mt('Last Modified'). - ' | '.&mt('Type').' | ' + .''.&mt('Actions').' | ' + .''.&mt('Name').' | ' + .''.&mt('Title').' | ' + .''.&mt('Status').' | ' + .''.&mt('Last Modified').' | ' + .&Apache::loncommon::end_data_table_header_row() + ); my $filename; my $dirptr=16384; # Mask indicating a directory in stat.cmode. @@ -138,7 +140,9 @@ sub handler { } closedir(DIR); - $r->print('
---|