From d5a13b1e4c0f35445aa539ff6b3779062907a9cb Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 22 Sep 2010 18:00:19 -0700 Subject: localisation path for all view templates --- mod/invite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/invite.php') diff --git a/mod/invite.php b/mod/invite.php index efe0a59b1..3f9efc574 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -42,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'), -- cgit v1.2.3