Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5f829187
Commit
5f829187
authored
Jan 18, 2006
by
Dries
Browse files
- Patch
#45209
by markus et al: added some missing t() functions.
parent
52507806
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/theme.inc
View file @
5f829187
...
...
@@ -569,10 +569,10 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) {
}
if
(
$page
==
0
)
{
$output
=
'<h2 class="title">'
.
check_plain
(
$node
->
title
)
.
'</h2>
by '
.
theme
(
'username'
,
$node
);
$output
=
t
(
'%title by %name'
,
array
(
'%title'
=>
'<h2 class="title">'
.
check_plain
(
$node
->
title
)
.
'</h2>
'
,
'%name'
=>
theme
(
'username'
,
$node
)
))
;
}
else
{
$output
=
'by
'
.
theme
(
'username'
,
$node
);
$output
=
t
(
'by
%name'
,
array
(
'%name'
=>
theme
(
'username'
,
$node
)
))
;
}
if
(
count
(
$terms
))
{
...
...
Write
Preview
Supports
Markdown
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