summaryrefslogtreecommitdiff
path: root/modules/mod_feed.php
blob: 779e26042b512ed5aa06d8acb071841ec32ae166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

global $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'];
	}
	if( !empty( $moduleParams['module_params']['user_id'] ) ){
		$listHash['user_id'] = $moduleParams['module_params']['user_id'];
	}else{
		$listHash['user_id'] = $gQueryUser->mUserId;
	}

	$actions = feed_get_actions( $listHash );

	$gBitSmarty->assign( 'actions', $actions);
		
	
}




?>