--- loncom/interface/londocs.pm 2007/07/03 23:02:53 1.285 +++ loncom/interface/londocs.pm 2007/07/04 00:21:42 1.286 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.285 2007/07/03 23:02:53 albertel Exp $ +# $Id: londocs.pm,v 1.286 2007/07/04 00:21:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1209,7 +1209,7 @@ sub print_paste_buffer { return if (!defined($env{'docs.markedcopy_url'})); $r->print(<
+

ENDPASTE $r->print(' '); @@ -1221,20 +1221,20 @@ ENDPASTE my $extension = (split(/\./,$env{'docs.markedcopy_url'}))[-1]; my $type = &Apache::loncommon::filedescription($extension); my $icon = ''; + '" alt="" class="LC_icon" />'; $r->print($icon.$type.': '. &parse_supplemental_title($env{'docs.markedcopy_title'})); } if ($container eq 'page') { - $r->print(< - -PAGEINFO + $r->print(' + + +'); } else { - $r->print(< -FOLDERINFO + $r->print(' + +'); } - $r->print('

'); + $r->print('

'); } sub editor { @@ -1715,7 +1715,9 @@ sub entryline { $renametitle=~s/\\/\\\\/g; $renametitle=~s/\"\;/\\\"/g; + $renametitle=~s/ /%20/g; my $line=''; + my ($form_start,$form_end); # Edit commands my $container; my ($container, $type, $esc_path, $path, $symb); @@ -1791,12 +1793,15 @@ ENDCOPY $lt{'ct'} ENDCUT } - $line.=(< + $form_start = (< +END + $form_end = ''; + $line.=(< @@ -1812,7 +1817,9 @@ ENDCUT
+ $form_start $selectbox + $form_end $lt{'rm'} @@ -1927,7 +1934,7 @@ END } $line.=' - + '.($url?"":'').$title.($url?'':' '.&mt('(re-initialize course to access)').'')." @@ -1942,15 +1949,19 @@ END ((&LONCAPA::map::getparameter($orderidx,'parameter_hiddenresource'))[0]=~/^yes$/i?' checked="1"':''); $line.=(< + $form_start + $form_end + $form_start + $form_end - $parameterset + $form_start $parameterset $form_end ENDPARMS } - $line.=""; + $line.=""; return $line; } @@ -2398,7 +2409,7 @@ sub changewarning { $message='Changes will become active for your current session after [_1], or the next time you log in.'; } $r->print("\n\n". -''."\n". +''."\n". '
'. '

'. @@ -2735,7 +2746,7 @@ ENDCOURSEVERIFY } my $postexec=''; if ($folder eq 'default') { - $r->print(''); + $r->print(''); } else { #$postexec='self.close();'; } @@ -2765,12 +2776,12 @@ ENDCOURSEVERIFY $lt{'file'}:
- +
$lt{'title'}:
- + $uploadtag - +