Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
d8d524ff
Commit
d8d524ff
authored
Jul 25, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#4269
and
#4248
by Killes: added missing t()'s to book module.
parent
9f30df2c
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 @
d8d524ff
...
...
@@ -244,7 +244,7 @@ function book_form(&$node) {
if
(
user_access
(
'administer nodes'
))
{
$output
.
=
form_weight
(
t
(
'Weight'
),
'weight'
,
$node
->
weight
,
15
,
t
(
'The heavier pages will sink and the lighter pages will be positioned nearer the top.'
));
if
(
user_access
(
'create php content'
))
{
$output
.
=
form_radios
(
'Type'
,
'format'
,
$node
->
format
,
array
(
0
=>
'HTML / text'
,
1
=>
'PHP'
));
$output
.
=
form_radios
(
t
(
'Type'
)
,
'format'
,
$node
->
format
,
array
(
0
=>
'HTML / text'
,
1
=>
'PHP'
));
}
}
else
{
...
...
@@ -877,7 +877,7 @@ function book_admin_orphan() {
}
if
(
$pages
)
{
$output
.
=
"
<h3>Orphan pages</h3>
"
;
$output
.
=
'
<h3>
'
.
t
(
'
Orphan pages
'
)
.
'
</h3>
'
;
$header
=
array
(
t
(
"title"
),
t
(
"weight"
),
array
(
"data"
=>
t
(
"operations"
),
"colspan"
=>
3
));
foreach
(
$pages
as
$nid
=>
$node
)
{
if
(
$node
->
parent
&&
empty
(
$pages
[
$node
->
parent
]))
{
...
...
modules/book/book.module
View file @
d8d524ff
...
...
@@ -244,7 +244,7 @@ function book_form(&$node) {
if
(
user_access
(
'administer nodes'
))
{
$output
.
=
form_weight
(
t
(
'Weight'
),
'weight'
,
$node
->
weight
,
15
,
t
(
'The heavier pages will sink and the lighter pages will be positioned nearer the top.'
));
if
(
user_access
(
'create php content'
))
{
$output
.
=
form_radios
(
'Type'
,
'format'
,
$node
->
format
,
array
(
0
=>
'HTML / text'
,
1
=>
'PHP'
));
$output
.
=
form_radios
(
t
(
'Type'
)
,
'format'
,
$node
->
format
,
array
(
0
=>
'HTML / text'
,
1
=>
'PHP'
));
}
}
else
{
...
...
@@ -877,7 +877,7 @@ function book_admin_orphan() {
}
if
(
$pages
)
{
$output
.
=
"
<h3>Orphan pages</h3>
"
;
$output
.
=
'
<h3>
'
.
t
(
'
Orphan pages
'
)
.
'
</h3>
'
;
$header
=
array
(
t
(
"title"
),
t
(
"weight"
),
array
(
"data"
=>
t
(
"operations"
),
"colspan"
=>
3
));
foreach
(
$pages
as
$nid
=>
$node
)
{
if
(
$node
->
parent
&&
empty
(
$pages
[
$node
->
parent
]))
{
...
...
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