diff options
| author | spiderr <spider@viovio.com> | 2013-04-26 13:27:15 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-26 13:27:15 -0400 |
| commit | 093a35dc9e26063669cdee75007cc8e4457b49ef (patch) | |
| tree | b3b05758cc5ca2e9c0a60c0914762e7c1f0027af /modules | |
| parent | ffad599d98b1702e794327252f158874deb4e896 (diff) | |
| download | boards-093a35dc9e26063669cdee75007cc8e4457b49ef.tar.gz boards-093a35dc9e26063669cdee75007cc8e4457b49ef.tar.bz2 boards-093a35dc9e26063669cdee75007cc8e4457b49ef.zip | |
syntax errors in mod_recent_posts files
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_recent_posts.php | 2 | ||||
| -rw-r--r-- | modules/mod_recent_posts.tpl | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/modules/mod_recent_posts.php b/modules/mod_recent_posts.php index 5990023..b116202 100644 --- a/modules/mod_recent_posts.php +++ b/modules/mod_recent_posts.php @@ -27,7 +27,7 @@ if( !empty( $module_params['b'] ) ) { } elseif( !empty( $_REQUEST['b'] ) && empty( $module_params['all_boards'] ) ) { $listHash['board_id'] = $_REQUEST['b']; } -$_template->tpl_vars['modRecentPostsBoardId'] = new Smarty_variable( !empty( $listHash['board_id'] ); +$_template->tpl_vars['modRecentPostsBoardId'] = new Smarty_variable( !empty( $listHash['board_id'] ) ); if( BitBase::verifyId( $gQueryUserId ) ) { $listHash['user_id'] = $gQueryUserId; diff --git a/modules/mod_recent_posts.tpl b/modules/mod_recent_posts.tpl index b165984..ae68fba 100644 --- a/modules/mod_recent_posts.tpl +++ b/modules/mod_recent_posts.tpl @@ -1,7 +1,6 @@ -{* $Header$ *} {strip} -{if $gBitSystem->isPackageActive('boards') && {$modLastBoardPosts} - {bitmodule title="$moduleTitle" name="last_board_posts"} +{if $gBitSystem->isPackageActive('boards') && $modLastBoardPosts} + {bitmodule title=$moduleTitle name="last_board_posts"} <ul class="boards"> {section name=ix loop=$modLastBoardPosts} <li class="{cycle values="odd,even"}"> @@ -15,4 +14,4 @@ </ul> {/bitmodule} {/if} -{/strip}
\ No newline at end of file +{/strip} |
