summaryrefslogtreecommitdiffstats
path: root/albums.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-25 23:55:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-25 23:55:35 +0000
commit9803be045ba3895cc981d5e7e22fd80f80d6544d (patch)
tree089d4d6e6e8abaa91881bb8d0f19ee6cbde7348a /albums.php
parent993a0a7a65f60f0d91b707b342a9367bf8afbbd9 (diff)
downloadampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.tar.gz
ampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.tar.bz2
ampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.zip
removed some more references to the genre stuff, added ability to customized what is considered a prefix on albums and artists (requires update of config file) added next and stop to the shoutcast localplay controller
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 26dead6f..be973765 100644
--- a/albums.php
+++ b/albums.php
@@ -160,13 +160,10 @@ switch ($_REQUEST['action']) {
exit;
}
- show_box_top(_('Starting Update from Tags'));
-
- Catalog::update_single_item('album',$_REQUEST['album_id']);
-
- echo "<br /><strong>" . _('Update From Tags Complete') . "</strong> &nbsp;&nbsp;";
- echo "<a href=\"" . Config::get('web_path') . "/albums.php?action=show&amp;album=" . scrub_out($_REQUEST['album_id']) . "\">[" . _('Return') . "]</a>";
- show_box_bottom();
+ $type = 'album';
+ $object_id = intval($_REQUEST['album_id']);
+ $target_url = Config::get('web_path') . '/albums.php?action=show&amp;album=' . $object_id;
+ require_once Config::get('prefix') . '/templates/show_update_items.inc.php';
break;
// Browse by Album
default: