aboutsummaryrefslogtreecommitdiffstats
path: root/mod/group.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
commitd5a13b1e4c0f35445aa539ff6b3779062907a9cb (patch)
tree1cc8fd26bb33981c2ab676a20aadec9d93b865ce /mod/group.php
parent124129e2a06a6ae82c283c8c10b7c3c7d0a0fdae (diff)
downloadvolse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.gz
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.bz2
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.zip
localisation path for all view templates
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 201c61f2a..aa4751961 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -89,7 +89,7 @@ function group_content(&$a) {
}
if(($a->argc == 2) && ($a->argv[1] == 'new')) {
- $tpl = file_get_contents('view/group_new.tpl');
+ $tpl = load_view_file('view/group_new.tpl');
$o .= replace_macros($tpl,array());
return $o;
}
@@ -130,13 +130,13 @@ function group_content(&$a) {
$preselected[] = $p['id'];
}
- $drop_tpl = file_get_contents('view/group_drop.tpl');
+ $drop_tpl = load_view_file('view/group_drop.tpl');
$drop_txt = replace_macros($drop_tpl, array(
'$id' => $group['id'],
'$delete' => t('Delete')
));
- $tpl = file_get_contents('view/group_edit.tpl');
+ $tpl = load_view_file('view/group_edit.tpl');
$o .= replace_macros($tpl, array(
'$gid' => $group['id'],
'$name' => $group['name'],