1
0

Missing commit

This commit is contained in:
Garvin Hicking
2008-02-02 11:05:35 +00:00
parent 02b364f44f
commit bacf8ff0f3

View File

@ -266,13 +266,13 @@ function serendipity_drawList() {
<tr> <tr>
<td> <td>
<?php <?php
echo POSTED_BY . ' ' . $entry['author']; echo POSTED_BY . ' ' . htmlspecialchars($entry['author']);
if (count($entry['categories'])) { if (count($entry['categories'])) {
echo ' ' . IN . ' '; echo ' ' . IN . ' ';
$cats = array(); $cats = array();
foreach ($entry['categories'] as $cat) { foreach ($entry['categories'] as $cat) {
$caturl = serendipity_categoryURL($cat); $caturl = serendipity_categoryURL($cat);
$cats[] = '<a href="' . $caturl . '">' . $cat['category_name'] . '</a>'; $cats[] = '<a href="' . $caturl . '">' . htmlspecialchars($cat['category_name']) . '</a>';
} }
echo implode(', ', $cats); echo implode(', ', $cats);
} }