Commit 9cd50791 authored by Nathan Peraldi's avatar Nathan Peraldi

add forgotten html tag for sort buttons

parent 3786e4c7
......@@ -69,7 +69,7 @@ function childrens_of_member_category($category_to_select)
$my_link .= "\">";
$my_link .= $temp_category->name;
$my_link .= "</a>";
$my_link .= "</a></li>";
echo $my_link;
}
......@@ -83,21 +83,23 @@ function sort_page()
if (strpos($link, "order=desc")) {
?>
<a href="<?php echo $cleanLink; ?>?order=asc" class="adullact-sort-button">
Croissant
</a>
<a href="<?php echo $cleanLink; ?>?order=desc" class="adullact-sort-button adullact-selected">
Décroissant
</a>
<li class="adullact-sort-button">
<a href="<?php echo $cleanLink; ?>?order=asc">
Croissant
</a>
</li>
<li class="adullact-sort-button adullact-selected"><a href="<?php echo $cleanLink; ?>?order=desc">
Décroissant
</a></li>
<?php
} else {
?>
<a href="<?php echo $cleanLink; ?>?order=asc" class="adullact-sort-button adullact-selected">
Croissant
</a>
<a href="<?php echo $cleanLink; ?>?order=desc" class="adullact-sort-button">
Décroissant
</a>
<li class="adullact-sort-button adullact-selected"><a href="<?php echo $cleanLink; ?>?order=asc">
Croissant
</a></li>
<li class="adullact-sort-button"><a href="<?php echo $cleanLink; ?>?order=desc">
Décroissant
</a></li>
<?php
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment