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

bisitz bisitz@source.lon-capa.org
Thu, 14 May 2009 10:01:20 -0000


bisitz		Thu May 14 10:01:20 2009 EDT

  Modified files:              
    /loncom/interface	lonaboutme.pm 
  Log:
  Don't show breadcrumbs in popup window
  
  
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.131 loncom/interface/lonaboutme.pm:1.132
--- loncom/interface/lonaboutme.pm:1.131	Wed May 13 14:27:52 2009
+++ loncom/interface/lonaboutme.pm	Thu May 14 10:01:20 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Personal Information Page
 #
-# $Id: lonaboutme.pm,v 1.131 2009/05/13 14:27:52 bisitz Exp $
+# $Id: lonaboutme.pm,v 1.132 2009/05/14 10:01:20 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -213,8 +213,9 @@
                     'force_register' => $forceregister};
         if ($env{'form.popup'}) {
             $args->{'no_nav_bar'} = 1;
+        } else { # Don't show breadcrumbs in popup window
+            $args->{'bread_crumbs'} = [{href=>"/adm/$cdom/$cnum/aboutme",text=>"Personal Information Page"}];
         }
-	$args->{'bread_crumbs'} = [{href=>"/adm/$cdom/$cnum/aboutme",text=>"Personal Information Page"}];
 	my $start_page = &Apache::loncommon::start_page('Personal Information Page',$rss_link,$args);
 	$r->print($start_page);