replace "URL" with "LINK"

This commit is contained in:
Thomas Rubini 2023-01-23 14:21:17 +01:00
parent 40ef4800d7
commit 158e3c9ecf
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ final class RecipeModel
$A_recipe = self::getRecipeByID($I_id);
if ($A_recipe === null)return null;
$A_recipe["IMAGE_URL"] = "/static/img/recipes/".$A_recipe["ID"].".jpg";
$A_recipe["IMG_LINK"] = "/static/img/recipes/".$A_recipe["ID"].".jpg";
$O_ingredientModel = new IngredientModel();
$A_recipe["INGREDIENTS"] = $O_ingredientModel->searchByRecipe($A_recipe["ID"]);

View File

@ -2,7 +2,7 @@
<main>
<img src="<?= $A_view["IMAGE_URL"] ?>" alt="Image d'illustration de la recette">
<img src="<?= $A_view["IMAGE_LINK"] ?>" alt="Image d'illustration de la recette">
<section class="infosRecette">
<header>