[geeklog-cvs] geeklog-1.3/public_html search.php,1.50,1.51

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Thu May 1 23:48:19 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv17298

Modified Files:
	search.php 
Log Message:
This is the new OO-based version of the search page.  This should be feature complete with the last *stable* release

Index: search.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/search.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** search.php	1 Mar 2003 16:40:25 -0000	1.50
--- search.php	2 May 2003 03:48:17 -0000	1.51
***************
*** 35,1146 ****
  
  require_once('lib-common.php');
  
! // echo COM_debug($HTTP_POST_VARS);
! 
! /**
! * Shows search form
! *
! */
! function searchform() 
[...1103 lines suppressed...]
  
  require_once('lib-common.php');
+ require_once($_CONF['path_system'] . 'classes/search.class.php');
  
! $display = COM_siteHeader();
  
! $searchObj = new Search();
  
! if ($HTTP_GET_VARS['mode'] == 'search') {    
!     $display .= $searchObj->doSearch();
! } else {
!     $display .= $searchObj->showForm();
  }
  
  $display .= COM_siteFooter();
+ 
  echo $display;
  
! ?>
\ No newline at end of file





More information about the geeklog-cvs mailing list