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/lostpass.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/lostpass.php')
-rw-r--r-- | mod/lostpass.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/lostpass.php b/mod/lostpass.php index 9a1cf4a9d..530619bc4 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -26,7 +26,7 @@ function lostpass_post(&$a) { if($r) notice( t('Password reset request issued. Check your email.') . EOL); - $email_tpl = load_view_file("view/lostpass_eml.tpl"); + $email_tpl = get_intltext_template("lostpass_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -73,7 +73,7 @@ function lostpass_content(&$a) { intval($uid) ); if($r) { - $tpl = file_get_contents('view/pwdreset.tpl'); + $tpl = get_markup_template('pwdreset.tpl'); $o .= replace_macros($tpl,array( '$lbl1' => t('Password Reset'), '$lbl2' => t('Your password has been reset as requested.'), @@ -89,7 +89,7 @@ function lostpass_content(&$a) { - $email_tpl = load_view_file("view/passchanged_eml.tpl"); + $email_tpl = get_intltext_template("passchanged_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -108,7 +108,7 @@ function lostpass_content(&$a) { } else { - $tpl = file_get_contents('view/lostpass.tpl'); + $tpl = get_markup_template('lostpass.tpl'); $o .= replace_macros($tpl,array( '$title' => t('Forgot your Password?'), |