[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Wed Jan 9 12:22:51 EST 2013


raeburn		Wed Jan  9 17:22:51 2013 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Coding style (whitespace changes only).
    - Remove trailing space.
    - Standard LON-CAPA indent is 4 spaces (not tab).
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.529 loncom/interface/londocs.pm:1.530
--- loncom/interface/londocs.pm:1.529	Wed Jan  9 04:31:57 2013
+++ loncom/interface/londocs.pm	Wed Jan  9 17:22:51 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.529 2013/01/09 04:31:57 raeburn Exp $
+# $Id: londocs.pm,v 1.530 2013/01/09 17:22:51 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -337,7 +337,7 @@
                       );
         &apply_fixups($folder,1,$coursedom,$coursenum,\%import_errors,\%updated);
         if (keys(%import_errors) > 0) {
-            $fixuperrors = 
+            $fixuperrors =
                 '<p span class="LC_warning">'."\n".
                 &mt('The following files are either dependencies of a web page or references within a folder and/or composite page for which errors occurred during import:')."\n".
                 '<ul>'."\n";
@@ -1066,7 +1066,7 @@
                    copies   => \%copies,
                    docmoves => \%docmoves,
                    mapmoves => \%mapmoves,
-                );  
+                );
     $result =
         &apply_fixups($folder,$is_map,$coursedom,$coursenum,$errors,
                       \%updated,\%info,\%moves,$prefixchg,$oldurl,$url,'paste');
@@ -1872,7 +1872,7 @@
 		    push(@imports, [$name, $url, $residx]);
 		}
 	    }
-	    ($errtext,$fatal,my $fixuperrors) =
+            ($errtext,$fatal,my $fixuperrors) =
                 &group_import($coursenum, $coursedom, $folder,$container,
                               'londocs', at imports);
 	    return $errtext if ($fatal);
@@ -3305,11 +3305,11 @@
        if ($env{'form.symb'} ne '') {
            $env{'form.folderpath'}=
                &Apache::loncommon::symb_to_docspath($env{'form.symb'});
-           &Apache::lonnet::appenv({'docs.exit.'.$env{'request.course.id'} => 
+           &Apache::lonnet::appenv({'docs.exit.'.$env{'request.course.id'} =>
                $env{'form.command'}.'_'.$env{'form.symb'}});
        } elsif ($env{'form.supppath'} ne '') {
            $env{'form.folderpath'}=$env{'form.supppath'};
-           &Apache::lonnet::appenv({'docs.exit.'.$env{'request.course.id'} => 
+           &Apache::lonnet::appenv({'docs.exit.'.$env{'request.course.id'} =>
                $env{'form.command'}.'_'.$env{'form.supppath'}});
        }
    } elsif ($env{'form.command'} eq 'editdocs') {
@@ -4417,8 +4417,8 @@
     my $toplevelsupp = &supplemental_base();
 
     my $backtourl;
-    if ($env{'docs.exit.'.$env{'request.course.id'}} =~ /^direct_(.+)$/) {   
-        my $caller = $1; 
+    if ($env{'docs.exit.'.$env{'request.course.id'}} =~ /^direct_(.+)$/) {
+        my $caller = $1;
         if ($caller =~ /^supplemental/) {
             $backtourl = '/adm/supplemental?folderpath='.&escape($caller);
         } else {




More information about the LON-CAPA-cvs mailing list