Project

General

Profile

« Previous | Next » 

Revision 36

Added by stefan about 19 years ago

Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.

View differences:

modify_comment.php
1 1
<?php
2 2

  
3
// $Id: modify_comment.php,v 1.2 2005/06/21 09:13:12 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
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 stripslashes(htmlspecialchars($fetch_content['title'])); ?>" style="width: 100%;" maxlength="255" />
55
		<input type="text" name="title" value="<?php echo $admin->stripslashes(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 stripslashes(htmlspecialchars($fetch_content['comment'])); ?></textarea>
61
		<textarea name="comment" style="width: 100%; height: 150px;"><?php echo $admin->stripslashes(htmlspecialchars($fetch_content['comment'])); ?></textarea>
62 62
	</td>
63 63
</tr>
64 64
</table>

Also available in: Unified diff