summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-21 08:03:20 +0000
commit975bbcebe9c68ac729dd051b008cf6c615d443c2 (patch)
tree46737108023c5d65797d39f748c53cff0c160e10 /albums.php
parent742f6bfa6a7b285db898da220e1799fbb9b79ded (diff)
downloadampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.gz
ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.tar.bz2
ampache-975bbcebe9c68ac729dd051b008cf6c615d443c2.zip
new interface which breaks all previous themes... and current themes, still under development
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/albums.php b/albums.php
index 57173ac7..8160bb65 100644
--- a/albums.php
+++ b/albums.php
@@ -25,6 +25,8 @@
require_once("modules/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']);
@@ -32,11 +34,6 @@ if(isset($_REQUEST['album'])) $album = scrub_in($_REQUEST['album']);
if(isset($_REQUEST['artist'])) $artist = scrub_in($_REQUEST['artist']);
$_REQUEST['artist_id'] = scrub_in($_REQUEST['artist_id']);
-show_template('header');
-show_menu_items('Browse');
-show_browse_menu('Albums');
-show_clear();
-
if ($_REQUEST['action'] === 'clear_art') {
if (!$user->has_access('25')) { access_denied(); }
$album = new Album($_REQUEST['album_id']);
@@ -191,6 +188,7 @@ else {
$sql = "SELECT id FROM album WHERE name LIKE 'a%'";
break;
default:
+ //FIXME: This is the old way of doing it, move this to browse
show_alphabet_list('albums','albums.php',$match);
show_alphabet_form($match,_("Show Albums starting with"),"albums.php?action=match");
echo "<br /><br />";
@@ -219,6 +217,5 @@ else {
} // else no album
-show_clear();
-show_page_footer ('Albums', '',$user->prefs['display_menu']);
+show_footer();
?>