moved and fixed category_list
This commit is contained in:
parent
21f40c7ee5
commit
3b8207d3b1
@ -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>
|
Loading…
Reference in New Issue
Block a user