summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-17 05:35:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-17 05:35:42 +0000
commit66ff3d58dfe8d601acbc0e70c095e6f59a3512ad (patch)
treec9362c1e429304ddffb2e0d699bd671da37ecdbb /admin
parent407b618fc7c3a4be60e7ee14dca4d01edf205d44 (diff)
downloadampache-66ff3d58dfe8d601acbc0e70c095e6f59a3512ad.tar.gz
ampache-66ff3d58dfe8d601acbc0e70c095e6f59a3512ad.tar.bz2
ampache-66ff3d58dfe8d601acbc0e70c095e6f59a3512ad.zip
few more slight tweaks to the catalog to prevent incorrect entry by the user
Diffstat (limited to 'admin')
-rw-r--r--admin/catalog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index d103ecae..9c3c9b1b 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -244,9 +244,9 @@ switch ($_REQUEST['action']) {
case 'show_delete_catalog':
/* Stop the demo hippies */
if (conf('demo_mode')) { break; }
-
+ $catalog = new Catalog($_REQUEST['catalog_id']);
$nexturl = conf('web_path') . '/admin/catalog.php?action=delete_catalog&amp;catalog_id=' . scrub_out($_REQUEST['catalog_id']);
- show_confirmation(_('Delete Catalog'),_('Do you really want to delete this catalog?'),$nexturl,1);
+ show_confirmation(_('Delete Catalog'),_('Do you really want to delete this catalog?') . " -- $catalog->name ($catalog->path)",$nexturl,1);
break;
case 'show_customize_catalog':
include(conf('prefix') . '/templates/show_edit_catalog.inc.php');