Fixes for 4.1 #14

Merged
timw4mail merged 16 commits from develop into master 2018-12-13 14:51:01 -05:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 92c5b2baf7 - Show all commits

View File

@ -108,7 +108,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr>
<?php foreach ($casting as $cid => $c): ?>
<tr>
<td style="width:229px">
<td>
<article class="character">
<?php
$link = $url->generate('person', ['id' => $c['person']['id']]);

View File

@ -2,7 +2,7 @@
<main>
<h2>Edit Anime Collection Item</h2>
<form action="<?= $action_url ?>" method="post">
<table class="invisible form" style="border:0">
<table class="invisible form borderless">
<tbody>
<tr>
<td rowspan="6" class="align-center">
@ -28,7 +28,7 @@
<td class="align-left">
<select name="media_id" id="media_id">
<?php foreach($media_items as $id => $name): ?>
<option <?= $item['media_id'] == $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option>
<option <?= $item['media_id'] === $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option>
<?php endforeach ?>
</select>
</td>

View File

@ -16,7 +16,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr>
<?php foreach ($characterList as $cid => $character): ?>
<tr>
<td style="width:229px">
<td>
<article class="character">
<?php
$link = $url->generate('character', ['slug' => $character['character']['slug']]);