Commit 9d501cf8 authored by Dries's avatar Dries

- Removed duplicate information. Fixes bug 3511.

parent 4cbca311
......@@ -566,7 +566,7 @@ function node_link($type, $node = 0, $main = 0) {
menu("admin/node", t("content"), "node_admin", node_help("admin/node"));
menu("admin/node/search", t("search"), "node_admin", node_help("admin/node/search"), 8);
menu("admin/node/help", t("help"), "node_help", NULL, 9);
menu("admin/node/edit", t("edit node"), "node_admin", NULL, 0, 1);
menu("admin/node/edit", t("edit post"), "node_admin", NULL, 0, 1);
menu("admin/node/settings", t("settings"), "node_admin", node_help("admin/node/settings"), 8);
}
}
......@@ -580,12 +580,6 @@ function node_admin_edit($node) {
$node = node_load(array("nid" => $node));
}
/*
** Edit node:
*/
$output .= "<h3>". t("Edit %module", array("%module" => module_invoke($node->type, "node", "name"))) ."</h3>";
$output .= node_form($node);
/*
......
......@@ -566,7 +566,7 @@ function node_link($type, $node = 0, $main = 0) {
menu("admin/node", t("content"), "node_admin", node_help("admin/node"));
menu("admin/node/search", t("search"), "node_admin", node_help("admin/node/search"), 8);
menu("admin/node/help", t("help"), "node_help", NULL, 9);
menu("admin/node/edit", t("edit node"), "node_admin", NULL, 0, 1);
menu("admin/node/edit", t("edit post"), "node_admin", NULL, 0, 1);
menu("admin/node/settings", t("settings"), "node_admin", node_help("admin/node/settings"), 8);
}
}
......@@ -580,12 +580,6 @@ function node_admin_edit($node) {
$node = node_load(array("nid" => $node));
}
/*
** Edit node:
*/
$output .= "<h3>". t("Edit %module", array("%module" => module_invoke($node->type, "node", "name"))) ."</h3>";
$output .= node_form($node);
/*
......
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