diff options
Diffstat (limited to 'albums.php')
-rw-r--r-- | albums.php | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2006 Ampache.org + Copyright (c) 2001 - 2007 Ampache.org All Rights Reserved. This program is free software; you can redistribute it and/or @@ -19,12 +19,10 @@ */ - -require_once('lib/init.php'); +require_once 'lib/init.php'; show_template('header'); - // We'll set any input parameters here if(!isset($_REQUEST['match'])) { $_REQUEST['match'] = "Browse"; } if(isset($_REQUEST['match'])) $match = scrub_in($_REQUEST['match']); @@ -38,7 +36,6 @@ if ($min_album_size == '') { $action = scrub_in($_REQUEST['action']); - /* Switch on Action */ switch ($action) { case 'clear_art': @@ -278,7 +275,7 @@ switch ($action) { if ($view->base_sql) { $albums = get_albums($view->sql); - show_albums($albums,$view); + require conf('prefix') . '/templates/show_albums.inc.php'; } break; |