]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
admin directory view
[friendica.git] / mod / lostpass.php
index 8d1cf7629db26155d824d997d0b6ee004bf65047..530619bc4f7fa484c29be5a5a6166fb57a5d9789 100644 (file)
@@ -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 = load_view_file('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 = load_view_file('view/lostpass.tpl');
+               $tpl = get_markup_template('lostpass.tpl');
 
                $o .= replace_macros($tpl,array(
                        '$title' => t('Forgot your Password?'),