Revision 158
Added by stefan about 19 years ago
add.php | ||
---|---|---|
51 | 51 |
<td width="35%" align="right">[NEXT_PAGE_LINK]</td> |
52 | 52 |
</tr> |
53 | 53 |
</table>'; |
54 |
$post_header = $admin->add_slashes('<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
|
54 |
$post_header = addslashes('<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 = $admin->add_slashes('<br /><br />
|
|
69 |
$comments_header = addslashes('<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 = $admin->add_slashes('<tr>
|
|
79 |
$comments_loop = addslashes('<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
Replaced faulty use of add_slashes by addslashes.