summaryrefslogtreecommitdiffstats
path: root/admin/catalog.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 04:15:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 04:15:11 +0000
commitedcf34c986d14fb6583eb29958bf88140cd97b5b (patch)
treedde8c48e1ca303426a87459057913fc030b66869 /admin/catalog.php
parent6b7284fab7f49f54f4d72db6c690bbea7f7b7af7 (diff)
downloadampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.tar.gz
ampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.tar.bz2
ampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.zip
fixed up xmlrpc hopefully (needs testing) and fixed duplicates, cleaned up burgundy a little more
Diffstat (limited to 'admin/catalog.php')
-rw-r--r--admin/catalog.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index cc57bd3f..19ef1d3b 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -147,18 +147,15 @@ switch ($_REQUEST['action']) {
$song = $_REQUEST['song'];
- echo "<div class=\"confirmation-box\">";
if (count($song)) {
$catalog->remove_songs($song);
- echo "<p align=\"center\">Songs Removed... </p>";
+ $body = _('Songs Removed');
}
else {
- echo "<p align=\"center\">No Songs Removed... </p>";
+ $body = _('No Songs Removed');
}
- echo "</div><br />\n";
$url = conf('web_path') . '/admin/index.php';
$title = _('Disabled Songs Processed');
- $body = '';
show_confirmation($title,$body,$url);
break;
case 'clean_all_catalogs':
@@ -265,7 +262,7 @@ switch ($_REQUEST['action']) {
require (conf('prefix') . '/templates/show_disabled_songs.inc');
}
else {
- echo "<div class=\"error\" align=\"center\">No Disabled songs found</div>";
+ echo "<div class=\"error\" align=\"center\">" . _('No Disabled songs found') . "</div>";
}
break;
case 'show_delete_catalog':