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
2220c036
Commit
2220c036
authored
Jan 18, 2006
by
Dries
Browse files
- Patch
#45206
by markus: attempt at making the node filters somewhat translatable.
parent
a35ca55b
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
2220c036
...
...
@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) {
}
}
$output
.
=
'<li><dl class="multiselect">'
.
(
sizeof
(
$form
[
'current'
])
?
'<dt><em>
and</em> where
</dt>'
:
''
)
.
'<dd class="a">'
;
$output
.
=
'<li><dl class="multiselect">'
.
(
sizeof
(
$form
[
'current'
])
?
'<dt><em>
'
.
t
(
'and'
)
.
'</em> '
.
t
(
'where'
)
.
'
</dt>'
:
''
)
.
'<dd class="a">'
;
foreach
(
element_children
(
$form
[
'filter'
])
as
$key
)
{
$output
.
=
form_render
(
$form
[
'filter'
][
$key
]);
}
$output
.
=
'</dd>'
;
$output
.
=
'<dt>
is
</dt>'
.
'<dd class="b">'
;
$output
.
=
'<dt>
'
.
t
(
'is'
)
.
'
</dt>'
.
'<dd class="b">'
;
foreach
(
element_children
(
$form
[
'status'
])
as
$key
)
{
$output
.
=
form_render
(
$form
[
'status'
][
$key
]);
...
...
modules/node/node.module
View file @
2220c036
...
...
@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) {
}
}
$output
.
=
'<li><dl class="multiselect">'
.
(
sizeof
(
$form
[
'current'
])
?
'<dt><em>
and</em> where
</dt>'
:
''
)
.
'<dd class="a">'
;
$output
.
=
'<li><dl class="multiselect">'
.
(
sizeof
(
$form
[
'current'
])
?
'<dt><em>
'
.
t
(
'and'
)
.
'</em> '
.
t
(
'where'
)
.
'
</dt>'
:
''
)
.
'<dd class="a">'
;
foreach
(
element_children
(
$form
[
'filter'
])
as
$key
)
{
$output
.
=
form_render
(
$form
[
'filter'
][
$key
]);
}
$output
.
=
'</dd>'
;
$output
.
=
'<dt>
is
</dt>'
.
'<dd class="b">'
;
$output
.
=
'<dt>
'
.
t
(
'is'
)
.
'
</dt>'
.
'<dd class="b">'
;
foreach
(
element_children
(
$form
[
'status'
])
as
$key
)
{
$output
.
=
form_render
(
$form
[
'status'
][
$key
]);
...
...
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