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

raeburn raeburn@source.lon-capa.org
Mon, 29 Mar 2010 00:37:36 -0000


raeburn		Mon Mar 29 00:37:36 2010 EDT

  Modified files:              
    /loncom/interface	lonsimplepage.pm 
  Log:
  - Eliminate double breadcrumbs when simple group page is registered in a course.
  
  
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.94 loncom/interface/lonsimplepage.pm:1.95
--- loncom/interface/lonsimplepage.pm:1.94	Tue Feb 23 14:18:12 2010
+++ loncom/interface/lonsimplepage.pm	Mon Mar 29 00:37:36 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Page Editor
 #
-# $Id: lonsimplepage.pm,v 1.94 2010/02/23 14:18:12 raeburn Exp $
+# $Id: lonsimplepage.pm,v 1.95 2010/03/29 00:37:36 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -166,7 +166,8 @@
                                          $env{'request.course.id'}.'/'.$group);
         if ($group_view_perm || $group_edit_perm || $group_home_view ||
             $group_home_edit || &Apache::longroup::check_group_access($group)) {
-            if (($env{'form.ref'} eq 'grouplist') && ($target ne 'tex')) {
+            if (($env{'form.ref'} eq 'grouplist') && ($target ne 'tex') &&
+                (!$env{'form.register'})) {
                 $r->print(&grouppage_breadcrumbs($dom,$crs,$group,$group_desc));
             }
             if ((!$group_home_edit) && (!$group_home_view) &&