Commit 9cd50791 authored by N. Peraldi's avatar N. Peraldi

add forgotten html tag for sort buttons

parent 3786e4c7
...@@ -69,7 +69,7 @@ function childrens_of_member_category($category_to_select) ...@@ -69,7 +69,7 @@ function childrens_of_member_category($category_to_select)
$my_link .= "\">"; $my_link .= "\">";
$my_link .= $temp_category->name; $my_link .= $temp_category->name;
$my_link .= "</a>"; $my_link .= "</a></li>";
echo $my_link; echo $my_link;
} }
...@@ -83,21 +83,23 @@ function sort_page() ...@@ -83,21 +83,23 @@ function sort_page()
if (strpos($link, "order=desc")) { if (strpos($link, "order=desc")) {
?> ?>
<a href="<?php echo $cleanLink; ?>?order=asc" class="adullact-sort-button"> <li class="adullact-sort-button">
Croissant <a href="<?php echo $cleanLink; ?>?order=asc">
</a> Croissant
<a href="<?php echo $cleanLink; ?>?order=desc" class="adullact-sort-button adullact-selected"> </a>
Décroissant </li>
</a> <li class="adullact-sort-button adullact-selected"><a href="<?php echo $cleanLink; ?>?order=desc">
Décroissant
</a></li>
<?php <?php
} else { } else {
?> ?>
<a href="<?php echo $cleanLink; ?>?order=asc" class="adullact-sort-button adullact-selected"> <li class="adullact-sort-button adullact-selected"><a href="<?php echo $cleanLink; ?>?order=asc">
Croissant Croissant
</a> </a></li>
<a href="<?php echo $cleanLink; ?>?order=desc" class="adullact-sort-button"> <li class="adullact-sort-button"><a href="<?php echo $cleanLink; ?>?order=desc">
Décroissant Décroissant
</a> </a></li>
<?php <?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