diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-31 04:39:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-31 04:39:31 +0000 |
commit | a93cc6b8ebb2d1bcd67aa91f670905f298d6d98e (patch) | |
tree | dd3af15133416f80b44bdbe50c0e88d9d73b7d9a /templates/list_header.inc.php | |
parent | 652474071e711585fec6b8495b3f22a927c9672e (diff) | |
download | ampache-a93cc6b8ebb2d1bcd67aa91f670905f298d6d98e.tar.gz ampache-a93cc6b8ebb2d1bcd67aa91f670905f298d6d98e.tar.bz2 ampache-a93cc6b8ebb2d1bcd67aa91f670905f298d6d98e.zip |
added paging to artists, albums and fixed a missed link
Diffstat (limited to 'templates/list_header.inc.php')
-rw-r--r-- | templates/list_header.inc.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/templates/list_header.inc.php b/templates/list_header.inc.php index fb86a932..62725752 100644 --- a/templates/list_header.inc.php +++ b/templates/list_header.inc.php @@ -115,9 +115,7 @@ if ($pages > 1) { else { // Hack Alert $page++; - ?> - <a class="list-header" href="<?php echo $script; ?>?<?php echo $action; ?>&sort_type=<?php echo $GLOBALS['view']->sort_type; ?>&offset=<?php echo $offset; ?>&keep_view=true"><?php echo $page; ?></a> - <?php + echo Ajax::text('?action=page&start=' . $offset,$page,'browse_page_' . $page,'','list-header'); } } // end foreach down @@ -134,18 +132,6 @@ if ($pages > 1) { echo Ajax::text('?action=page&start=' . $offset,$page,'browse_page_' . $page,'','list-header'); } // end else } // end foreach up - /* - $counter = 1; - $offset_pages = 0; - while ($counter <= $pages) { - if ($start == $offset_pages) { ?> - <?php } else { ?> - <?php - } // end if ($start == $offset_pages) and else - $offset_pages += $limit; - $counter++; - } // end while ($counter <= $pages) - */ ?> </td> <td valign="top"> |