diff --git a/lib/ui.lib.php b/lib/ui.lib.php index ececefbb..13065075 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -882,9 +882,13 @@ function show_artist_select($name='artist', $artist_id=0) { * It's amazing we have three of these funtions now, this one shows a select of genres and take s name * and a selected genre... Woot! */ -function show_genre_select($name='genre',$genre_id=0) { +function show_genre_select($name='genre',$genre_id=0,$size='') { - echo "\n"; $sql = "SELECT `id`, `name` FROM `genre` ORDER BY `name`"; $db_results = Dba::query($sql); diff --git a/random.php b/random.php index 1ede94e0..3fb38eca 100644 --- a/random.php +++ b/random.php @@ -27,7 +27,7 @@ show_header(); switch ($_REQUEST['action']) { default: case 'advanced': - + require_once Config::get('prefix') . '/templates/show_random.inc.php'; break; } // end switch diff --git a/templates/show_random_play.inc b/templates/show_random.inc.php similarity index 78% rename from templates/show_random_play.inc rename to templates/show_random.inc.php index dffadd22..684ced98 100644 --- a/templates/show_random_play.inc +++ b/templates/show_random.inc.php @@ -21,7 +21,7 @@ ?> -
+ @@ -42,7 +42,7 @@ @@ -60,7 +60,7 @@ @@ -78,11 +78,6 @@
- +
- +
- - - - -