Revision 1868
Added by Dietmar over 11 years ago
add.php | ||
---|---|---|
24 | 24 |
} |
25 | 25 |
/* -------------------------------------------------------- */ |
26 | 26 |
|
27 |
$header = '<table cellpadding=\"0\" cellspacing=\"0\" class=\"loop-header\">'."\n";
|
|
27 |
$header = '<table class=\"loop-header\">'."\n"; |
|
28 | 28 |
$post_loop = '<tr class=\"post-top\"> |
29 | 29 |
<td class=\"post-title\"><a href=\"[LINK]\">[TITLE]</a></td> |
30 | 30 |
<td class=\"post-date\">[PUBLISHED_DATE], [PUBLISHED_TIME]</td> |
... | ... | |
36 | 36 |
</td> |
37 | 37 |
</tr>'; |
38 | 38 |
$footer = '</table> |
39 |
<table cellpadding="0" cellspacing="0" class="page-header" style="display: [DISPLAY_PREVIOUS_NEXT_LINKS]">
|
|
39 |
<table class="page-header" style="display: [DISPLAY_PREVIOUS_NEXT_LINKS]"> |
|
40 | 40 |
<tr> |
41 | 41 |
<td class="page-left">[PREVIOUS_PAGE_LINK]</td> |
42 | 42 |
<td class="page-center">[OF]</td> |
... | ... | |
59 | 59 |
<a href=\"[BACK]\">[TEXT_BACK]</a>'; |
60 | 60 |
$comments_header = addslashes('<br /><br /> |
61 | 61 |
<h2>[TEXT_COMMENTS]</h2> |
62 |
<table cellpadding="2" cellspacing="0" class="comment-header">');
|
|
62 |
<table class="comment-header">'); |
|
63 | 63 |
$comments_loop = addslashes('<tr> |
64 | 64 |
<td class="comment_title">[TITLE]</td> |
65 | 65 |
<td class="comment_info">[TEXT_BY] [DISPLAY_NAME] [TEXT_ON] [DATE] [TEXT_AT] [TIME]</td> |
Also available in: Unified diff
! change mysql_esc_string to WbDatabase::getInstance()->escapeStrinng()