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/register.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/register.php')
-rw-r--r-- | mod/register.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/register.php b/mod/register.php index da629a214..c9521f9be 100644 --- a/mod/register.php +++ b/mod/register.php @@ -319,7 +319,7 @@ function register_post(&$a) { if( $a->config['register_policy'] == REGISTER_OPEN ) { - $email_tpl = load_view_file("view/register_open_eml.tpl"); + $email_tpl = get_intltext_template("register_open_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -357,7 +357,7 @@ function register_post(&$a) { dbesc($new_password) ); - $email_tpl = load_view_file("view/register_verify_eml.tpl"); + $email_tpl = get_intltext_template("register_verify_eml.tpl"); $email_tpl = replace_macros($email_tpl, array( '$sitename' => $a->config['sitename'], '$siteurl' => $a->get_baseurl(), @@ -435,7 +435,7 @@ function register_content(&$a) { $profile_publish_reg = '<input type="hidden" name="profile_publish_reg" value="1" />'; } else { - $publish_tpl = file_get_contents("view/profile_publish.tpl"); + $publish_tpl = get_markup_template("profile_publish.tpl"); $profile_publish = replace_macros($publish_tpl,array( '$instance' => 'reg', '$pubdesc' => t('Include your profile in member directory?'), @@ -450,7 +450,7 @@ function register_content(&$a) { $license = t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.'); - $o = file_get_contents("view/register.tpl"); + $o = get_markup_template("register.tpl"); $o = replace_macros($o, array( '$oidhtml' => $oidhtml, '$realpeople' => $realpeople, |