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
|
@ -1247,7 +1247,7 @@ function photos_content(&$a) {
|
|||
$paginate = paginate($a);
|
||||
}
|
||||
|
||||
$photo_tpl = file_get_contents('view/photo_view.tpl');
|
||||
$photo_tpl = load_view_file('view/photo_view.tpl');
|
||||
$o .= replace_macros($photo_tpl, array(
|
||||
'$id' => $ph[0]['id'],
|
||||
'$album' => array($album_link,$ph[0]['album']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue