[geeklog-cvs] geeklog-1.3/system/classes search.class.php,1.24,1.25 url.class.php,1.7,1.8

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Aug 11 05:23:36 EDT 2004


Update of /var/cvs/geeklog-1.3/system/classes
In directory www:/tmp/cvs-serv19797

Modified Files:
	search.class.php url.class.php 
Log Message:
Fixed a few warnings


Index: search.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/search.class.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** search.class.php	9 Aug 2004 07:56:22 -0000	1.24
--- search.class.php	11 Aug 2004 09:23:34 -0000	1.25
***************
*** 966,970 ****
      function showForm()
      {
!         global $_TABLES, $LANG09, $_CONF;
  
          // Verify current user my use the search form
--- 966,972 ----
      function showForm()
      {
!         global $_CONF, $_TABLES, $LANG09;
! 
!         $retval = '';
  
          // Verify current user my use the search form
***************
*** 975,979 ****
          $retval .= COM_startBlock($LANG09[1],'advancedsearch.html');
          $searchform = new Template($_CONF['path_layout'].'search');
!         $searchform->set_file(array('searchform'=>'searchform.thtml', 'authors'=>'searchauthors.thtml'));
          $searchform->set_var('search_intro', $LANG09[19]);
          $searchform->set_var('site_url', $_CONF['site_url']);
--- 977,982 ----
          $retval .= COM_startBlock($LANG09[1],'advancedsearch.html');
          $searchform = new Template($_CONF['path_layout'].'search');
!         $searchform->set_file (array ('searchform' => 'searchform.thtml',
!                                       'authors'    => 'searchauthors.thtml'));
          $searchform->set_var('search_intro', $LANG09[19]);
          $searchform->set_var('site_url', $_CONF['site_url']);

Index: url.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/url.class.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** url.class.php	1 Sep 2003 18:23:55 -0000	1.7
--- url.class.php	11 Aug 2004 09:23:34 -0000	1.8
***************
*** 6,11 ****
  // +---------------------------------------------------------------------------+
  // | url.class.php                                                             |
- // | class to allow for spider friendly URL's                                  |
  // |                                                                           |
  // +---------------------------------------------------------------------------+
  // | Copyright (C) 2002 by the following authors:                              |
--- 6,11 ----
  // +---------------------------------------------------------------------------+
  // | url.class.php                                                             |
  // |                                                                           |
+ // | class to allow for spider friendly URL's                                  |
  // +---------------------------------------------------------------------------+
  // | Copyright (C) 2002 by the following authors:                              |
***************
*** 79,84 ****
          global $HTTP_SERVER_VARS;
  
!         $this->_arguments = explode('/',$HTTP_SERVER_VARS['PATH_INFO']);
!         array_shift($this->_arguments);
      }
  
--- 79,88 ----
          global $HTTP_SERVER_VARS;
  
!         if (isset ($HTTP_SERVER_VARS['PATH_INFO'])) {
!             $this->_arguments = explode ('/', $HTTP_SERVER_VARS['PATH_INFO']);
!             array_shift ($this->_arguments);
!         } else {
!             $this->_arguments = array ();
!         }
      }
  




More information about the geeklog-cvs mailing list