Commit 9942b6a2 authored by Dries's avatar Dries
Browse files

- There were 2 "content syndication" menu's: grouped them together.
parent a4c84bbe
......@@ -109,7 +109,7 @@ function import_link($type) {
if (user_access("administer news feeds")) {
menu("admin/node/syndication", t("syndication"), NULL, NULL, 5);
menu("admin/node/syndication/news", t("feeds"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news", t("RSS/RDF"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news/add/feed", t("new feed"), "import_admin", import_help("admin/node/syndication/news/add/feed"), 2);
menu("admin/node/syndication/news/add/bundle", t("new bundle"), "import_admin", import_help("admin/node/syndication/news/add/bundle"), 3);
menu("admin/node/syndication/news/tag", t("tag items"), "import_admin", import_help("admin/node/syndication/news/tag"), 4);
......
......@@ -109,7 +109,7 @@ function import_link($type) {
if (user_access("administer news feeds")) {
menu("admin/node/syndication", t("syndication"), NULL, NULL, 5);
menu("admin/node/syndication/news", t("feeds"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news", t("RSS/RDF"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news/add/feed", t("new feed"), "import_admin", import_help("admin/node/syndication/news/add/feed"), 2);
menu("admin/node/syndication/news/add/bundle", t("new bundle"), "import_admin", import_help("admin/node/syndication/news/add/bundle"), 3);
menu("admin/node/syndication/news/tag", t("tag items"), "import_admin", import_help("admin/node/syndication/news/tag"), 4);
......
......@@ -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":
......
......@@ -109,7 +109,7 @@ function import_link($type) {
if (user_access("administer news feeds")) {
menu("admin/node/syndication", t("syndication"), NULL, NULL, 5);
menu("admin/node/syndication/news", t("feeds"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news", t("RSS/RDF"), "import_admin", import_help("admin/node/syndication/news") );
menu("admin/node/syndication/news/add/feed", t("new feed"), "import_admin", import_help("admin/node/syndication/news/add/feed"), 2);
menu("admin/node/syndication/news/add/bundle", t("new bundle"), "import_admin", import_help("admin/node/syndication/news/add/bundle"), 3);
menu("admin/node/syndication/news/tag", t("tag items"), "import_admin", import_help("admin/node/syndication/news/tag"), 4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment