?> </td> <td align="left" class="cofiIndexTableRow<?php echo $rowColor; ?> cofiIndexTableRowTopic"> <?php $_hoverSubject = $posting->subject; $_hoverSubject = str_replace('\'', '"', $_hoverSubject); $_categorySlug = $CofiHelper->getCategorySlugById($posting->cat_id); $_categoryName = $CofiHelper->getCategoryNameById($posting->cat_id); $_threadSlug = $CofiHelper->getThreadSlugById($posting->thread); $_postingJumpPoint = $CofiHelper->getPostingJumpPointByThreadIdAndPostingId($posting->thread, $posting->id); $postingLinkTMP = "index.php?option=com_discussions&view=thread&catid=" . $_categorySlug . "&thread=" . $_threadSlug; $postingLinkTMP .= $_postingJumpPoint; $postingLink = JRoute::_($postingLinkTMP); echo "<a href='{$postingLink}' title='" . $_hoverSubject . "'>" . $posting->subject . "</a>"; echo "<div class='cofiIndexTableRowTopicSubtitle'>"; echo JText::_('COFI_POSTED') . " " . $posting->date_created . " " . JText::_('COFI_BY') . " "; echo "<b>"; echo $entryUsername; echo "</b>"; echo " " . JText::_('COFI_IN') . " "; $forum_link = JRoute::_('index.php?option=com_discussions&view=category&catid=' . $CofiHelper->getCategorySlugById($posting->cat_id)); echo "<a href='" . $forum_link . "' title=\"" . $_categoryName . "\" >"; echo $_categoryName;
// deny post echo "<td width='16' align='center' valign='middle' class='noborder'>"; echo "<img src='" . $_root . "components/com_discussions/assets/threads/deny.png' style='margin-left: 5px; border:0px;' />"; echo "</td>"; echo "<td width='20' align='left' valign='middle' class='noborder'>"; echo "<span class='cofiPostMenuLinks'>"; $menuLinkDenyTMP = "index.php?option=com_discussions&view=moderation&task=deny&post=" . $posting->id; $menuLinkDeny = JRoute::_($menuLinkDenyTMP); echo "<a href='" . $menuLinkDeny . "'>" . JText::_('COFI_MODERATION_DENY') . "</a>"; echo "</span>"; echo "</td>"; echo "<td class='noborder'>"; echo " "; echo "</td>"; echo "<td class='noborder'>"; echo "<b>" . $CofiHelper->getCategoryNameById($posting->cat_id) . "</b>"; echo "</td>"; } else { echo "<td class='noborder'>"; echo " "; echo "</td>"; } echo "</tr>"; echo "</table>"; echo "</div>"; // moderation menu echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td class='noborder'>"; echo "</td>";