From 1945cd694636def02a2b2d4fb36720b3f0aeeb10 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Sun, 6 May 2012 23:00:36 +0200 Subject: ported the oc_template class --- apps/gallery/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gallery/index.php') diff --git a/apps/gallery/index.php b/apps/gallery/index.php index cf8bea14216..e47fb3db5d6 100755 --- a/apps/gallery/index.php +++ b/apps/gallery/index.php @@ -38,7 +38,7 @@ if (!isset($_GET['view'])) { while ($row = $result->fetchRow()) $r[] = $row; - $tmpl = new OC_Template( 'gallery', 'index', 'user' ); + $tmpl = new OCP\Template( 'gallery', 'index', 'user' ); $tmpl->assign('r', $r); $tmpl->printPage(); } else { @@ -48,7 +48,7 @@ if (!isset($_GET['view'])) { while ($p = $result->fetchRow()) $photos[] = $p['file_path']; - $tmpl = new OC_Template( 'gallery', 'view_album', 'user' ); + $tmpl = new OCP\Template( 'gallery', 'view_album', 'user' ); $tmpl->assign('photos', $photos); $tmpl->assign('albumName', $_GET['view']); $tmpl->printPage(); -- cgit v1.2.3