From c052d688284fda76c612325b237d8352f2abb5d4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 10 May 2011 16:12:50 -0700 Subject: don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version. --- 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 c3f8449ed..0c695d0b4 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -89,13 +89,13 @@ function notifications_content(&$a) { if(($r !== false) && (count($r))) { - $tpl = load_view_file("view/intros.tpl"); + $tpl = file_get_contents("view/intros.tpl"); foreach($r as $rr) { $friend_selected = (($rr['network'] !== 'stat') ? ' checked="checked" ' : ' disabled '); $fan_selected = (($rr['network'] === 'stat') ? ' checked="checked" disabled ' : ''); - $dfrn_tpl = load_view_file('view/netfriend.tpl'); + $dfrn_tpl = file_get_contents('view/netfriend.tpl'); $knowyou = ''; $dfrn_text = ''; -- cgit v1.2.3