From b5573842b88e89f4c66b5cfd006678c89be7fa0c Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 25 Aug 2005 21:22:00 +0000
Subject: [PATCH] - Patch #29593 by tostinni: fixed display of title on
 admin/settings/content-type/ pages.

---
 modules/node.module      | 6 +++---
 modules/node/node.module | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/node.module b/modules/node.module
index 4c2ba95895ce..36c6fb16e8ba 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 4c2ba95895ce..36c6fb16e8ba 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);
     }
   }
-- 
GitLab