Source for file lookup_article_topic_inc.php
Documentation is available at lookup_article_topic_inc.php
require_once( ARTICLES_PKG_PATH. 'BitArticle.php');
// if we already have a gContent, we assume someone else created it for us, and has properly loaded everything up.
if( empty( $gContent ) || !is_object( $gContent ) ) {
if (!empty($_REQUEST['topic_id']) && is_numeric($_REQUEST['topic_id'])) {
if( empty( $gContent->mTopicId ) ) {
//handle legacy forms that use plain 'article' form variable name
$gBitSmarty->assign_by_ref( 'gContent', $gContent );
|