summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-11 06:13:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-11 06:13:21 +0000
commit949d7bb12fe9de9ccf3d2958bccde4354ab04d9b (patch)
tree7228810d63f0823b1557b4b33ecd29f1bf194328 /albums.php
parent66de7ffff1c95e5bb415f1c3b56966f2d9916864 (diff)
downloadampache-949d7bb12fe9de9ccf3d2958bccde4354ab04d9b.tar.gz
ampache-949d7bb12fe9de9ccf3d2958bccde4354ab04d9b.tar.bz2
ampache-949d7bb12fe9de9ccf3d2958bccde4354ab04d9b.zip
* Fixed xmlrpc, hopefully
* Added min count filter to browse by artist * Fixed ratings to show yours, not average if rated * other misc fixes
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/albums.php b/albums.php
index d1ce647b..a2237875 100644
--- a/albums.php
+++ b/albums.php
@@ -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;