Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
d96e7e0b
Commit
d96e7e0b
authored
Jul 03, 2005
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patches by Ber: move user settings and node settings to admin/settings.
parent
338a135b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
22 deletions
+12
-22
modules/node.module
modules/node.module
+4
-8
modules/node/node.module
modules/node/node.module
+4
-8
modules/user.module
modules/user.module
+2
-3
modules/user/user.module
modules/user/user.module
+2
-3
No files found.
modules/node.module
View file @
d96e7e0b
...
...
@@ -639,16 +639,12 @@ function node_menu($may_cache) {
'type'
=>
MENU_CALLBACK
);
$items
[]
=
array
(
'path'
=>
'admin/node/overview'
,
'title'
=>
t
(
'list'
),
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'admin/
node/configure'
,
'title'
=>
t
(
'configure
'
),
$items
[]
=
array
(
'path'
=>
'admin/
settings/node'
,
'title'
=>
t
(
'posts
'
),
'callback'
=>
'node_configure'
,
'access'
=>
user_access
(
'administer nodes'
),
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/node/configure/settings'
,
'title'
=>
t
(
'settings'
),
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'admin/node/configure/types'
,
'title'
=>
t
(
'content types'
),
'access'
=>
user_access
(
'administer nodes'
));
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types'
,
'title'
=>
t
(
'content types'
),
'callback'
=>
'node_types_configure'
,
'access'
=>
user_access
(
'administer nodes'
),
'type'
=>
MENU_LOCAL_TASK
);
'access'
=>
user_access
(
'administer nodes'
));
if
(
module_exist
(
'search'
))
{
$items
[]
=
array
(
'path'
=>
'admin/node/search'
,
'title'
=>
t
(
'search'
),
'callback'
=>
'node_admin'
,
...
...
modules/node/node.module
View file @
d96e7e0b
...
...
@@ -639,16 +639,12 @@ function node_menu($may_cache) {
'type'
=>
MENU_CALLBACK
);
$items
[]
=
array
(
'path'
=>
'admin/node/overview'
,
'title'
=>
t
(
'list'
),
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'admin/
node/configure'
,
'title'
=>
t
(
'configure
'
),
$items
[]
=
array
(
'path'
=>
'admin/
settings/node'
,
'title'
=>
t
(
'posts
'
),
'callback'
=>
'node_configure'
,
'access'
=>
user_access
(
'administer nodes'
),
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/node/configure/settings'
,
'title'
=>
t
(
'settings'
),
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
'weight'
=>
-
10
);
$items
[]
=
array
(
'path'
=>
'admin/node/configure/types'
,
'title'
=>
t
(
'content types'
),
'access'
=>
user_access
(
'administer nodes'
));
$items
[]
=
array
(
'path'
=>
'admin/settings/content-types'
,
'title'
=>
t
(
'content types'
),
'callback'
=>
'node_types_configure'
,
'access'
=>
user_access
(
'administer nodes'
),
'type'
=>
MENU_LOCAL_TASK
);
'access'
=>
user_access
(
'administer nodes'
));
if
(
module_exist
(
'search'
))
{
$items
[]
=
array
(
'path'
=>
'admin/node/search'
,
'title'
=>
t
(
'search'
),
'callback'
=>
'node_admin'
,
...
...
modules/user.module
View file @
d96e7e0b
...
...
@@ -671,9 +671,8 @@ function user_menu($may_cache) {
$items
[]
=
array
(
'path'
=>
'admin/user/create'
,
'title'
=>
t
(
'add user'
),
'callback'
=>
'user_admin'
,
'access'
=>
$admin_access
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/user/configure'
,
'title'
=>
t
(
'configure'
),
'callback'
=>
'user_configure'
,
'access'
=>
$admin_access
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/settings/user'
,
'title'
=>
t
(
'users'
),
'callback'
=>
'user_configure'
,
'access'
=>
$admin_access
);
$items
[]
=
array
(
'path'
=>
'admin/access'
,
'title'
=>
t
(
'access control'
),
'callback'
=>
'user_admin_perm'
,
'access'
=>
$admin_access
);
$items
[]
=
array
(
'path'
=>
'admin/access/permissions'
,
'title'
=>
t
(
'permissions'
),
...
...
modules/user/user.module
View file @
d96e7e0b
...
...
@@ -671,9 +671,8 @@ function user_menu($may_cache) {
$items
[]
=
array
(
'path'
=>
'admin/user/create'
,
'title'
=>
t
(
'add user'
),
'callback'
=>
'user_admin'
,
'access'
=>
$admin_access
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/user/configure'
,
'title'
=>
t
(
'configure'
),
'callback'
=>
'user_configure'
,
'access'
=>
$admin_access
,
'type'
=>
MENU_LOCAL_TASK
);
$items
[]
=
array
(
'path'
=>
'admin/settings/user'
,
'title'
=>
t
(
'users'
),
'callback'
=>
'user_configure'
,
'access'
=>
$admin_access
);
$items
[]
=
array
(
'path'
=>
'admin/access'
,
'title'
=>
t
(
'access control'
),
'callback'
=>
'user_admin_perm'
,
'access'
=>
$admin_access
);
$items
[]
=
array
(
'path'
=>
'admin/access/permissions'
,
'title'
=>
t
(
'permissions'
),
...
...
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