Revision 1069
Added by Matthias over 16 years ago
| view.php | ||
|---|---|---|
| 137 | 137 |
|
| 138 | 138 |
?> |
| 139 | 139 |
<form <?php echo ( ( (strlen($form_name) > 0) AND (false == $use_xhtml_strict) ) ? "name=\"".$form_name."\"" : ""); ?> action="<?php echo htmlspecialchars(strip_tags($_SERVER['PHP_SELF'])); ?>#wb_<?PHP echo $section_id;?>" method="post"> |
| 140 |
<div><input type="hidden" name="submission_id" value="<?php echo $_SESSION['form_submission_id']; ?>" /></div> |
|
| 140 |
<div> |
|
| 141 |
<input type="hidden" name="submission_id" value="<?php echo $_SESSION['form_submission_id']; ?>" /> |
|
| 142 |
</div> |
|
| 141 | 143 |
<?php |
| 142 | 144 |
if(ENABLED_ASP) { // first add some honeypot-fields
|
| 143 | 145 |
?> |
| 144 |
<div><input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /></div> |
|
| 146 |
<div> |
|
| 147 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
|
| 148 |
</div> |
|
| 145 | 149 |
<p class="nixhier"> |
| 146 | 150 |
email address: |
| 147 | 151 |
<label for="email">Leave this field email-address blank:</label> |
Also available in: Unified diff
Fixed some validiation bugs in core and different modules (Thanks to luisehahne)