From 66ff3d58dfe8d601acbc0e70c095e6f59a3512ad Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 17 Jan 2007 05:35:42 +0000 Subject: few more slight tweaks to the catalog to prevent incorrect entry by the user --- admin/catalog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin') 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&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'); -- cgit