From 081ce9f6ca07b834fd31d3d340990504dd68f821 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 14 Nov 2009 14:25:39 -0800 Subject: Normalize pagination so that pager.html.php can handle pagination for both albums and movies. Kohana's paginator is not quite sufficient for this, so create our own pagination logic in Theme_View with only the stuff we need. Clearly document the variables available in pager.html so that themers know how to use it. Fixes ticket #626. --- themes/wind/views/movie.html.php | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'themes/wind/views/movie.html.php') diff --git a/themes/wind/views/movie.html.php b/themes/wind/views/movie.html.php index d91ffbc5..a44b891a 100644 --- a/themes/wind/views/movie.html.php +++ b/themes/wind/views/movie.html.php @@ -2,33 +2,13 @@
photo_top() ?> - + pager() ?>
movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?> context_menu($item, "#g-movie-id-{$item->id}") ?>
- +

title) ?>

description)) ?>
-- cgit v1.2.3