diff options
| author | Christian Fowler <spider@viovio.com> | 2009-08-28 20:09:02 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-08-28 20:09:02 +0000 |
| commit | 8e76a5475bb24be294c4e9798844f8a6956e9182 (patch) | |
| tree | 245b4b9dd8cc24430e016fbbed3469ecaa0c7b84 /templates | |
| parent | dea78b21af2223103672ab5917e2ba34a6c96215 (diff) | |
| download | feed-8e76a5475bb24be294c4e9798844f8a6956e9182.tar.gz feed-8e76a5475bb24be294c4e9798844f8a6956e9182.tar.bz2 feed-8e76a5475bb24be294c4e9798844f8a6956e9182.zip | |
add some center modules
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/center_feed.php | 19 | ||||
| -rw-r--r-- | templates/center_feed.tpl | 7 |
2 files changed, 26 insertions, 0 deletions
diff --git a/templates/center_feed.php b/templates/center_feed.php new file mode 100644 index 0000000..ea77fa9 --- /dev/null +++ b/templates/center_feed.php @@ -0,0 +1,19 @@ +<?php + +global $gBitDb,$gQueryUser,$gBitSmarty; + +require_once( FEED_PKG_PATH.'feed_lib.php' ); + +if( !empty($gQueryUser) ){ + + $listHash['user_id'] = $gQueryUser->mUserId; + $actions = feed_get_actions( $listHash ); + $gBitSmarty->assign( 'actions', $actions); + + +} + + + + +?> diff --git a/templates/center_feed.tpl b/templates/center_feed.tpl new file mode 100644 index 0000000..696ff0e --- /dev/null +++ b/templates/center_feed.tpl @@ -0,0 +1,7 @@ +<div style="margin-top:10px;"> + {foreach from=$actions item='action'} + <div> + {*{$action.icon}*} {$action.real_log} on {$action.last_modified|date_format} + </div> + {/foreach} +</div> |
