From 9942b6a2c565409377d98fe21432d30ddca73501 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 2 Oct 2003 18:41:12 +0000 Subject: - There were 2 "content syndication" menu's: grouped them together. --- modules/cloud.module | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'modules/cloud.module') diff --git a/modules/cloud.module b/modules/cloud.module index a8b1f3705..b5d0f45be 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -60,10 +60,9 @@ function cloud_link($type) { if ($type == "system") { if (user_access("administer site cloud")) { - menu("admin/syndication", t("content syndication"), NULL, NULL, 5); - menu("admin/syndication/cloud", t("site cloud"), "cloud_admin", cloud_help("admin/syndication/cloud")); - menu("admin/syndication/cloud/add", t("add new site"), "cloud_admin", cloud_help("admin/syndication/cloud/add")); - menu("admin/syndication/cloud/help", t("help"), "cloud_help", NULL, 9); + menu("admin/node/syndication/cloud", t("site cloud"), "cloud_admin", cloud_help("admin/syndication/cloud")); + menu("admin/node/syndication/cloud/add", t("add new site"), "cloud_admin", cloud_help("admin/syndication/cloud/add")); + menu("admin/node/syndication/cloud/help", t("help"), "cloud_help", NULL, 9); } } @@ -224,7 +223,7 @@ function cloud_admin() { $edit = $_POST["edit"]; if (empty($op)) { - $op = arg(3); + $op = arg(4); } if (user_access("administer site cloud")) { @@ -233,10 +232,10 @@ function cloud_admin() { $output = cloud_form(); break; case "edit": - $output = cloud_form(cloud_get_site(arg(4))); + $output = cloud_form(cloud_get_site(arg(5))); break; case "update": - $output = status(cloud_update(cloud_get_site(arg(4)))); + $output = status(cloud_update(cloud_get_site(arg(5)))); $output .= cloud_display(); break; case "Delete": -- cgit v1.2.3