Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
eaf35401
Commit
eaf35401
authored
Aug 02, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#76702
by timcn: fixed some broken admin pages.
parent
bd5c16ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
modules/node/node.module
modules/node/node.module
+1
-1
modules/taxonomy/taxonomy.module
modules/taxonomy/taxonomy.module
+6
-6
No files found.
modules/node/node.module
View file @
eaf35401
...
...
@@ -911,7 +911,7 @@ function node_menu($may_cache) {
'type'
=>
MENU_LOCAL_TASK
);
}
}
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
settings
'
&&
arg
(
2
)
==
'
content-
types'
&&
is_string
(
arg
(
3
)))
{
else
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'
content
'
&&
arg
(
2
)
==
'types'
&&
is_string
(
arg
(
3
)))
{
$items
[]
=
array
(
'path'
=>
'admin/content/types/'
.
arg
(
3
),
'title'
=>
t
(
"'%name' content type"
,
array
(
'%name'
=>
node_get_name
(
arg
(
3
)))),
'type'
=>
MENU_CALLBACK
);
...
...
modules/taxonomy/taxonomy.module
View file @
eaf35401
...
...
@@ -104,23 +104,23 @@ function taxonomy_menu($may_cache) {
'type'
=>
MENU_CALLBACK
);
}
else
{
if
(
is_numeric
(
arg
(
2
)))
{
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
2
),
if
(
is_numeric
(
arg
(
3
)))
{
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
3
),
'title'
=>
t
(
'list terms'
),
'callback'
=>
'taxonomy_overview_terms'
,
'callback arguments'
=>
array
(
arg
(
2
)),
'callback arguments'
=>
array
(
arg
(
3
)),
'access'
=>
user_access
(
'administer taxonomy'
),
'type'
=>
MENU_CALLBACK
);
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
2
)
.
'/list'
,
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
3
)
.
'/list'
,
'title'
=>
t
(
'list'
),
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
2
)
.
'/add/term'
,
$items
[]
=
array
(
'path'
=>
'admin/content/taxonomy/'
.
arg
(
3
)
.
'/add/term'
,
'title'
=>
t
(
'add term'
),
'callback'
=>
'taxonomy_form_term'
,
'callback arguments'
=>
array
(
array
(
'vid'
=>
arg
(
2
))),
'callback arguments'
=>
array
(
array
(
'vid'
=>
arg
(
3
))),
'access'
=>
user_access
(
'administer taxonomy'
),
'type'
=>
MENU_LOCAL_TASK
);
}
...
...
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