function _HTML_editColumn($id) { $source = new ArticleComment(AMP_Registry::getDbcon(), $id); $article_id = $source->getArticle(); $allowed_articles = AMP_lookup('articles'); $existing_articles = AMP_lookup('articles_existing'); if (!isset($allowed_articles[$article_id]) && isset($existing_articles[$article_id])) { return "\n<td nowrap><div align='center'>" . "</div></td>\n"; } return parent::_HTML_editColumn($id); }