aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-11 04:37:13 -0700
committerFriendika <info@friendika.com>2011-05-11 04:37:13 -0700
commitb2e92e0af32f86212d15748c6d432d658905d4b6 (patch)
tree72bf3054b2c1827166f632d7a1970a266c575134 /include/items.php
parenta00813497fccf295d72e35537599409b3f1eaa22 (diff)
downloadvolse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.gz
volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.bz2
volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.zip
deprecate load_view_file
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index c75e509cf..6f15b6814 100644
--- a/include/items.php
+++ b/include/items.php
@@ -113,7 +113,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
$items = $r;
- $feed_template = file_get_contents('view/atom_feed.tpl');
+ $feed_template = get_markup_template('atom_feed.tpl');
$atom = '';
@@ -1421,7 +1421,7 @@ function new_follower($importer,$contact,$datarray,$item) {
$a = get_app();
if(count($r)) {
if(($r[0]['notify-flags'] & NOTIFY_INTRO) && ($r[0]['page-flags'] == PAGE_NORMAL)) {
- $email_tpl = load_view_file('view/follow_notify_eml.tpl');
+ $email_tpl = get_intltext_template('follow_notify_eml.tpl');
$email = replace_macros($email_tpl, array(
'$requestor' => ((strlen($name)) ? $name : t('[Name Withheld]')),
'$url' => $url,