diff --git a/apps/Index/Templates/error.php b/apps/Index/Templates/error.php index 7b31a6e..e04c8cc 100644 --- a/apps/Index/Templates/error.php +++ b/apps/Index/Templates/error.php @@ -1,23 +1,28 @@ -get_http_error(), - '', - 'error', + $error->get_http_error(), + '', + 'error', [ ['robots', 'nofollow, noindex'] - ]); + ] +); + +/** + * @var PageError + */ - /** - * @var PageError - */ - ?> -
-
get_http_error() ?>
-
getMessage() ?>
+
+
+
get_http_error() ?>
+
getMessage() ?>
+
- \ No newline at end of file diff --git a/apps/Index/Templates/index.php b/apps/Index/Templates/index.php index c4e3197..b58968c 100644 --- a/apps/Index/Templates/index.php +++ b/apps/Index/Templates/index.php @@ -106,6 +106,7 @@ the_header(
+

Your Menu for

@@ -116,6 +117,12 @@ the_header( ?>
+ +
+

No meals added for

+

You have not added any recipes for , please go to the catalog and add recipes.

+
+ diff --git a/apps/Recipes/Templates/catalog.php b/apps/Recipes/Templates/catalog.php index b08f088..6419310 100644 --- a/apps/Recipes/Templates/catalog.php +++ b/apps/Recipes/Templates/catalog.php @@ -28,61 +28,66 @@ the_header(
-

- Categories

+

+ Categories

- +
    - get_id(); $is_checked = false; $category = $_GET['category'] ?? null; - if($category == $cat->get_id()) + if ($category == $cat->get_id()) $is_checked = true; ?> -
  • - > - -
  • +
  • + > + +
-

- Ingredients

+

+ Ingredients

    - get_id(); $is_checked = false; $ingredients = $_GET['ingredient'] ?? null; - if($ingredients) { + if ($ingredients) { if (in_array($ing->get_id(), $ingredients)) $is_checked = true; } ?> -
  • - > - -
  • - +
  • + > + +
  • +
+ + Reset +
diff --git a/apps/Recipes/Templates/components/recipe-ings-item.php b/apps/Recipes/Templates/components/recipe-ings-item.php index b9eb960..1dfcb7a 100644 --- a/apps/Recipes/Templates/components/recipe-ings-item.php +++ b/apps/Recipes/Templates/components/recipe-ings-item.php @@ -5,7 +5,7 @@

field_title ?>

- field_estimated_time ?>mins to make + field_estimated_time ?> mins to make