Revision 36
Added by stefan about 19 years ago
modify.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
// $Id: modify.php,v 1.2 2005/04/05 07:20:41 rdjurovich Exp $
|
|
3 |
// $Id$ |
|
4 | 4 |
|
5 | 5 |
/* |
6 | 6 |
|
... | ... | |
65 | 65 |
</td> |
66 | 66 |
<td> |
67 | 67 |
<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>"> |
68 |
<?php echo stripslashes($post['title']); ?> |
|
68 |
<?php echo $admin->stripslashes($post['title']); ?>
|
|
69 | 69 |
</a> |
70 | 70 |
</td> |
71 | 71 |
<td width="180"> |
... | ... | |
74 | 74 |
$query_title = $database->query("SELECT title FROM ".TABLE_PREFIX."mod_news_groups WHERE group_id = '".$post['group_id']."'"); |
75 | 75 |
if($query_title->numRows() > 0) { |
76 | 76 |
$fetch_title = $query_title->fetchRow(); |
77 |
echo stripslashes($fetch_title['title']); |
|
77 |
echo $admin->stripslashes($fetch_title['title']);
|
|
78 | 78 |
} else { |
79 | 79 |
echo $TEXT['NONE']; |
80 | 80 |
} |
Also available in: Unified diff
Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.