bring back load_view_file for dispy templates
This commit is contained in:
parent
5903ea38f3
commit
a00813497f
7 changed files with 12 additions and 12 deletions
|
|
@ -104,7 +104,7 @@ function profile_content(&$a, $update = 0) {
|
|||
if(x($_GET,'tab'))
|
||||
$tab = notags(trim($_GET['tab']));
|
||||
|
||||
$tpl = file_get_contents('view/profile_tabs.tpl');
|
||||
$tpl = load_view_file('view/profile_tabs.tpl');
|
||||
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$url' => $a->get_baseurl() . '/' . $a->cmd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue