summaryrefslogtreecommitdiffstats
path: root/browse.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-15 06:12:52 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-15 06:12:52 +0000
commit063e67887b48ea9ba5570638dcfaf5439f0337da (patch)
tree6c8e958435d96505408f9dd63e76e038220f16bc /browse.php
parentb469b70195a92f7087d3b9c15bbc10797e0411a7 (diff)
downloadampache-063e67887b48ea9ba5570638dcfaf5439f0337da.tar.gz
ampache-063e67887b48ea9ba5570638dcfaf5439f0337da.tar.bz2
ampache-063e67887b48ea9ba5570638dcfaf5439f0337da.zip
browse by title and page header hotness
Diffstat (limited to 'browse.php')
-rw-r--r--browse.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/browse.php b/browse.php
index 90b76d28..8eb2ea12 100644
--- a/browse.php
+++ b/browse.php
@@ -113,8 +113,14 @@ switch($action) {
/* Setup the View Object */
$view = new View();
$view->import_session_view();
-
- $song->show_match_list($_REQUEST['match']);
+
+ $match = scrub_in($_REQUEST['match']);
+
+ show_alphabet_list('song_title','browse.php',$match,'song_title');
+ /* Detect if it's Browse, and if so don't fill it in */
+ if ($match == 'Browse') { $match = ''; }
+ show_alphabet_form($match,_('Show Titles Starting With'),"browse.php?action=song_title&amp;match=$match");
+
$sql = $song->get_sql_from_match($_REQUEST['match']);
if ($_REQUEST['keep_view']) {
@@ -130,7 +136,7 @@ switch($action) {
if ($view->base_sql) {
$songs = $song->get_songs($view->sql);
- show_songs($songs,$view);
+ show_songs($songs);
}
break;
case 'catalog':