summaryrefslogtreecommitdiffstats
path: root/views/elements/animetable.html.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-16 16:57:53 -0700
committerraylu <raylu@mixpanel.com>2011-07-16 16:57:53 -0700
commit30bd3dc2c8e1dea9fb394115138f4f5ef9aedc33 (patch)
treef57f67d2ebec64bb7110665bf09a37ec04083266 /views/elements/animetable.html.php
parentec5b4d4fbfa3f4daecbd01ca6fd38a3d5944990b (diff)
downloadotakuhub-30bd3dc2c8e1dea9fb394115138f4f5ef9aedc33.tar.xz
make search index work
clean up a lot of code renamed anime.css to table.css
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 ?>