diff options
author | Friendika <info@friendika.com> | 2011-05-10 16:12:50 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-10 16:12:50 -0700 |
commit | c052d688284fda76c612325b237d8352f2abb5d4 (patch) | |
tree | 7867f7a67b96f715644c2f4b9d1bc84a7371ebfc /mod/group.php | |
parent | 3ae36584110af2acd4a0f4805dd078da30732a1d (diff) | |
download | volse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.tar.gz volse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.tar.bz2 volse-hubzilla-c052d688284fda76c612325b237d8352f2abb5d4.zip |
don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version.
Diffstat (limited to 'mod/group.php')
-rw-r--r-- | mod/group.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/group.php b/mod/group.php index 75fd0f995..2e2c8ab23 100644 --- a/mod/group.php +++ b/mod/group.php @@ -69,7 +69,7 @@ function group_content(&$a) { } if(($a->argc == 2) && ($a->argv[1] === 'new')) { - $tpl = load_view_file('view/group_new.tpl'); + $tpl = file_get_contents('view/group_new.tpl'); $o .= replace_macros($tpl,array( '$desc' => t('Create a group of contacts/friends.'), '$name' => t('Group Name: '), @@ -140,7 +140,7 @@ function group_content(&$a) { } - $drop_tpl = load_view_file('view/group_drop.tpl'); + $drop_tpl = file_get_contents('view/group_drop.tpl'); $drop_txt = replace_macros($drop_tpl, array( '$id' => $group['id'], '$delete' => t('Delete') @@ -148,7 +148,7 @@ function group_content(&$a) { $celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false); - $tpl = load_view_file('view/group_edit.tpl'); + $tpl = file_get_contents('view/group_edit.tpl'); $o .= replace_macros($tpl, array( '$gid' => $group['id'], '$name' => $group['name'], |