summaryrefslogtreecommitdiff
path: root/modules/mod_feed.php
blob: 96d9d27f9eb411164be94382ad4b63f22788b6bf (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
<?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'];
	}
	$listHash['user_id'] = $gQueryUser->mUserId;
	$actions = feed_get_actions( $listHash );

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


}




?>