diff options
author | Friendika <info@friendika.com> | 2011-05-23 20:30:37 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-23 20:30:37 -0700 |
commit | 040fc247a0caa51e0d4da4169980dc32e80ee804 (patch) | |
tree | edbf6122cc4b099222bf9ca6acf38f0aa7982aea /mod/regmod.php | |
parent | 19ccd658ebcf13a7cc208a3e460e44d152dda32f (diff) | |
download | volse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.tar.gz volse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.tar.bz2 volse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.zip |
bug #85
Diffstat (limited to 'mod/regmod.php')
-rw-r--r-- | mod/regmod.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/regmod.php b/mod/regmod.php index 2563a58d1..9873f1094 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -4,6 +4,8 @@ function regmod_content(&$a) { + global $lang; + $_SESSION['return_url'] = $a->cmd; if(! local_user()) { @@ -79,6 +81,8 @@ function regmod_content(&$a) { proc_run('php',"include/directory.php","$url"); } + push_lang($register[0]['language']); + $email_tpl = get_intltext_template("register_open_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], @@ -95,6 +99,8 @@ function regmod_content(&$a) { . 'Content-type: text/plain; charset=UTF-8' . "\n" . 'Content-transfer-encoding: 8bit' ); + pop_lang(); + if($res) { info( t('Account approved.') . EOL ); return; |