]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
don't use load_view_file() except in email templates and install of htconfig - to...
[friendica.git] / mod / notifications.php
index c3f8449ed5340a6148d21f15c039ef841bfc3c26..0c695d0b4799245c4715d522e7de2b9bcb87a796 100644 (file)
@@ -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 = '';