Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
93c367bf
Commit
93c367bf
authored
Dec 05, 2006
by
Dries
Browse files
- Patch
#94019
by chx, jvandyk, RobRoy et al: posts -> content.
parent
c37b3794
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/node/node.module
View file @
93c367bf
...
...
@@ -1051,7 +1051,7 @@ function node_menu($may_cache) {
$items
[]
=
array
(
'path'
=>
'admin/content/node'
,
'title'
=>
t
(
'
Posts
'
),
'title'
=>
t
(
'
Content
'
),
'description'
=>
t
(
"View, edit, and delete your site's content."
),
'callback'
=>
'node_admin_content'
,
'access'
=>
user_access
(
'administer nodes'
)
...
...
@@ -1061,8 +1061,8 @@ function node_menu($may_cache) {
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
if
(
module_exists
(
'search'
))
{
$items
[]
=
array
(
'path'
=>
'admin/content/search'
,
'title'
=>
t
(
'Search
posts
'
),
'description'
=>
t
(
'Search
posts
by keyword.'
),
$items
[]
=
array
(
'path'
=>
'admin/content/search'
,
'title'
=>
t
(
'Search
content
'
),
'description'
=>
t
(
'Search
content
by keyword.'
),
'callback'
=>
'node_admin_search'
,
'access'
=>
user_access
(
'administer nodes'
),
'type'
=>
MENU_NORMAL_ITEM
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment