summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-19 09:27:06 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-19 09:27:06 +0000
commit7a0fcdd836d491c288b94383ebc54de2271bb237 (patch)
treed7a6757e7596d5242c10f1290ea14d19b7d6a623 /albums.php
parent7b0bd9d52ed2c198868bcaef17f4f2ecff1ac099 (diff)
downloadampache-7a0fcdd836d491c288b94383ebc54de2271bb237.tar.gz
ampache-7a0fcdd836d491c288b94383ebc54de2271bb237.tar.bz2
ampache-7a0fcdd836d491c288b94383ebc54de2271bb237.zip
fixed a few more catalog snafus
Diffstat (limited to 'albums.php')
-rw-r--r--albums.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/albums.php b/albums.php
index 5c1a6b4a..8bc80781 100644
--- a/albums.php
+++ b/albums.php
@@ -20,13 +20,7 @@
*/
-/*
-
- Do most of the dirty work of displaying the mp3 catalog
-
-*/
-
-require_once("modules/init.php");
+require_once('modules/init.php');
show_template('header');
@@ -41,7 +35,7 @@ if ($_REQUEST['action'] === 'clear_art') {
if (!$user->has_access('25')) { access_denied(); }
$album = new Album($_REQUEST['album_id']);
$album->clear_art();
- show_confirmation(_("Album Art Cleared"),_("Album Art information has been removed from the database"),"/albums.php?action=show&amp;album=" . $album->id);
+ show_confirmation(_('Album Art Cleared'),_('Album Art information has been removed from the database'),"/albums.php?action=show&amp;album=" . $album->id);
} // clear_art
// if we have album
@@ -69,8 +63,6 @@ elseif ($_REQUEST['action'] === 'find_art') {
// She's such a little trouper!
// *NOTE* I knocked it up a notch with some more horrible code :S - Vollmer
- /* Echo notice if no amazon token is found, but it's enabled */
-
if (!conf('amazon_developer_key')) {
echo "<br /><div class=\"fatalerror\">" . _("Error") . ": " . _("No Amazon Developer Key set, amazon album art searching will not work") . "</div>";
}