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
6334ee20
Commit
6334ee20
authored
Jan 09, 2003
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Code improvement: forgot to update an URL to the clean URL scheme.
parent
87dbb823
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
modules/node.module
modules/node.module
+3
-3
modules/node/node.module
modules/node/node.module
+3
-3
No files found.
modules/node.module
View file @
6334ee20
...
...
@@ -455,8 +455,8 @@ function node_link($type, $node = 0, $main = 0) {
menu_add
(
"content management"
,
url
(
"admin/node"
),
"Content management."
,
NULL
,
NULL
);
menu_add
(
"submit new content"
,
url
(
"node/add"
),
"Submit new content."
,
NULL
,
"content management"
,
-
1
,
1
);
menu_add
(
"new or updated posts"
,
url
(
"admin/node/nodes
&query=
0"
),
"Display all new or updated posts."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"posts that await approval"
,
url
(
"admin/node/nodes
&query=
1"
),
"Display posts that await approval."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"new or updated posts"
,
url
(
"admin/node/nodes
/
0"
),
"Display all new or updated posts."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"posts that await approval"
,
url
(
"admin/node/nodes
/
1"
),
"Display posts that await approval."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"search content"
,
url
(
"admin/node/search"
),
"Search a post."
,
$search
,
"content management"
,
5
);
menu_add
(
"help"
,
url
(
"admin/node/help"
),
"More information about content management."
,
NULL
,
"content management"
,
7
);
}
...
...
@@ -505,8 +505,8 @@ function node_admin_edit($node) {
}
function
node_admin_nodes
()
{
global
$query
;
$query
=
arg
(
3
);
$queries
=
array
(
"ORDER BY n.changed DESC"
,
"WHERE n.status = 0 OR n.moderate = 1 ORDER BY n.changed DESC"
);
$result
=
pager_query
(
"SELECT n.*, u.name, u.uid FROM node n LEFT JOIN users u ON n.uid = u.uid "
.
$queries
[
$query
?
$query
:
0
],
50
);
...
...
modules/node/node.module
View file @
6334ee20
...
...
@@ -455,8 +455,8 @@ function node_link($type, $node = 0, $main = 0) {
menu_add
(
"content management"
,
url
(
"admin/node"
),
"Content management."
,
NULL
,
NULL
);
menu_add
(
"submit new content"
,
url
(
"node/add"
),
"Submit new content."
,
NULL
,
"content management"
,
-
1
,
1
);
menu_add
(
"new or updated posts"
,
url
(
"admin/node/nodes
&query=
0"
),
"Display all new or updated posts."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"posts that await approval"
,
url
(
"admin/node/nodes
&query=
1"
),
"Display posts that await approval."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"new or updated posts"
,
url
(
"admin/node/nodes
/
0"
),
"Display all new or updated posts."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"posts that await approval"
,
url
(
"admin/node/nodes
/
1"
),
"Display posts that await approval."
,
NULL
,
"content management"
,
0
,
1
);
menu_add
(
"search content"
,
url
(
"admin/node/search"
),
"Search a post."
,
$search
,
"content management"
,
5
);
menu_add
(
"help"
,
url
(
"admin/node/help"
),
"More information about content management."
,
NULL
,
"content management"
,
7
);
}
...
...
@@ -505,8 +505,8 @@ function node_admin_edit($node) {
}
function
node_admin_nodes
()
{
global
$query
;
$query
=
arg
(
3
);
$queries
=
array
(
"ORDER BY n.changed DESC"
,
"WHERE n.status = 0 OR n.moderate = 1 ORDER BY n.changed DESC"
);
$result
=
pager_query
(
"SELECT n.*, u.name, u.uid FROM node n LEFT JOIN users u ON n.uid = u.uid "
.
$queries
[
$query
?
$query
:
0
],
50
);
...
...
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