--- loncom/interface/londocs.pm 2006/11/29 15:38:22 1.259 +++ loncom/interface/londocs.pm 2006/11/29 21:00:35 1.260 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.259 2006/11/29 15:38:22 www Exp $ +# $Id: londocs.pm,v 1.260 2006/11/29 21:00:35 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1028,7 +1028,8 @@ sub log_docs { sub log_differences { my ($plain)=@_; - my %storehash=('folder' => $plain); + my %storehash=('folder' => $plain, + 'currentfolder' => $env{'form.folder'}); if ($parmidx) { $storehash{'parameter_res'}=$oldresources[$parmidx]; foreach my $parm (keys %parmaction) { @@ -1063,9 +1064,9 @@ sub log_docs { # sub docs_change_log { my ($r)=@_; + my $folder=$env{'form.folder'}; $r->print(&Apache::loncommon::start_page('Course Document Change Log')); $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course Document Change Log')); - my %docslog=&Apache::lonnet::dump('nohist_docslog', $env{'course.'.$env{'request.course.id'}.'.domain'}, $env{'course.'.$env{'request.course.id'}.'.num'}); @@ -1087,6 +1088,7 @@ sub docs_change_log { 'set' => 'set to', 'del' => 'deleted'); $r->print(&Apache::loncommon::display_filter(). + ''. ''); $r->print(&Apache::loncommon::start_data_table().&Apache::loncommon::start_data_table_header_row(). '