[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonsearchcat.pm
raeburn
raeburn at source.lon-capa.org
Mon Mar 18 00:45:27 EDT 2013
raeburn Mon Mar 18 04:45:27 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonsearchcat.pm
Log:
- For 2.11
- Backport 1.334.
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.331.4.4 loncom/interface/lonsearchcat.pm:1.331.4.5
--- loncom/interface/lonsearchcat.pm:1.331.4.4 Mon Jan 7 22:20:58 2013
+++ loncom/interface/lonsearchcat.pm Mon Mar 18 04:45:27 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.331.4.4 2013/01/07 22:20:58 raeburn Exp $
+# $Id: lonsearchcat.pm,v 1.331.4.5 2013/03/18 04:45:27 raeburn 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