mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
pkg_search_results.php: Overhaul to match archweb
* Change search results table to use CSS from archweb with better alternating line contrast * Change table results header to match archweb * General clean-up of XHTML Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
99ffcfc984
commit
2416ffea66
2 changed files with 118 additions and 131 deletions
|
@ -582,8 +582,8 @@ function pkg_search_page($SID="", $dbh=NULL) {
|
|||
$templ_pages = array();
|
||||
|
||||
if ($current > 1) {
|
||||
$templ_pages[__('First')] = 0;
|
||||
$templ_pages[__('Previous')] = ($current - 2) * $per_page;
|
||||
$templ_pages['« ' . __('First')] = 0;
|
||||
$templ_pages['‹ ' . __('Previous')] = ($current - 2) * $per_page;
|
||||
}
|
||||
|
||||
if ($current - 5 > 1)
|
||||
|
@ -597,8 +597,8 @@ function pkg_search_page($SID="", $dbh=NULL) {
|
|||
$templ_pages["... "] = false;
|
||||
|
||||
if ($current < $pages) {
|
||||
$templ_pages[__('Next')] = $current * $per_page;
|
||||
$templ_pages[__('Last')] = ($pages - 1) * $per_page;
|
||||
$templ_pages[__('Next') . ' ›'] = $current * $per_page;
|
||||
$templ_pages[__('Last') . ' »'] = ($pages - 1) * $per_page;
|
||||
}
|
||||
|
||||
include('pkg_search_form.php');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue