aboutsummaryrefslogtreecommitdiffstats
path: root/mod/group.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-11 04:37:13 -0700
committerFriendika <info@friendika.com>2011-05-11 04:37:13 -0700
commitb2e92e0af32f86212d15748c6d432d658905d4b6 (patch)
tree72bf3054b2c1827166f632d7a1970a266c575134 /mod/group.php
parenta00813497fccf295d72e35537599409b3f1eaa22 (diff)
downloadvolse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.gz
volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.bz2
volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.zip
deprecate load_view_file
Diffstat (limited to 'mod/group.php')
-rw-r--r--mod/group.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/group.php b/mod/group.php
index 2e2c8ab23..4873fc3a3 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 = file_get_contents('view/group_new.tpl');
+ $tpl = get_markup_template('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 = file_get_contents('view/group_drop.tpl');
+ $drop_tpl = get_markup_template('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 = file_get_contents('view/group_edit.tpl');
+ $tpl = get_markup_template('group_edit.tpl');
$o .= replace_macros($tpl, array(
'$gid' => $group['id'],
'$name' => $group['name'],