$return_addr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : ''));
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $notif_content .= replace_macros($sugg,$includes + array(
+ $notif_content .= replace_macros($sugg, array(
'$str_notifytype' => t('Notification type: '),
'$notify_type' => t('Friend Suggestion'),
'$intro_id' => $rr['intro_id'],
));
}
- $includes = array(
- '$field_checkbox' => 'field_checkbox.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $notif_content .= replace_macros($tpl,$includes + array(
+ $notif_content .= replace_macros($tpl, array(
'$str_notifytype' => t('Notification type: '),
'$notify_type' => (($rr['network'] !== NETWORK_OSTATUS) ? t('Friend/Connect Request') : t('New Follower')),
'$dfrn_text' => $dfrn_text,
else
info( t('No introductions.') . EOL);
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more network notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Network Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content .= t('No more system notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('System Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more personal notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Personal Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
$notif_content = t('No more home notifications.');
}
- $includes = array(
- '$common_tabs' => 'common_tabs.tpl',
- );
- $includes = set_template_includes($a->theme['template_engine'], $includes);
-
- $o .= replace_macros($notif_tpl,$includes + array(
+ $o .= replace_macros($notif_tpl, array(
'$notif_header' => t('Home Notifications'),
- '$tabs_data' => $tabs,
+ '$tabs' => $tabs,
'$notif_content' => $notif_content,
));
}