Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

add.php
1 1
<?php
2 2

  
3
// $Id: add.php,v 1.2 2005/04/01 07:52:58 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
51 51
<td width="35%" align="right">[NEXT_PAGE_LINK]</td>
52 52
</tr>
53 53
</table>';
54
$post_header = addslashes('<table cellpadding="0" cellspacing="0" border="0" width="100%">
54
$post_header = $admin->add_slashes('<table cellpadding="0" cellspacing="0" border="0" width="100%">
55 55
<tr>
56 56
<td height="30"><h1>[TITLE]</h1></td>
57 57
<td rowspan="3" style="display: [DISPLAY_IMAGE]"><img src="[GROUP_IMAGE]" alt="[GROUP_TITLE]" /></td>
......
66 66
<p style="text-align: justify;">');
67 67
$post_footer = '</p>
68 68
<a href=\"[BACK]\">Back</a>';
69
$comments_header = addslashes('<br /><br />
69
$comments_header = $admin->add_slashes('<br /><br />
70 70
<style type="text/css">
71 71
.comment_title { font-weight: bold; }
72 72
.comment_text { font-weight: bold; background-color: #FDFDFD; border-bottom: 1px solid #DDDDDD; padding-bottom: 15px; }
......
76 76
</style>
77 77
<h2>Comments</h2>
78 78
<table cellpadding="2" cellspacing="0" border="0" width="100%">');
79
$comments_loop = addslashes('<tr>
79
$comments_loop = $admin->add_slashes('<tr>
80 80
<td class="comment_title">[TITLE]</td>
81 81
<td class="comment_info">By [DISPLAY_NAME] on [DATE] at [TIME]</td>
82 82
</tr>

Also available in: Unified diff