From b2e92e0af32f86212d15748c6d432d658905d4b6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 11 May 2011 04:37:13 -0700 Subject: deprecate load_view_file --- mod/notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/notifications.php') diff --git a/mod/notifications.php b/mod/notifications.php index 0c695d0b4..fa5165b0b 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -89,13 +89,13 @@ function notifications_content(&$a) { if(($r !== false) && (count($r))) { - $tpl = file_get_contents("view/intros.tpl"); + $tpl = get_markup_template("intros.tpl"); foreach($r as $rr) { $friend_selected = (($rr['network'] !== 'stat') ? ' checked="checked" ' : ' disabled '); $fan_selected = (($rr['network'] === 'stat') ? ' checked="checked" disabled ' : ''); - $dfrn_tpl = file_get_contents('view/netfriend.tpl'); + $dfrn_tpl = get_markup_template('netfriend.tpl'); $knowyou = ''; $dfrn_text = ''; -- cgit v1.2.3