Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
037ad054
Commit
037ad054
authored
May 20, 2002
by
Steven Wittens
Browse files
Forgot to use l() for the taxonomy links.
parent
367ae7a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
themes/goofy/goofy.theme
View file @
037ad054
...
...
@@ -120,7 +120,7 @@ function node($node, $main = 0) {
if ($terms = taxonomy_node_get_terms($node->nid)) {
$taxlinks = array();
foreach ($terms as $term) {
$taxlinks[] =
"<a href=\"index.php?or=$term->tid\">". check_output($term->name) ."</a>"
;
$taxlinks[] =
l($term->name, array("or" => $term->tid), "index")
;
}
$subright = $this->links($taxlinks);
}
...
...
themes/unconed/unconed.theme
View file @
037ad054
...
...
@@ -105,7 +105,7 @@ function node($node, $main = 0) {
if
(
$terms
=
taxonomy_node_get_terms
(
$node
->
nid
))
{
$taxlinks
=
array
();
foreach
(
$terms
as
$term
)
{
$taxlinks
[]
=
"<a href=
\"
index.php?or=
$term->tid
\"
>"
.
check_output
(
$term
->
name
)
.
"</a>"
;
$taxlinks
[]
=
l
(
$term
->
name
,
array
(
"or"
=>
$term
->
tid
),
"index"
)
;
}
$taxo
=
$this
->
links
(
$taxlinks
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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