summaryrefslogtreecommitdiffstats
path: root/admin/catalog.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-05-06 23:21:29 +0000
committermomo-i <momo-i@ampache>2009-05-06 23:21:29 +0000
commitd78aa27d48096fded15b0a04d206ccae18238ebb (patch)
tree65a130c6ff4b6de8f8e3ae79e496ce5688ee8f96 /admin/catalog.php
parentbd3b70008b4738880789a14b7e16d2410b04d3e8 (diff)
downloadampache-d78aa27d48096fded15b0a04d206ccae18238ebb.tar.gz
ampache-d78aa27d48096fded15b0a04d206ccae18238ebb.tar.bz2
ampache-d78aa27d48096fded15b0a04d206ccae18238ebb.zip
fix nexturl typo and more translate
Diffstat (limited to 'admin/catalog.php')
-rw-r--r--admin/catalog.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index e7900950..b3512122 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -113,7 +113,7 @@ switch ($_REQUEST['action']) {
/* Delete the sucker, we don't need to check perms as thats done above */
Catalog::delete($_GET['catalog_id']);
$next_url = Config::get('web_path') . '/admin/index.php';
- show_confirmation(_('Catalog Deleted'),_('The Catalog and all associated records have been deleted'),$nexturl);
+ show_confirmation(_('Catalog Deleted'),_('The Catalog and all associated records have been deleted'),$next_url);
break;
case 'show_delete_catalog':
$catalog_id = scrub_in($_GET['catalog_id']);
@@ -133,7 +133,7 @@ switch ($_REQUEST['action']) {
else {
$body = _('No Songs Removed');
}
- $url = conf('web_path') . '/admin/index.php';
+ $url = Config::get('web_path') . '/admin/index.php';
$title = ngettext('Disabled Song Processed','Disabled Songs Processed',count($song));
show_confirmation($title,$body,$url);
break;
@@ -236,7 +236,7 @@ switch ($_REQUEST['action']) {
Error::display('catalog_add');
show_box_bottom();
- show_confirmation('','','/admin/index.php');
+ show_confirmation('','', Config::get('web_path').'/admin/index.php');
}
else {
@@ -259,8 +259,8 @@ switch ($_REQUEST['action']) {
require Config::get('prefix') . '/templates/show_add_catalog.inc.php';
break;
case 'clear_now_playing':
- if (Config::get('demo_mode')) { access_denied(); break; }
- Stream::clear_now_playing();
+ if (Config::get('demo_mode')) { access_denied(); break; }
+ Stream::clear_now_playing();
show_confirmation(_('Now Playing Cleared'),_('All now playing data has been cleared'),Config::get('web_path') . '/admin/index.php');
break;
case 'show_disabled':