Source for file display_article_inc.php
Documentation is available at display_article_inc.php
$gBitSmarty->assign_by_ref( 'article', $gContent->mInfo );
// get all the services that want to display something on this page
$displayHash = array( 'perm_name' => 'p_articles_read' );
$gContent->invokeServices( 'content_display_function', $displayHash );
$gBitSmarty->assign_by_ref( 'topics', $topics );
if( @$gContent->mInfo['allow_comments'] == 'y' ) {
$comments_vars = Array( 'article' );
$comments_prefix_var= 'article:';
$comments_object_var= 'article';
$commentsParentId = $gContent->mContentId;
$comments_return_url = $_SERVER['SCRIPT_NAME']. "?article_id=". $_REQUEST['article_id'];
include_once( LIBERTY_PKG_PATH. 'comments_inc.php' );
// Display the Index Template
$gBitSystem->display( 'bitpackage:articles/read_article.tpl', @$gContent->mInfo['title'] , array( 'display_mode' => 'display' ));
|