resolved #2 implemented automatic album selection
This commit is contained in:
parent
1247d3c969
commit
f8e72356a3
@ -123,7 +123,8 @@ if (!isset($_POST['submit'])) {
|
||||
<select name="album" id="album">
|
||||
<option value="">---</option>
|
||||
<?php foreach ($albums as $album) {
|
||||
echo '<option value="' . $album->uid . '">' . $album->title . '</option>\n';
|
||||
$selected = $album->token === $token ? ' selected' : '';
|
||||
echo '<option value="' . $album->uid . '"' . $selected . '>' . $album->title . '</option>\n';
|
||||
} ?>
|
||||
</select>
|
||||
<!--<label></label>
|
||||
|
Loading…
Reference in New Issue
Block a user