blob: e515835df6233f27a521c1880e76a93b1979a916 (
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
33
34
|
<?php
/**
* @version $Header$
*
* FeedStatus class
*
* @version $Revision$
* @package feed
* @subpackage functions
*/
/**
* global defs
*/
namespace Bitweaver\Feed;
global $gQueryUser,$gBitSmarty;
require_once FEED_PKG_INCLUDE_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'] = ( !empty( $moduleParams['module_params']['user_id'] ) ) ? $moduleParams['module_params']['user_id'] : $gQueryUser->mUserId;
$actions = feed_get_actions( $listHash );
$gBitSmarty->assign( 'actions', $actions);
}
|