From b2772f5a050351129a64b966b127e39cf76c80b5 Mon Sep 17 00:00:00 2001 From: Jozef Selesi Date: Wed, 19 Nov 2008 00:12:25 +0000 Subject: * Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names. * Added a bug workaround to routes.php --- core/controllers/album.php | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 core/controllers/album.php (limited to 'core/controllers/album.php') diff --git a/core/controllers/album.php b/core/controllers/album.php deleted file mode 100644 index 82652d88..00000000 --- a/core/controllers/album.php +++ /dev/null @@ -1,45 +0,0 @@ -input->get("page", "1"); - $theme = new Theme($theme_name, $template); - - $template->set_global('page_size', $page_size); - $template->set_global('item', $item); - $template->set_global('children', $item->children($page_size, ($page-1) * $page_size)); - $template->set_global('parents', $item->parents()); - $template->set_global('theme', $theme); - $template->set_global('user', Session::instance()->get('user', null)); - $template->content = new View("album.html"); - - print $template; - } -} -- cgit v1.2.3