diff --git a/app/templates/anime-cover.php b/app/templates/anime-cover.php index 0965d29f..900faac3 100644 --- a/app/templates/anime-cover.php +++ b/app/templates/anime-cover.php @@ -4,13 +4,13 @@ data-anilist-id="" data-mal-id="" > - isAuthenticated()): ?> + isAuthenticated()): ?> - img($item['anime']['cover_image'], ['width' => 220, 'loading' => 'lazy']) ?> + h->img($item['anime']['cover_image'], ['width' => 220, 'loading' => 'lazy']) ?>
- +
@@ -50,7 +50,7 @@
- img("/public/images/{$link['meta']['image']}", [ + h->img("/public/images/{$link['meta']['image']}", [ 'class' => 'streaming-logo', 'width' => 20, 'height' => 20, @@ -58,7 +58,7 @@ ]); ?> - img("/public/images/{$link['meta']['image']}", [ + h->img("/public/images/{$link['meta']['image']}", [ 'class' => 'streaming-logo', 'width' => 20, 'height' => 20, @@ -70,11 +70,11 @@
- isAuthenticated()): ?> + isAuthenticated()): ?>
-
html($item['anime']['show_type']) ?>
-
html($item['airing']['status']) ?>
-
html($item['anime']['age_rating']) ?>
+
escape->html($item['anime']['show_type']) ?>
+
escape->html($item['airing']['status']) ?>
+
escape->html($item['anime']['age_rating']) ?>
\ No newline at end of file diff --git a/app/templates/manga-cover.php b/app/templates/manga-cover.php index 4b3f58ef..f1372c2e 100644 --- a/app/templates/manga-cover.php +++ b/app/templates/manga-cover.php @@ -1,25 +1,25 @@
- isAuthenticated()): ?> + isAuthenticated()): ?> - img($item['manga']['image'], ['width' => 220, 'loading' => 'lazy']) ?> + h->img($item['manga']['image'], ['width' => 220, 'loading' => 'lazy']) ?>
- - html($item['manga']['title']) ?> + + escape->html($item['manga']['title']) ?>
- isAuthenticated()): ?> + isAuthenticated()): ?>
urlFromRoute('edit', [ 'controller' => 'manga', 'id' => $item['id'], 'status' => $name diff --git a/app/views/anime/add.php b/app/views/anime/add.php index d378f00a..7d52f8ae 100644 --- a/app/views/anime/add.php +++ b/app/views/anime/add.php @@ -1,4 +1,4 @@ -isAuthenticated()): ?> +isAuthenticated()): ?>

Add Anime to your List

diff --git a/app/views/anime/cover.php b/app/views/anime/cover.php index 96cdf359..ca1e049a 100644 --- a/app/views/anime/cover.php +++ b/app/views/anime/cover.php @@ -1,6 +1,6 @@
-isAuthenticated()): ?> -Add Item +isAuthenticated()): ?> +Add Item

There's nothing here!

@@ -11,16 +11,16 @@ $items): ?>
-

html($name) ?>

+

escape->html($name) ?>

There's nothing here!

-

html($name) ?>

+

escape->html($name) ?>

- isAuthenticated()) continue; ?> - animeCover($item) ?> + isAuthenticated()) continue; ?> + component->animeCover($item) ?>
diff --git a/app/views/anime/details.php b/app/views/anime/details.php index 99e89f4f..754d78b7 100644 --- a/app/views/anime/details.php +++ b/app/views/anime/details.php @@ -4,9 +4,9 @@ use function Aviat\AnimeClient\friendlyTime; ?>
-
+