--- loncom/interface/londocs.pm 2006/11/28 15:03:19 1.258
+++ loncom/interface/londocs.pm 2006/11/30 23:34:38 1.262
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.258 2006/11/28 15:03:19 www Exp $
+# $Id: londocs.pm,v 1.262 2006/11/30 23:34:38 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -936,7 +936,7 @@ sub group_import {
my $idx = &LONCAPA::map::getresidx($url);
$LONCAPA::map::order[$#LONCAPA::map::order+1]=$idx;
my $ext = 'false';
- if ($url=~/^http:\/\//) { $ext = 'true'; }
+ if ($url=~/^http:\/\// || $url=~/^https:\/\//) { $ext = 'true'; }
$url =~ s/:/\:/g;
$name =~ s/:/\:/g;
$LONCAPA::map::resources[$idx] =
@@ -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'});
@@ -1086,12 +1087,8 @@ sub docs_change_log {
'randompick' => 'Randomly pick',
'set' => 'set to',
'del' => 'deleted');
-
- my $countselect =
- &Apache::lonmeta::selectbox('show',$env{'form.show'},undef,
- (&mt('all'),10,20,50,100,1000,10000));
-
- $r->print('