moved and fixed category_list
This commit is contained in:
parent
21f40c7ee5
commit
3b8207d3b1
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$allCategory array(
|
$allCategory = array(
|
||||||
"Type de cuisson" => "type_de_cuisson",
|
"Type de cuisson" => "type_de_cuisson",
|
||||||
"Temps de préparation" => "temps_de_preparation",
|
"Temps de préparation" => "temps_de_preparation",
|
||||||
"Difficulté" => "difficulte",
|
"Difficulté" => "difficulte",
|
||||||
@ -12,8 +12,8 @@ $allCategory array(
|
|||||||
<ul>
|
<ul>
|
||||||
<li><h3>Catégories :</h3></li>
|
<li><h3>Catégories :</h3></li>
|
||||||
<?php
|
<?php
|
||||||
foreach($allCategory as $category => $category_path){
|
foreach($allCategory as $category => $category_path) {
|
||||||
echo('<li><a href="/category/' . $category_path . '">'. $category . '</a></li>')
|
echo '<li><a href="/category/' . $category_path . '">'. $category . '</a></li>';
|
||||||
}?>
|
}?>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
Loading…
Reference in New Issue
Block a user