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

wenzelju wenzelju@source.lon-capa.org
Fri, 20 Aug 2010 10:38:41 -0000


wenzelju		Fri Aug 20 10:38:41 2010 EDT

  Modified files:              
    /loncom/interface	lonwishlist.pm 
  Log:
  Inserted help_open_topic for wishlist on error-page and added &mt().
  
  
Index: loncom/interface/lonwishlist.pm
diff -u loncom/interface/lonwishlist.pm:1.6 loncom/interface/lonwishlist.pm:1.7
--- loncom/interface/lonwishlist.pm:1.6	Fri Aug 20 08:13:41 2010
+++ loncom/interface/lonwishlist.pm	Fri Aug 20 10:38:41 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the wishlist
 #
-# $Id: lonwishlist.pm,v 1.6 2010/08/20 08:13:41 wenzelju Exp $
+# $Id: lonwishlist.pm,v 1.7 2010/08/20 10:38:41 wenzelju Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1478,7 +1478,7 @@
                                                         'onload' => 'javascript:onLoadAction('."'".$mode."'".');',
                                                         'onunload' => 'javascript:window.name = '."'loncapaclient'"}});
 
-    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs('Wishlist '.&Apache::loncommon::help_open_topic('Wishlist'));
+    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Wishlist').&Apache::loncommon::help_open_topic('Wishlist'));
 
     # get javascript-code for wishlist-interactions
     my $js = &JSforWishlist();
@@ -1708,10 +1708,7 @@
                 text => 'Wishlist'});
     my $startPage = &Apache::loncommon::start_page('Wishlist');
     
-    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs('Wishlist '.
-                           '<a title="Online-Hilfe" href="/adm/help/Wishlist.hlp" target="_top">'.
-                           '<img src="/adm/help/help.png" alt="'.&mt('Help').'" '.
-                           'title="'.&mt('Help').'" class="LC_icon" /></a>');
+    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Wishlist').&Apache::loncommon::help_open_topic('Wishlist'));
     &Apache::lonhtmlcommon::clear_breadcrumbs();
 
     # error-message