Project

General

Profile

« Previous | Next » 

Revision 42

Added by stefan about 19 years ago

Changed most occurrences of strip_slashes to new dummy method strip_slashes_dummy.

View differences:

modify_comment.php
52 52
<tr>
53 53
	<td width="80"><?php echo $TEXT['TITLE']; ?>:</td>
54 54
	<td>
55
		<input type="text" name="title" value="<?php echo $admin->strip_slashes(htmlspecialchars($fetch_content['title'])); ?>" style="width: 100%;" maxlength="255" />
55
		<input type="text" name="title" value="<?php echo $admin->strip_slashes_dummy(htmlspecialchars($fetch_content['title'])); ?>" style="width: 100%;" maxlength="255" />
56 56
	</td>
57 57
</tr>
58 58
<tr>
59 59
	<td valign="top"><?php echo $TEXT['COMMENT']; ?>:</td>
60 60
	<td>
61
		<textarea name="comment" style="width: 100%; height: 150px;"><?php echo $admin->strip_slashes(htmlspecialchars($fetch_content['comment'])); ?></textarea>
61
		<textarea name="comment" style="width: 100%; height: 150px;"><?php echo $admin->strip_slashes_dummy(htmlspecialchars($fetch_content['comment'])); ?></textarea>
62 62
	</td>
63 63
</tr>
64 64
</table>

Also available in: Unified diff