--- loncom/interface/lonsearchcat.pm 2011/07/04 09:24:58 1.330 +++ loncom/interface/lonsearchcat.pm 2012/12/17 13:54:25 1.331.4.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.330 2011/07/04 09:24:58 foxr Exp $ +# $Id: lonsearchcat.pm,v 1.331.4.3 2012/12/17 13:54:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3063,22 +3063,9 @@ SCRIPT SCRIPT - - # Add JavaScript-function to set link for a ressource to wishlist - $js.=< -// - -SCRIPT - my $start_page = &Apache::loncommon::start_page(undef,$js, - {'only_body' =>1}); + {'only_body' =>1, + 'add_wishlist' =>1}); my $result=< @@ -3388,7 +3375,7 @@ sub compact_view { ''. &HTML::Entities::encode($values{'title'},'<>&"').' '. ''. + 'title="'.&mt('Add to stored links').'">'. ''. ''. @@ -3433,7 +3420,7 @@ sub fielded_format_view { my $jumpurl=$values{'url'}; $jumpurl=~s|^/ext/|http://|; - my $titleWL = ('Set link to wishlist'); + my $titleWL = &mt('Add to stored links'); my $result=<