From 30bd3dc2c8e1dea9fb394115138f4f5ef9aedc33 Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 16 Jul 2011 16:57:53 -0700 Subject: make search index work clean up a lot of code renamed anime.css to table.css --- views/elements/animetable.html.php | 18 +++++------ views/search/anime.html.php | 4 +-- views/search/index.html.php | 64 +++++--------------------------------- 3 files changed, 18 insertions(+), 68 deletions(-) (limited to 'views') diff --git a/views/elements/animetable.html.php b/views/elements/animetable.html.php index a074c68..0d9f9fb 100644 --- a/views/elements/animetable.html.php +++ b/views/elements/animetable.html.php @@ -2,27 +2,27 @@ Title Date Type - + - title ?> - foreign_titles || $anime->alternative_titles): ?> + title ?> + foreign_titles || $a->alternative_titles): ?> - foreign_titles): ?> - foreign_titles[0] ?> + foreign_titles): ?> + foreign_titles[0] ?> - alternative_titles): ?> + alternative_titles): ?>       - alternative_titles[0] ?> + alternative_titles[0] ?> - aired ?> + aired ?> - view_type ?> + view_type ?> diff --git a/views/search/anime.html.php b/views/search/anime.html.php index 89cc9e9..94acb84 100644 --- a/views/search/anime.html.php +++ b/views/search/anime.html.php @@ -1,6 +1,6 @@ styles($this->html->style('anime')); $this->styles($this->html->style('pagination')); +$this->styles($this->html->style('table')); ?> _render('element', 'search') ?> @@ -10,6 +10,6 @@ $this->styles($this->html->style('pagination')); Paginator->paginate(array('separator' => '')) ?> -_render('element', 'animetable', compact('anime')) ?> +_render('element', 'animetable') ?> Paginator->paginate(array('separator' => '')) ?> diff --git a/views/search/index.html.php b/views/search/index.html.php index a269d01..a05f269 100644 --- a/views/search/index.html.php +++ b/views/search/index.html.php @@ -1,65 +1,15 @@ styles($this->html->style('pagination')); +$this->styles($this->html->style('table')); ?>

Anime

_render('element', 'animetable', compact('anime')) ?> html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> + 'action' => 'anime')); ?>

Manga

-
- - - - - 0): ?> - - - - - - - -
TitleDateType
- title ?> - - aired ?> - - view_type ?> -
-
- html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> -
- -

No entries found

- +html->link("More", array('controller' => 'search', + 'action' => 'anime')); ?> -

K Drama

-
- - - - - 0): ?> - - - - - - - -
TitleDateType
- title ?> - - aired ?> - - view_type ?> -
-
- html->link("More", array('controller' => 'search', - 'action' => 'anime')); ?> -
- -

No Entries found

- +

K Drama

+html->link("More", array('controller' => 'search', + 'action' => 'anime')); ?> -- cgit v1.2.3