]> git.mxchange.org Git - friendica.git/blobdiff - mod/invite.php
workflow for federated/non-dfrn followers
[friendica.git] / mod / invite.php
index c63eb568bda50eaaa34d99fc62182fddcd4b4f39..3f9efc57427a5a881fee5fe5fa22ceed718e6b57 100644 (file)
@@ -32,9 +32,7 @@ function invite_post(&$a) {
 
        }
        notice( $total . t(' messages sent.') . EOL);
-
-
-
+       return;
 }
 
 
@@ -44,7 +42,7 @@ function invite_content(&$a) {
                return;
        }
 
-       $tpl = file_get_contents('view/invite.tpl');
+       $tpl = load_view_file('view/invite.tpl');
        
        $o = replace_macros($tpl, array(
                '$invite' => t('Send invitations'),
@@ -58,6 +56,4 @@ function invite_content(&$a) {
        ));
 
        return $o;
-
-
 }
\ No newline at end of file