[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonnavdisplay.pm

raeburn raeburn at source.lon-capa.org
Sun Feb 3 17:19:06 EST 2019


raeburn		Sun Feb  3 22:19:06 2019 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonnavdisplay.pm 
  Log:
  - For 2.11
    - Backport 1.37
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.22.4.8 loncom/interface/lonnavdisplay.pm:1.22.4.9
--- loncom/interface/lonnavdisplay.pm:1.22.4.8	Mon Sep 10 23:11:26 2018
+++ loncom/interface/lonnavdisplay.pm	Sun Feb  3 22:19:06 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Display Handler
 #
-# $Id: lonnavdisplay.pm,v 1.22.4.8 2018/09/10 23:11:26 raeburn Exp $
+# $Id: lonnavdisplay.pm,v 1.22.4.9 2019/02/03 22:19:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -228,7 +228,7 @@
                      ."</span>");
         }
     } else {
-        my $link = 'navmaps?jumpToFirstHomework';
+        my $link = '/adm/navmaps?jumpToFirstHomework';
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'}; 
         }
@@ -251,7 +251,7 @@
         $filterFunc = sub { my $res = shift; 
                             return $res->completable() || $res->is_map();
                         };
-        my $link = 'navmaps?sort='.$env{'form.sort'};
+        my $link = '/adm/navmaps?sort='.$env{'form.sort'};
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'};
         }
@@ -263,7 +263,7 @@
         $env{'form.condition'} = 1;
 	$resource_no_folder_link = 1;
     } else {
-        my $link = 'navmaps?sort='.$env{'form.sort'}.'&showOnlyHomework=1';
+        my $link = '/adm/navmaps?sort='.$env{'form.sort'}.'&showOnlyHomework=1';
         if ($env{'form.register'}) {
             $link .= '&register='.$env{'form.register'};
         }




More information about the LON-CAPA-cvs mailing list