- Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages.
parent
7b8a409675
commit
b5573842b8
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue