function template_preprocess_views_view_activity_row_rss in Activity 6.2
Template preprocess function for Feed items.
1 string reference to 'template_preprocess_views_view_activity_row_rss'
- activity_theme in ./
activity.module - Implementation of hook_theme().
File
- ./
activity.module, line 1072 - Primarily Drupal hooks and global API functions to manipulate activity.
Code
function template_preprocess_views_view_activity_row_rss(&$vars) {
$view =& $vars['view'];
$options =& $vars['options'];
$item =& $vars['row'];
$vars['message'] = strip_tags($item->message);
$vars['user_name'] = check_plain($item->user_name);
$vars['user_link'] = check_url(url('user/' . $item->user_uid, array(
'absolute' => TRUE,
)));
$vars['node_title'] = check_plain($item->node_title);
$vars['node_link'] = check_url(url('node/' . $item->node_nid, array(
'absolute' => TRUE,
)));
$vars['created'] = date('D, d M Y H:i:s O', $item->created);
}