diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-25 21:22:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-25 21:22:00 +0000 |
commit | b5573842b88e89f4c66b5cfd006678c89be7fa0c (patch) | |
tree | bee2a9492505b08420b6b6293fbcf4b8b15de38c /modules | |
parent | 7b8a409675a82614848df40c2737776c03190a0d (diff) | |
download | brdo-b5573842b88e89f4c66b5cfd006678c89be7fa0c.tar.gz brdo-b5573842b88e89f4c66b5cfd006678c89be7fa0c.tar.bz2 |
- Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node.module | 6 | ||||
-rw-r--r-- | modules/node/node.module | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/node.module b/modules/node.module index 4c2ba9589..36c6fb16e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -698,9 +698,9 @@ function node_menu($may_cache) { } } } - else if (arg(0) == 'admin' && arg(1) == 'node' && arg(2) == 'configure' && arg(3) == 'types' && is_string(arg(4))) { - $items[] = array('path' => 'admin/settings/content-types/'. arg(4), - 'title' => t("'%name' content type", array('%name' => node_invoke(arg(4), 'node_name'))), + else if (arg(0) == 'admin' && arg(1) == 'settings' && arg(2) == 'content-types' && is_string(arg(3))) { + $items[] = array('path' => 'admin/settings/content-types/'. arg(3), + 'title' => t("'%name' content type", array('%name' => node_invoke(arg(3), 'node_name'))), 'type' => MENU_CALLBACK); } } diff --git a/modules/node/node.module b/modules/node/node.module index 4c2ba9589..36c6fb16e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -698,9 +698,9 @@ function node_menu($may_cache) { } } } - else if (arg(0) == 'admin' && arg(1) == 'node' && arg(2) == 'configure' && arg(3) == 'types' && is_string(arg(4))) { - $items[] = array('path' => 'admin/settings/content-types/'. arg(4), - 'title' => t("'%name' content type", array('%name' => node_invoke(arg(4), 'node_name'))), + else if (arg(0) == 'admin' && arg(1) == 'settings' && arg(2) == 'content-types' && is_string(arg(3))) { + $items[] = array('path' => 'admin/settings/content-types/'. arg(3), + 'title' => t("'%name' content type", array('%name' => node_invoke(arg(3), 'node_name'))), 'type' => MENU_CALLBACK); } } |