- Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages.

4.7.x
Dries Buytaert 2005-08-25 21:22:00 +00:00
parent 7b8a409675
commit b5573842b8
2 changed files with 6 additions and 6 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}