cvs: phpweb / submit-event.php
| From: | Gabor Hojtsy | Date: | Tue, 10 Jun 2003 10:16:49 +0000 |
| Subject: | cvs: phpweb / submit-event.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18631@lists.php.net to get a copy of this message | ||
goba Tue Jun 10 06:16:49 2003 EDT
Modified files:
/phpweb submit-event.php
Log:
XHTML fixes: close table row and close <br>s
Index: phpweb/submit-event.php
diff -u phpweb/submit-event.php:1.19 phpweb/submit-event.php:1.20
--- phpweb/submit-event.php:1.19 Sun Jun 1 11:31:18 2003
+++ phpweb/submit-event.php Tue Jun 10 06:16:49 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: submit-event.php,v 1.19 2003/06/01 15:31:18 rasmus Exp $ */
+/* $Id: submit-event.php,v 1.20 2003/06/10 10:16:49 goba Exp $ */
require_once './include/prepend.inc';
require_once './include/posttohost.inc';
@@ -55,7 +55,7 @@
$errors[] = "You must supply a short description of the event.";
}
- $in['ldesc'] =
trim(strip_tags($in['ldesc'],'<a><i><b><br><p>'));
+ $in['ldesc'] =
trim(strip_tags($in['ldesc'],'<a><i><b><br
/><p>'));
$in['ldesc'] =
preg_replace("/(style|on\\w+?)\s*=\s*(\"|').+?\\2/i","",$in['ldesc']);
if (!$in['ldesc']) {
$errors[] = "You must supply a long description of the event.";
@@ -177,7 +177,7 @@
</td>
</tr>
<tr>
- <th>OR<br>Recurring</th>
+ <th>OR<br />Recurring</th>
<td>
<select name="in[recur]"><option></option><?php
display_options($re,$in['recur'])?></select>
<select name="in[recur_day]"><option></option><?php
display_options($days,$in['recur_day'])?></select>
@@ -186,7 +186,7 @@
</td>
</tr>
<tr>
- <th>Short<br>Description</th>
+ <th>Short<br />Description</th>
<td><input type="text" name="in[sdesc]" value="<?php echo
htmlentities($in['sdesc'])?>" size="32" maxlength="32"
/></td>
</tr>
<tr>
@@ -216,6 +216,7 @@
<tr>
<th>Email</th>
<td><input type="text" name="in[email]" size="40"
maxlength="128" value="<?php echo htmlentities($in['email'])?>"
/></td>
+ </tr>
<tr>
<th> </th>
<td><small>This email address is only used to contact you about the listing, it will
not displayed along with the listing.</small></td>