aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
commitd5a13b1e4c0f35445aa539ff6b3779062907a9cb (patch)
tree1cc8fd26bb33981c2ab676a20aadec9d93b865ce /mod/register.php
parent124129e2a06a6ae82c283c8c10b7c3c7d0a0fdae (diff)
downloadvolse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.gz
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.bz2
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.zip
localisation path for all view templates
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/register.php b/mod/register.php
index 451cb1246..e65ba7c9b 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -169,7 +169,7 @@ function register_post(&$a) {
}
if( $a->config['register_policy'] == REGISTER_OPEN ) {
- $email_tpl = file_get_contents("view/register_open_eml.tpl");
+ $email_tpl = load_view_file("view/register_open_eml.tpl");
$email_tpl = replace_macros($email_tpl, array(
'$sitename' => $a->config['sitename'],
'$siteurl' => $a->get_baseurl(),
@@ -204,7 +204,7 @@ function register_post(&$a) {
dbesc($new_password)
);
- $email_tpl = file_get_contents("view/register_verify_eml.tpl");
+ $email_tpl = load_view_file("view/register_verify_eml.tpl");
$email_tpl = replace_macros($email_tpl, array(
'$sitename' => $a->config['sitename'],
'$siteurl' => $a->get_baseurl(),
@@ -241,7 +241,7 @@ function register_content(&$a) {
return;
}
- $o = file_get_contents("view/register.tpl");
+ $o = load_view_file("view/register.tpl");
$o = replace_macros($o, array(
'$registertext' =>((x($a->config,'register_text'))
? '<div class="error-message">' . $a->config['register_text'] . '</div>'