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

bisitz bisitz at source.lon-capa.org
Wed Feb 6 12:56:38 EST 2013


bisitz		Wed Feb  6 17:56:38 2013 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  - Internationalization: Do not translate twice page title
  - lonsearchcat.pm 1.313:
      - Corrected unbalanced tags
      - Officially use debugging leftover
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.333 loncom/interface/lonsearchcat.pm:1.334
--- loncom/interface/lonsearchcat.pm:1.333	Mon Dec 17 08:29:26 2012
+++ loncom/interface/lonsearchcat.pm	Wed Feb  6 17:56:38 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.333 2012/12/17 08:29:26 raeburn Exp $
+# $Id: lonsearchcat.pm,v 1.334 2013/02/06 17:56:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1901,11 +1901,13 @@
     ## Sanity check the table id.
     ##
     if (! defined($table) || $table eq '' || $table =~ /\D/ ) {
-        $r->print(&Apache::loncommon::start_page(&mt('Error'))
-. '<p>table: |'.$table.'|</p>' # SB
+        $r->print(&Apache::loncommon::start_page('Error')
                  .'<p class="LC_error">'
                  .&mt('Unable to retrieve search results. '
                      .'Unable to determine the table results were saved in.')
+                 .'</p>'
+                 . '<p>'.&mt('Internal info:').'</p>'
+                 .'<pre>'.$table.'</pre>'
                  .&Apache::loncommon::end_page()
         );
         return undef;




More information about the LON-CAPA-cvs mailing list