pkg_search_results: rewrite of pagination

* Most of the PHP-code was moved to pkgfuncs.php to keep the template simple.

Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
PyroPeter 2011-02-16 18:48:09 +01:00 committed by Lukas Fleischer
parent 0de4ce61be
commit 1fdecbd5a4
3 changed files with 46 additions and 69 deletions

View file

@ -328,19 +328,19 @@ blockquote.code {
text-decoration: none;
}
#pages { margin: 5px; }
#pages .page_num {
.page_nav {
margin: 5px 0;
}
.page_nav .page_num {
border: 1px solid #ddd;
padding: 2px;
color: #0771a6;
}
#pages .page_num:hover {
.page_nav .page_num:hover {
border: 1px solid #8faecd;
color: #333;
}
#pages #page_sel {
.page_nav .page_sel {
border: 1px solid #8faecd;
padding: 2px;
color: #333;