Update of /cvsroot/openfirst/search
In directory sc8-pr-cvs1:/tmp/cvs-serv9856
Modified Files:
index.php
Log Message:
Fix bug preventing search from functioning as expected on systems not having openFIRST basepath at document root
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/search/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.php 19 Aug 2003 22:52:36 -0000 1.2
--- index.php 19 Aug 2003 23:24:49 -0000 1.3
***************
*** 35,39 ****
<img src="search2.png" alt="Search" />
</th>
! <td><form method="GET" action="/search/">
<select name="type">
<option value="google" <?php if($_GET["type"] == "google") { echo " selected='selected'"; } ?>>Google Search</option>
--- 35,39 ----
<img src="search2.png" alt="Search" />
</th>
! <td><form method="GET" action="<?php echo $basepath; ?>/search/">
<select name="type">
<option value="google" <?php if($_GET["type"] == "google") { echo " selected='selected'"; } ?>>Google Search</option>
|