diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-19 09:27:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-19 09:27:06 +0000 |
commit | 7a0fcdd836d491c288b94383ebc54de2271bb237 (patch) | |
tree | d7a6757e7596d5242c10f1290ea14d19b7d6a623 /albums.php | |
parent | 7b0bd9d52ed2c198868bcaef17f4f2ecff1ac099 (diff) | |
download | ampache-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.php | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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&album=" . $album->id); + show_confirmation(_('Album Art Cleared'),_('Album Art information has been removed from the database'),"/albums.php?action=show&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>"; } |