diff options
author | Friendika <info@friendika.com> | 2011-05-10 23:35:31 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-10 23:35:31 -0700 |
commit | a00813497fccf295d72e35537599409b3f1eaa22 (patch) | |
tree | ff56cce12620a10117098af5103b8f3b2518b54f /mod/photos.php | |
parent | 5903ea38f34bef5d47d1ba76f26c802b3112de70 (diff) | |
download | volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.tar.gz volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.tar.bz2 volse-hubzilla-a00813497fccf295d72e35537599409b3f1eaa22.zip |
bring back load_view_file for dispy templates
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index b10399215..70bb5ff3d 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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']), |