cvs: phpweb / cvs-php.php
| From: | Gabor Hojtsy | Date: | Thu, 11 Sep 2003 16:45:13 +0000 |
| Subject: | cvs: phpweb / cvs-php.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20970@lists.php.net to get a copy of this message | ||
goba Thu Sep 11 12:45:13 2003 EDT
Modified files:
/phpweb cvs-php.php
Log:
OK, so those browsers are not that buggy, but do not take input size=""
into account, when sizing the table, the CSS takes over. So add a fixed
size to the table. min-width would be a better solution, but it is not supported
in IE, so it does not solve our problem in IE...
Index: phpweb/cvs-php.php
diff -u phpweb/cvs-php.php:1.30 phpweb/cvs-php.php:1.31
--- phpweb/cvs-php.php:1.30 Thu Sep 11 12:37:35 2003
+++ phpweb/cvs-php.php Thu Sep 11 12:45:13 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: cvs-php.php,v 1.30 2003/09/11 16:37:35 goba Exp $
+// $Id: cvs-php.php,v 1.31 2003/09/11 16:45:13 goba Exp $
$_SERVER['BASE_PAGE'] = 'cvs-php.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/email-validation.inc';
@@ -261,30 +261,30 @@
?>
<form action="/cvs-php.php" method="post">
-<table border="0" class="standard">
+<table border="0" class="standard" style="width: 80%;">
<tr>
<th class="subr">Full Name:</th>
<td><input type="text" size="50" name="fullname"
- value="<?php echo clean($_POST['fullname']);?>" /></td>
+ class="max" value="<?php echo
clean($_POST['fullname']);?>" /></td>
</tr>
<tr>
<th class="subr">Email:</th>
<td><input type="text" size="50" name="email"
- value="<?php echo clean($_POST['email']);?>" /></td>
+ class="max" value="<?php echo clean($_POST['email']);?>"
/></td>
</tr>
<tr>
<th class="subr">Purpose:</th>
- <td><textarea cols="50" rows="5" name="purpose"><?php
echo clean($_POST['purpose']);?></textarea></td>
+ <td><textarea cols="50" rows="5" name="purpose"
class="max"><?php echo
clean($_POST['purpose']);?></textarea></td>
</tr>
<tr>
<th class="subr">User ID:<br /> <small>(single word, lower
case)</small></th>
<td><input type="text" size="10" name="id"
- value="<?php echo clean($_POST['id']);?>" /></td>
+ class="max" value="<?php echo clean($_POST['id']);?>"
/></td>
</tr>
<tr>
<th class="subr">Requested Password:</th>
<td><input type="password" size="10" name="password"
- value="<?php echo clean($_POST['password']);?>" /></td>
+ class="max" value="<?php echo
clean($_POST['password']);?>" /></td>
</tr>
<?php
// if checkread is set here, we're redisplaying the form because of an error.