diff options
Diffstat (limited to 'templates/center_feed.php')
| -rw-r--r-- | templates/center_feed.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/center_feed.php b/templates/center_feed.php index ea77fa9..d185c4f 100644 --- a/templates/center_feed.php +++ b/templates/center_feed.php @@ -5,6 +5,12 @@ global $gBitDb,$gQueryUser,$gBitSmarty; require_once( FEED_PKG_PATH.'feed_lib.php' ); if( !empty($gQueryUser) ){ + if( !empty( $moduleParams['module_params']['no_link_user'] ) ) { + $listHash['no_link_user'] = TRUE; + } + if( !empty( $moduleParams['module_rows'] ) ) { + $listHash['max_records'] = $moduleParams['module_rows']; + } $listHash['user_id'] = $gQueryUser->mUserId; $actions = feed_get_actions( $listHash ); |
