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
225
Merge Requests
225
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
93e6513e
Commit
93e6513e
authored
Sep 16, 2003
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed typo. Patch by Nick.
parent
a18b09b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/book.module
modules/book.module
+2
-2
modules/book/book.module
modules/book/book.module
+2
-2
No files found.
modules/book.module
View file @
93e6513e
...
...
@@ -106,7 +106,7 @@ function book_load($node) {
** If a user is about to update a book page, we overload some
** fields to reflect the changes. We use the request URI to
** dectect this as we don't want to interfer with updating a
** book page through the admin pages.
See also: book_save().
** book page through the admin pages.
*/
if
(
$user
->
uid
)
{
...
...
@@ -622,7 +622,7 @@ function book_page() {
if
(
user_access
(
"access content"
))
{
switch
(
arg
(
1
))
{
case
"view"
:
$node
=
node_load
(
array
(
"nid"
=>
arg
(
2
))
,
1
);
$node
=
node_load
(
array
(
"nid"
=>
arg
(
2
)));
theme
(
"header"
);
book_show
(
$node
,
arg
(
3
));
theme
(
"footer"
);
...
...
modules/book/book.module
View file @
93e6513e
...
...
@@ -106,7 +106,7 @@ function book_load($node) {
** If a user is about to update a book page, we overload some
** fields to reflect the changes. We use the request URI to
** dectect this as we don't want to interfer with updating a
** book page through the admin pages.
See also: book_save().
** book page through the admin pages.
*/
if
(
$user
->
uid
)
{
...
...
@@ -622,7 +622,7 @@ function book_page() {
if
(
user_access
(
"access content"
))
{
switch
(
arg
(
1
))
{
case
"view"
:
$node
=
node_load
(
array
(
"nid"
=>
arg
(
2
))
,
1
);
$node
=
node_load
(
array
(
"nid"
=>
arg
(
2
)));
theme
(
"header"
);
book_show
(
$node
,
arg
(
3
));
theme
(
"footer"
);
...
...
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