diff --git a/Controllers/DefaultController.php b/Controllers/DefaultController.php index 0590473..04045d8 100644 --- a/Controllers/DefaultController.php +++ b/Controllers/DefaultController.php @@ -7,21 +7,21 @@ final class DefaultController { $array_recipes = array( array( - "LINK" => "/recipe/view/1", + "RECIPE_LINK" => "/recipe/view/1", "NAME" => "Pâte à crêpe", - "IMG" => "/static/img/recipes/1.jpg", + "IMG_LINK" => "/static/img/recipes/1.jpg", "NOTE" => "4.5" ), array( - "LINK" => "/recipe/view/1", + "RECIPE_LINK" => "/recipe/view/1", "NAME" => "Pâte à crêpe", - "IMG" => "/static/img/recipes/1.jpg", + "IMG_LINK" => "/static/img/recipes/1.jpg", "NOTE" => "4.5" ), array( - "LINK" => "/recipe/view/1", + "RECIPE_LINK" => "/recipe/view/1", "NAME" => "Pâte à crêpe", - "IMG" => "/static/img/recipes/1.jpg", + "IMG_LINK" => "/static/img/recipes/1.jpg", "NOTE" => "4.5" ), ); diff --git a/Views/common/recipe.php b/Views/common/recipe.php index 1cabff5..7b46cc1 100644 --- a/Views/common/recipe.php +++ b/Views/common/recipe.php @@ -1,5 +1,5 @@ -"> - " alt=""> +"> + " alt="">