diff options
author | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
commit | b2e92e0af32f86212d15748c6d432d658905d4b6 (patch) | |
tree | 72bf3054b2c1827166f632d7a1970a266c575134 /mod/dfrn_notify.php | |
parent | a00813497fccf295d72e35537599409b3f1eaa22 (diff) | |
download | volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.gz volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.bz2 volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.zip |
deprecate load_view_file
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index eb9d71fe3..9ea980338 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -210,7 +210,7 @@ function dfrn_notify_post(&$a) { = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r\\n", "\\r","\\n\\n" ,"\\n"), "<br />\n",$msg['body'])))); // load the template for private message notifications - $tpl = load_view_file('view/mail_received_html_body_eml.tpl'); + $tpl = get_intltext_template('mail_received_html_body_eml.tpl'); $email_html_body_tpl = replace_macros($tpl,array( '$siteName' => $a->config['sitename'], // name of this site '$siteurl' => $a->get_baseurl(), // descriptive url of this site @@ -225,7 +225,7 @@ function dfrn_notify_post(&$a) { )); // load the template for private message notifications - $tpl = load_view_file('view/mail_received_text_body_eml.tpl'); + $tpl = get_intltext_template('mail_received_text_body_eml.tpl'); $email_text_body_tpl = replace_macros($tpl,array( '$siteName' => $a->config['sitename'], // name of this site '$siteurl' => $a->get_baseurl(), // descriptive url of this site @@ -389,7 +389,7 @@ function dfrn_notify_post(&$a) { if((! $is_like) && ($importer['notify-flags'] & NOTIFY_COMMENT) && (! $importer['self'])) { require_once('bbcode.php'); $from = stripslashes($datarray['author-name']); - $tpl = load_view_file('view/cmnt_received_eml.tpl'); + $tpl = get_intltext_template('cmnt_received_eml.tpl'); $email_tpl = replace_macros($tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -479,7 +479,7 @@ function dfrn_notify_post(&$a) { continue; require_once('bbcode.php'); $from = stripslashes($datarray['author-name']); - $tpl = load_view_file('view/cmnt_received_eml.tpl'); + $tpl = get_intltext_template('cmnt_received_eml.tpl'); $email_tpl = replace_macros($tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), |