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
4c1522e9
Commit
4c1522e9
authored
Jan 19, 2006
by
Dries
Browse files
- Patch
#45336
by Ber: bugfix: removed obsolete check_plain() check causing & problems.
parent
7b87ff1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy.module
View file @
4c1522e9
...
...
@@ -404,7 +404,7 @@ function taxonomy_overview() {
foreach
(
$tree
as
$term
)
{
$total_entries
++
;
// we're counting all-totals, not displayed
if
((
$start_from
&&
(
$start_from
*
$page_increment
)
>=
$total_entries
)
||
(
$displayed_count
==
$page_increment
))
{
continue
;
}
$rows
[]
=
array
(
_taxonomy_depth
(
$term
->
depth
)
.
' '
.
l
(
check_plain
(
$term
->
name
)
,
"taxonomy/term/
$term->tid
"
),
l
(
t
(
'edit'
),
"admin/taxonomy/edit/term/
$term->tid
"
,
array
(),
$destination
));
$rows
[]
=
array
(
_taxonomy_depth
(
$term
->
depth
)
.
' '
.
l
(
$term
->
name
,
"taxonomy/term/
$term->tid
"
),
l
(
t
(
'edit'
),
"admin/taxonomy/edit/term/
$term->tid
"
,
array
(),
$destination
));
$displayed_count
++
;
// we're counting tids displayed
}
...
...
modules/taxonomy/taxonomy.module
View file @
4c1522e9
...
...
@@ -404,7 +404,7 @@ function taxonomy_overview() {
foreach
(
$tree
as
$term
)
{
$total_entries
++
;
// we're counting all-totals, not displayed
if
((
$start_from
&&
(
$start_from
*
$page_increment
)
>=
$total_entries
)
||
(
$displayed_count
==
$page_increment
))
{
continue
;
}
$rows
[]
=
array
(
_taxonomy_depth
(
$term
->
depth
)
.
' '
.
l
(
check_plain
(
$term
->
name
)
,
"taxonomy/term/
$term->tid
"
),
l
(
t
(
'edit'
),
"admin/taxonomy/edit/term/
$term->tid
"
,
array
(),
$destination
));
$rows
[]
=
array
(
_taxonomy_depth
(
$term
->
depth
)
.
' '
.
l
(
$term
->
name
,
"taxonomy/term/
$term->tid
"
),
l
(
t
(
'edit'
),
"admin/taxonomy/edit/term/
$term->tid
"
,
array
(),
$destination
));
$displayed_count
++
;
// we're counting tids displayed
}
...
...
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