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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 17 Aug 2004 19:02:57 -0000


albertel		Tue Aug 17 15:02:57 2004 EDT

  Modified files:              
    /loncom/interface	londocs.pm lonhtmlcommon.pm 
  Log:
   -BUG#3309, oragne ? in docs
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.136 loncom/interface/londocs.pm:1.137
--- loncom/interface/londocs.pm:1.136	Tue Aug  3 16:44:33 2004
+++ loncom/interface/londocs.pm	Tue Aug 17 15:02:57 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.136 2004/08/03 20:44:33 albertel Exp $
+# $Id: londocs.pm,v 1.137 2004/08/17 19:02:57 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -281,7 +281,8 @@
 		       
 						 
     }
-    return &Apache::lonhtmlcommon::breadcrumbs(undef,undef,undef,undef,undef,0);
+    return &Apache::lonhtmlcommon::breadcrumbs(undef,undef,undef,undef,undef,
+					       0,'nohelp');
 }
 
 sub editor {
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.86 loncom/interface/lonhtmlcommon.pm:1.87
--- loncom/interface/lonhtmlcommon.pm:1.86	Thu Aug  5 12:59:29 2004
+++ loncom/interface/lonhtmlcommon.pm	Tue Aug 17 15:02:57 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.86 2004/08/05 16:59:29 albertel Exp $
+# $Id: lonhtmlcommon.pm,v 1.87 2004/08/17 19:02:57 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1034,8 +1034,8 @@
     my @Crumbs;
     
     sub breadcrumbs {
-        my ($color,$component,$component_help,$function,$domain,$menulink) =
-	    @_;
+        my ($color,$component,$component_help,$function,$domain,$menulink,
+	    $helplink) = @_;
         if (! defined($color)) {
             if (! defined($function)) {
                 $function = &Apache::loncommon::get_users_function();
@@ -1097,7 +1097,9 @@
 #        if ($bug ne '') {
 #            $icons .= &Apache::loncommon::help_open_bug($bug);
 #        }
-        $icons .= &Apache::loncommon::help_open_menu($color,$component,$component_help,$function,$faq,$bug);
+	if ($helplink ne 'nohelp') {
+	    $icons .= &Apache::loncommon::help_open_menu($color,$component,$component_help,$function,$faq,$bug);
+	}
         if ($icons ne '') {
             $Str .= $icons.' ';
         }