diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-15 06:12:52 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-15 06:12:52 +0000 |
commit | 063e67887b48ea9ba5570638dcfaf5439f0337da (patch) | |
tree | 6c8e958435d96505408f9dd63e76e038220f16bc /browse.php | |
parent | b469b70195a92f7087d3b9c15bbc10797e0411a7 (diff) | |
download | ampache-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.php | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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&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': |