]> git.mxchange.org Git - friendica.git/blobdiff - mod/invite.php
now that we have admin interface, completely remove register approvals from notifications
[friendica.git] / mod / invite.php
index 1c511959574820d0a4646ec8ccea2a3538306559..b52aa19f6130a6469127226dd211cef45a1947d8 100644 (file)
@@ -29,7 +29,7 @@ function invite_post(&$a) {
                        continue;
                }
 
-               $res = mail($recip, sprintf(t('Please join my network on %s'), $a->config['sitename']), 
+               $res = mail($recip, sprintf( t('Please join my network on %s'), $a->config['sitename']), 
                        $message, 
                        "From: " . $a->user['email'] . "\n"
                        . 'Content-type: text/plain; charset=UTF-8' . "\n"
@@ -55,7 +55,7 @@ function invite_content(&$a) {
                return;
        }
 
-       $tpl = load_view_file('view/invite.tpl');
+       $tpl = get_markup_template('invite.tpl');
        
        $o = replace_macros($tpl, array(
                '$invite' => t('Send invitations'),