--- loncom/interface/londocs.pm 2009/04/01 14:22:11 1.360
+++ loncom/interface/londocs.pm 2009/04/07 20:12:55 1.362
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.360 2009/04/01 14:22:11 amueller Exp $
+# $Id: londocs.pm,v 1.362 2009/04/07 20:12:55 ehlerst Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -121,7 +121,7 @@ sub dumpbutton {
if ($home) {
return ''.
- &Apache::loncommon::help_open_topic('Docs_Dump_Course_Docs');
+ &Apache::loncommon::help_open_topic('Docs_Dump_Course_Docs').'
';
} else {
return '
'.
&mt('Dump '.$type.
@@ -264,7 +264,7 @@ sub exportbutton {
my $type = &Apache::loncommon::course_type();
return '
'.
- &Apache::loncommon::help_open_topic('Docs_Export_Course_Docs');
+ &Apache::loncommon::help_open_topic('Docs_Export_Course_Docs').'
';
}
@@ -474,7 +474,7 @@ function containerCheck(item) {
$scripttag));
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Export '.lc($type).' to IMS content package'));
$r->print($display.''.
- '
'.
+ '
'.
'
');
}
@@ -2891,7 +2891,7 @@ HIDDENFORM
my $activeClass = 1;
my $active = '';
$r->print('
');
- if (($standard) && ($allowed) && (!$forcesupplement) && ($env{'form.folderpath'}=~/^default/)) {
+ if (($standard) && ($allowed) && (!$forcesupplement) && (($env{'form.folderpath'}=~/^default/) || ($env{'form.pagepath'}))) {
if($activeClass == 1){
$active = 'class="active"';
$activeClass = 0;
@@ -3170,6 +3170,7 @@ $r->print('
');
}else{
$env{'form.folderpath'} = $savefolderpath;
}
+ $env{'form.pagepath'} = '';
if ($allowed) {
my $folderseq=
'/uploaded/'.$coursedom.'/'.$coursenum.'/supplemental_'.time.
@@ -3311,8 +3312,8 @@ sub generate_admin_options {