summaryrefslogtreecommitdiffstats
path: root/views/elements/animetable.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/elements/animetable.html.php')
-rw-r--r--views/elements/animetable.html.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/views/elements/animetable.html.php b/views/elements/animetable.html.php
index a074c68..0d9f9fb 100644
--- a/views/elements/animetable.html.php
+++ b/views/elements/animetable.html.php
@@ -2,27 +2,27 @@
<th>Title</th>
<th>Date</th>
<th>Type</th>
-<?php foreach ($content as $anime): ?>
+<?php foreach ($anime as $a): ?>
<tr>
<td>
- <a href="/anime/view/<?= $anime->special_id ?>"><?= $anime->title ?></a>
- <?php if ($anime->foreign_titles || $anime->alternative_titles): ?>
+ <a href="/anime/view/<?= $a->special_id ?>"><?= $a->title ?></a>
+ <?php if ($a->foreign_titles || $a->alternative_titles): ?>
<span class="alt_titles">
- <?php if ($anime->foreign_titles): ?>
- <?= $anime->foreign_titles[0] ?>
+ <?php if ($a->foreign_titles): ?>
+ <?= $a->foreign_titles[0] ?>
<?php endif ?>
- <?php if ($anime->alternative_titles): ?>
+ <?php if ($a->alternative_titles): ?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- <?= $anime->alternative_titles[0] ?>
+ <?= $a->alternative_titles[0] ?>
<?php endif ?>
</span>
<?php endif ?>
</td>
<td>
- <?= $anime->aired ?>
+ <?= $a->aired ?>
</td>
<td>
- <?= $anime->view_type ?>
+ <?= $a->view_type ?>
</td>
</tr>
<?php endforeach ?>