Hi,

UdmSearch 2.2.1:

search.php3 and search.htm-dist don't preserve the specified value for
UL (restriction to certain URLs). The following patch fixes this for
search.php3 (you must also change the following line in search.htm):

Filter: <INPUT TYPE="text" NAME="ul" SIZE=30 VALUE="$UL">

Cheers,
Fritz



*** search.php3 Fri Nov 26 18:25:24 1999
--- search.php3 Fri Nov 26 18:24:51 1999
***************
*** 1,19 ****
  <?
  /*   search.php3 v.2.1.2 for UdmSearch 2.1
   *   by UdmSearch Developers Team
   */
  
  //$DEBUG=1;
  /* Please set the following mysql variables in template (etc/search.htm) */
! $mysqldb='udmsearch';
! $mysqlhost='localhost';
! $mysqluser='foo';
! $mysqlpass='bar';
! 
! $self='search.php3';
! $template_file='search.htm';
! $configdir='/usr/local/UdmSearch/etc';
  
  
  /* You should'n change anything below
   */
--- 1,22 ----
  <?
+ /* This is auto-generated from search.php3.in
+  */
+ $configdir="/usr/sepp/var/udmsearch-2.2.1-za/conf";
+ ?>
+ <?
  /*   search.php3 v.2.1.2 for UdmSearch 2.1
   *   by UdmSearch Developers Team
   */
  
  //$DEBUG=1;
  /* Please set the following mysql variables in template (etc/search.htm) */
! $mysqldb='';
! $mysqlhost='';
! $mysqluser='';
! $mysqlpass='';
  
+ $self='udmsearch.php3';
+ $template_file='udmsearch.htm';
  
  /* You should'n change anything below
   */
***************
*** 115,121 ****
  
  function print_template($t,$echo=1){
      global $templates;
!     global $from1, $to, $found, $query, $error, $self;
      global $nav, $wordsinfo;
      global $url, $title, $rating, $desc, $contype, $lastmod, $docsize, $ndoc;
      global $keyw, $text;
--- 118,124 ----
  
  function print_template($t,$echo=1){
      global $templates;
!     global $from1, $to, $found, $query, $error, $self, $ul;
      global $nav, $wordsinfo;
      global $url, $title, $rating, $desc, $contype, $lastmod, $docsize, $ndoc;
      global $keyw, $text;
***************
*** 128,133 ****
--- 131,137 ----
      $str=ereg_replace('\$t', "$found", $str);
      $str=ereg_replace('\$A', $self, $str);
  
+     $str=ereg_replace('\$UL', $ul, $str);
      $str=ereg_replace('\$Q', $query, $str);
      $str=ereg_replace('\$E', $error, $str);
      $str=ereg_replace('\$V', $nav, $str);



-- 
Dr. Fritz Zaucker, Head IT Support Group
Department of Electrical Engineering,  Federal Institute of Technology
ETZ J97, Gloriastrasse 35, 8092 Zurich, Switzerland
Tel.: +41-1-632-5241 Fax: +41-1-632-1194 http://ee-staff.ethz.ch/~zaucker/
E-mail: [EMAIL PROTECTED] (see home page for PGP key)
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to