From 657d270864c6f8f77d083fe4aa6ba636ecbbd372 Mon Sep 17 00:00:00 2001 From: raylu Date: Tue, 12 Jul 2011 00:50:00 -0700 Subject: rework a lot of search /search will eventually search all /search/anime searches only anime --- views/search/anime.html.php | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) (limited to 'views/search/anime.html.php') diff --git a/views/search/anime.html.php b/views/search/anime.html.php index 485e389..4d0332f 100644 --- a/views/search/anime.html.php +++ b/views/search/anime.html.php @@ -1,30 +1,10 @@ styles($this->html->style('anime')); $this->styles($this->html->style('pagination')); ?> -
-
-

Search options

-
-form->create(null, array('method' => 'get')); ?> - form->field('search', array('type' => 'textbox', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?> - form->label('type', 'For:'); ?> - form->select('type', array('Anime' => 'Anime', - 'Manga' => 'Manga', - 'Kdrama' => 'Kdrama')); ?> - form->submit('Search', array('style' => 'width: 100px')); ?> -form->end(); ?> -
-
-

Search Results

-
- - - - - -
imgNameEpisodesTypeScore
"image"title ?> episode_count ?>view_type ?>mal_score ?>
-Paginator->paginate(array('separator' => '', 'action' => 'index/anime')); ?> -
-
-
+_render('element', 'search') ?> + +

Anime Search Results

+(search instead for ...) +_render('element', 'animetable', compact('anime')) ?> -- cgit v1.2.3