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

bisitz bisitz at source.lon-capa.org
Wed Jan 29 11:25:44 EST 2014


bisitz		Wed Jan 29 16:25:44 2014 EDT

  Modified files:              
    /loncom/interface	lonwishlist.pm 
  Log:
  - Correct breadcrumbs call / proper internationalization
  - Own paragraph for error page content
  
  
  
Index: loncom/interface/lonwishlist.pm
diff -u loncom/interface/lonwishlist.pm:1.18 loncom/interface/lonwishlist.pm:1.19
--- loncom/interface/lonwishlist.pm:1.18	Tue Jun 18 13:23:42 2013
+++ loncom/interface/lonwishlist.pm	Wed Jan 29 16:25:44 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility-routines for wishlist
 #
-# $Id: lonwishlist.pm,v 1.18 2013/06/18 13:23:42 bisitz Exp $
+# $Id: lonwishlist.pm,v 1.19 2014/01/29 16:25:44 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1463,7 +1463,7 @@
                                                         'onload' => 'javascript:onLoadAction('."'".$mode."'".');',
                                                         'onunload' => 'javascript:window.name = '."'loncapaclient'"}});
 
-    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Stored Links').&Apache::loncommon::help_open_topic('Wishlist'));
+    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Stored Links'),'Wishlist');
 
     # get javascript-code for wishlist-interactions
     my $js = &JSforWishlist();
@@ -1900,11 +1900,11 @@
                 text => 'Stored Links'});
     my $startPage = &Apache::loncommon::start_page('Stored Links');
     
-    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Stored Links').&Apache::loncommon::help_open_topic('Wishlist'));
+    my $breadcrumbs = &Apache::lonhtmlcommon::breadcrumbs(&mt('Stored Links'),'Wishlist');
     &Apache::lonhtmlcommon::clear_breadcrumbs();
 
     # error-message
-    my $inner .= '<span class="LC_error">'.&mt('An error occurred! Please try again later.').'</span>';
+    my $inner .= '<p class="LC_error">'.&mt('An error occurred! Please try again later.').'</p>';
 
     # end_page 
     my $endPage =  &Apache::loncommon::end_page();




More information about the LON-CAPA-cvs mailing list