cvs: phpweb(NEW_LOOK_2001) /include layout.inc
| From: | Jim Winstead | Date: | Tue, 06 Feb 2001 22:41:33 +0000 |
| Subject: | cvs: phpweb(NEW_LOOK_2001) /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3808@lists.php.net to get a copy of this message | ||
jimw Tue Feb 6 14:41:33 2001 EDT
Modified files: (Branch: NEW_LOOK_2001)
/phpweb/include layout.inc
Log:
yes, this isn't strictly valid. but it avoids the extra whitespace netscape inserts after a
</form> and doesn't hurt any other browser i've ever seen.
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.1.2.4 phpweb/include/layout.inc:1.1.2.5
--- phpweb/include/layout.inc:1.1.2.4 Tue Feb 6 13:41:07 2001
+++ phpweb/include/layout.inc Tue Feb 6 14:41:33 2001
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.1.2.4 2001/02/06 21:41:07 cmv Exp $ */
+/* $Id: layout.inc,v 1.1.2.5 2001/02/06 22:41:33 jimw Exp $ */
# spacer()
@@ -204,8 +204,8 @@
</tr>
<tr bgcolor="#9999cc">
- <td align="right" valign="bottom">
- <form method="POST" action="/search.php">
+ <form method="POST" action="/search.php">
+ <td align="right" valign="bottom">
<?php
print_link('/downloads.php','downloads',false,'class="small"');
echo delim();
@@ -221,8 +221,8 @@
echo ' <input class="small" type="text" name="what"
size=10> ';
echo make_submit('small_submit.gif', 'search', 'bottom');
?> <br>
- </form>
- </td>
+ </td>
+ </form>
</tr>
<tr bgcolor="#333366"><td colspan="2"><?php
spacer(1,1);?><br></td></tr>
@@ -268,8 +268,8 @@
<table border="0" cellspacing="0" cellpadding="0"
width="100%">
<tr bgcolor="#333366"><td><?php
spacer(1,1);?><br></td></tr>
<tr bgcolor="#9999cc">
- <td align="right" valign="bottom">
- <form method="GET" action="/mirrors.php" onsubmit="return
gotomirror(this)">
+ <form method="GET" action="/mirrors.php" onsubmit="return
gotomirror(this)">
+ <td align="right" valign="bottom">
<script language="javascript">
<!--
function gotomirror(form) {
@@ -298,8 +298,8 @@
echo "</select> ";
echo make_submit('small_submit.gif', 'search', 'bottom' );
?> <br>
- </form>
- </td>
+ </td>
+ </form>
</tr>
<tr bgcolor="#333366"><td><?php spacer(1,1);
?><br></td></tr>
</table>