diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-09-26 07:15:09 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-09-26 07:15:09 +0000 |
| commit | 8ffbb4cd2cd72377fa80519605fd3e0a1af404a0 (patch) | |
| tree | 29894eca1728ebb7d4fd6111262ccbc5eece8675 /edit_topic.php | |
| parent | 63e137e18116d8268e2291eae16918ffaa0367c3 (diff) | |
| download | articles-8ffbb4cd2cd72377fa80519605fd3e0a1af404a0.tar.gz articles-8ffbb4cd2cd72377fa80519605fd3e0a1af404a0.tar.bz2 articles-8ffbb4cd2cd72377fa80519605fd3e0a1af404a0.zip | |
$smarty -> $gBitSmarty
Diffstat (limited to 'edit_topic.php')
| -rw-r--r-- | edit_topic.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/edit_topic.php b/edit_topic.php index 38a9dc2..d853b49 100644 --- a/edit_topic.php +++ b/edit_topic.php @@ -5,18 +5,18 @@ require_once( ARTICLES_PKG_PATH."BitArticle.php" ); include_once( ARTICLES_PKG_PATH."lookup_article_topic_inc.php" ); if( !$gBitSystem->verifyPackage( 'articles' ) ) { - $smarty->assign( 'msg', tra( "This package is disabled" ) . ": Articles" ); + $gBitSmarty->assign( 'msg', tra( "This package is disabled" ) . ": Articles" ); $gBitSystem->display( "error.tpl" ); die; } if( !$gContent->isValid() ) { - $smarty->assign( 'msg', tra("Article topic not found") ); + $gBitSmarty->assign( 'msg', tra("Article topic not found") ); $gBitSystem->display('error.tpl'); die; } -$smarty->assign_by_ref( 'topic_info', $gContent->mInfo); +$gBitSmarty->assign_by_ref( 'topic_info', $gContent->mInfo); if( isset( $_REQUEST["fSubmitSaveTopic"] ) ) { $gContent->storeTopic( $_REQUEST ); |
