summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-29 06:53:41 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-29 06:53:41 +0000
commita8b94b78da50c9dc4fd272a88de0bb11ecaa15ff (patch)
tree39eb6f7b5ce6f63ae413a4881d1955d868910611 /admin
parent70977abf0dc296fc2b87a43ec8d56014bab4c81c (diff)
downloadampache-a8b94b78da50c9dc4fd272a88de0bb11ecaa15ff.tar.gz
ampache-a8b94b78da50c9dc4fd272a88de0bb11ecaa15ff.tar.bz2
ampache-a8b94b78da50c9dc4fd272a88de0bb11ecaa15ff.zip
continued to work on xml-rpc in conjuction with new acls xml-rpc is broken in this svn release.. sorry will fix asap
Diffstat (limited to 'admin')
-rw-r--r--admin/catalog.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index 87b5d383..cc57bd3f 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -188,7 +188,8 @@ switch ($_REQUEST['action']) {
if (conf('demo_mode')) { break; }
/* Update the catalog */
- Catalog::update_settings($_REQUEST);
+ $catalog = new Catalog();
+ $catalog->update_settings($_REQUEST);
$url = conf('web_path') . '/admin/index.php';
$title = _('Catalog Updated');
@@ -210,7 +211,7 @@ switch ($_REQUEST['action']) {
/* Create the Catalog */
$catalog->new_catalog($_REQUEST['path'],
$_REQUEST['name'],
- $_REQUEST['id3set_command'],
+ $_REQUEST['key'],
$_REQUEST['rename_pattern'],
$_REQUEST['sort_pattern'],
$_REQUEST['type'],
@@ -227,7 +228,7 @@ switch ($_REQUEST['action']) {
}
else {
$error = "Please complete the form.";
- include(conf('prefix') . '/templates/add_catalog.inc');
+ include(conf('prefix') . '/templates/show_add_catalog.inc.php');
}
break;
case 'clear_stats':
@@ -275,7 +276,7 @@ switch ($_REQUEST['action']) {
show_confirmation(_('Delete Catalog'),_('Do you really want to delete this catalog?'),$nexturl,1);
break;
case 'show_customize_catalog':
- include(conf('prefix') . '/templates/customize_catalog.inc');
+ include(conf('prefix') . '/templates/show_edit_catalog.inc.php');
break;
case 'gather_album_art':
flush();