diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-01 14:03:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-05-01 14:03:39 +0000 |
commit | 7b187d52ab53378cc78f132663e704d04392a8d8 (patch) | |
tree | 76c95dceaf5c9e5a573b1c3679547546215794fc /browse.php | |
parent | 55f3509433262d753938e066869ee9b41caf04eb (diff) | |
download | ampache-7b187d52ab53378cc78f132663e704d04392a8d8.tar.gz ampache-7b187d52ab53378cc78f132663e704d04392a8d8.tar.bz2 ampache-7b187d52ab53378cc78f132663e704d04392a8d8.zip |
initial, ugly, non-working "new" sidebar
Diffstat (limited to 'browse.php')
-rw-r--r-- | browse.php | 17 |
1 files changed, 9 insertions, 8 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 @@ -33,15 +33,12 @@ */ /* Base Require */ -require_once('lib/init.php'); - -/* Clean up incomming variables */ -$action = scrub_in($_REQUEST['action']); +require_once 'lib/init.php'; /* Display the headers and menus */ -show_template('header'); +require_once Config::get('prefix') . '/templates/header.inc.php'; -switch($action) { +switch($_REQUEST['action']) { case 'file': case 'album': show_alphabet_list('albums','albums.php',$match); @@ -105,7 +102,6 @@ switch($action) { } break; - default: case 'song_title': /* Create the Needed Object */ $song = new Song(); @@ -145,6 +141,11 @@ switch($action) { case 'catalog': break; + default: + + + + break; } // end Switch $action /* Show the Footer */ |