diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-22 18:00:19 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-22 18:00:19 -0700 |
commit | d5a13b1e4c0f35445aa539ff6b3779062907a9cb (patch) | |
tree | 1cc8fd26bb33981c2ab676a20aadec9d93b865ce /mod/dfrn_notify.php | |
parent | 124129e2a06a6ae82c283c8c10b7c3c7d0a0fdae (diff) | |
download | volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.gz volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.bz2 volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.zip |
localisation path for all view templates
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r-- | mod/dfrn_notify.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 61ea77c29..f2fadee8c 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -103,7 +103,7 @@ function dfrn_notify_post(&$a) { require_once('bbcode.php'); if($importer['notify-flags'] & NOTIFY_MAIL) { - $tpl = file_get_contents('view/mail_received_eml.tpl'); + $tpl = load_view_file('view/mail_received_eml.tpl'); $email_tpl = replace_macros($tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -241,7 +241,7 @@ function dfrn_notify_post(&$a) { if(($importer['notify-flags'] & NOTIFY_COMMENT) && (! $importer['self'])) { require_once('bbcode.php'); $from = stripslashes($datarray['author-name']); - $tpl = file_get_contents('view/cmnt_received_eml.tpl'); + $tpl = load_view_file('view/cmnt_received_eml.tpl'); $email_tpl = replace_macros($tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -307,7 +307,7 @@ function dfrn_notify_post(&$a) { continue; require_once('bbcode.php'); $from = stripslashes($datarray['author-name']); - $tpl = file_get_contents('view/cmnt_received_eml.tpl'); + $tpl = load_view_file('view/cmnt_received_eml.tpl'); $email_tpl = replace_macros($tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), |