moved and fixed category_list

This commit is contained in:
Capelier-Marla 2023-01-17 10:51:15 +01:00
parent 21f40c7ee5
commit 3b8207d3b1

View File

@ -1,5 +1,5 @@
<?php
$allCategory array(
$allCategory = array(
"Type de cuisson" => "type_de_cuisson",
"Temps de préparation" => "temps_de_preparation",
"Difficulté" => "difficulte",
@ -12,8 +12,8 @@ $allCategory array(
<ul>
<li><h3>Catégories :</h3></li>
<?php
foreach($allCategory as $category => $category_path){
echo('<li><a href="/category/' . $category_path . '">'. $category . '</a></li>')
foreach($allCategory as $category => $category_path) {
echo '<li><a href="/category/' . $category_path . '">'. $category . '</a></li>';
}?>
</ul>
</aside>
</aside>