[geeklog-cvs] geeklog-1.3/system/classes search.class.php,1.2,1.3

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon Jun 23 12:55:29 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/system/classes
In directory internal.geeklog.net:/tmp/cvs-serv29716

Modified Files:
	search.class.php 
Log Message:
Added call to sprintf as new text in english.php for search results uses formated sprintf string.

Index: search.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/classes/search.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** search.class.php	6 Jun 2003 17:56:17 -0000	1.2
--- search.class.php	23 Jun 2003 16:55:27 -0000	1.3
***************
*** 645,650 ****
          $searchmain = new Template($_CONF['path_layout'] . 'search');
          $searchmain->set_file(array('searchresults'=>'searchresults.thtml'));
!         $searchmain->set_var('lang_found', $LANG09[24]);
!         $searchmain->set_var('num_matches', " $start - $end</b> of <b>$nrows.");
          
          if ($keyType == 'any') {
--- 645,651 ----
          $searchmain = new Template($_CONF['path_layout'] . 'search');
          $searchmain->set_file(array('searchresults'=>'searchresults.thtml'));
!         $tmpTxt = sprintf($LANG09[24], $nrows_plugins);
!         $searchmain->set_var('lang_found', $tmpTxt);
!         $searchmain->set_var('num_matches', '');
          
          if ($keyType == 'any') {





More information about the geeklog-cvs mailing list