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/lostpass.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/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 fb219072e..20d35133a 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -25,7 +25,7 @@ function lostpass_post(&$a) { if($r) notice("Password reset request issued. Check your email."); - $email_tpl = file_get_contents("view/lostpass_eml.tpl"); + $email_tpl = load_view_file("view/lostpass_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -69,7 +69,7 @@ function lostpass_content(&$a) { intval($uid) ); if($r) { - $tpl = file_get_contents('view/pwdreset.tpl'); + $tpl = load_view_file('view/pwdreset.tpl'); $o .= replace_macros($tpl,array( '$newpass' => $new_password, '$baseurl' => $a->get_baseurl() @@ -78,7 +78,7 @@ function lostpass_content(&$a) { - $email_tpl = file_get_contents("view/passchanged_eml.tpl"); + $email_tpl = load_view_file("view/passchanged_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -94,7 +94,7 @@ function lostpass_content(&$a) { } else { - $tpl = file_get_contents('view/lostpass.tpl'); + $tpl = load_view_file('view/lostpass.tpl'); $o .= $tpl; |