cvs: php-news-web / common.inc search.php
| From: | Jim Winstead | Date: | Thu, 23 Aug 2001 01:20:31 +0000 |
| Subject: | cvs: php-news-web / common.inc search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6116@lists.php.net to get a copy of this message | ||
jimw Wed Aug 22 21:20:31 2001 EDT
Modified files:
/php-news-web common.inc search.php
Log:
make links relative
Index: php-news-web/common.inc
diff -u php-news-web/common.inc:1.8 php-news-web/common.inc:1.9
--- php-news-web/common.inc:1.8 Mon May 14 19:40:20 2001
+++ php-news-web/common.inc Wed Aug 22 21:20:31 2001
@@ -5,7 +5,7 @@
<html>
<head>
<title><?echo $title?></title>
- <link rel="stylesheet" href="/style.css" type="text/css" />
+ <link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginheight="0"
marginwidth="0">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
@@ -13,7 +13,7 @@
<td> </td>
<form method="GET" action="/search.php">
<td valign="bottom">
- <b><a href="/search.php">search</a> for:</b>
+ <b><a href="search.php">search</a> for:</b>
<input type="text" name="q" value="<?echo
htmlspecialchars($GLOBALS[q])?>" size="15">
in
<select name="t">
@@ -37,15 +37,15 @@
<option>php.template</option>
<option>php.windows</option>
</select>
- <input type="image" src="/i/g.gif" border="0"
width="11" height="11" value="go">
+ <input type="image" src="i/g.gif" border="0"
width="11" height="11" value="go">
</td>
</form>
<td align="right">
- <a href="/"><img src="/i/l.gif" border="0"
width="120" height="64" alt="php" /></a>
+ <a href="index.php"><img src="i/l.gif" border="0"
width="120" height="64" alt="php" /></a>
</td>
</tr>
<tr bgcolor="#333366">
- <td colspan="3"><img src="/i/g.gif" width="1"
height="1" alt="" /></td>
+ <td colspan="3"><img src="i/g.gif" width="1"
height="1" alt="" /></td>
</tr>
</table>
<?php
@@ -55,7 +55,7 @@
<hr noshade="noshade" size="1" width="60%" align="right"
/>
<div align="right">
<small>
-written by <a href="http://trainedmonkey.com/">jim
winstead</a>. no rights reserved. (<a href="/snapshot.tar.gz">source code
snapshot</a>)
+written by <a href="http://trainedmonkey.com/">jim
winstead</a>. no rights reserved. (<a href="snapshot.tar.gz">source code
snapshot</a>)
</small>
</div>
</body>
Index: php-news-web/search.php
diff -u php-news-web/search.php:1.2 php-news-web/search.php:1.3
--- php-news-web/search.php:1.2 Mon May 14 19:40:57 2001
+++ php-news-web/search.php Wed Aug 22 21:20:31 2001
@@ -58,7 +58,7 @@
}
echo "</table>";
navbar($q,$first,$last,$found,$wordinfo,$time);
- echo '<a href="http://www.mnogosearch.ru/"><img
align="left" src="/i/udm.gif" border="0" width="102"
height="25" alt="Powered by mnoGoSearch"></a>';
+ echo '<a href="http://www.mnogosearch.ru/"><img
align="left" src="i/udm.gif" border="0" width="102"
height="25" alt="Powered by mnoGoSearch"></a>';
foot();
exit();
}