mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-12 18:36:29 +00:00
Empty commit
This commit is contained in:
parent
63bb1c08df
commit
876805bd95
@ -1,5 +1,8 @@
|
||||
CHANGE LOG
|
||||
|
||||
2016-02-13 by lawnmower
|
||||
minor usability improvement to artist alias editing
|
||||
|
||||
2016-02-11 by newman
|
||||
Fix punctuation typo in uploading rules
|
||||
|
||||
|
@ -102,6 +102,7 @@
|
||||
<ul>
|
||||
|
||||
<?
|
||||
$NonRedirectingAliases = array();
|
||||
$DB->query("
|
||||
SELECT AliasID, Name, UserID, Redirect
|
||||
FROM artists_alias
|
||||
@ -118,7 +119,12 @@
|
||||
<? }
|
||||
if ($Redirect) { ?>
|
||||
(writes redirect to <span class="tooltip" title="Target alias ID"><?=$Redirect?></span>)
|
||||
<? } ?>
|
||||
<? }
|
||||
else {
|
||||
$NonRedirectingAliases[$AliasID] = $AliasName;
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="artist.php?action=delete_alias&aliasid=<?=$AliasID?>&auth=<?=$LoggedUser['AuthKey']?>" title="Delete this alias" class="brackets tooltip">X</a>
|
||||
</li>
|
||||
<? }
|
||||
@ -139,9 +145,13 @@
|
||||
<input type="text" name="name" size="40" value="<?=$Name?>" />
|
||||
</div>
|
||||
<div class="field_div">
|
||||
<span class="label"><strong>Writes redirect to (enter an Alias ID; leave blank or enter "0" for no redirect):</strong></span>
|
||||
<br />
|
||||
<input type="text" name="redirect" size="40" value="<?=$DefaultRedirectID?>" /><br />
|
||||
<span class="label"><strong>Writes redirect to:</strong></span>
|
||||
<select name="redirect">
|
||||
<option value="0">Non-redirecting alias</option>
|
||||
<? foreach($NonRedirectingAliases as $AliasID => $AliasName) { ?>
|
||||
<option value="<?=$AliasID?>"<?=$AliasID == $DefaultRedirectID ? " selected" : ""?>><?=$AliasName?></option>
|
||||
<? } ?>
|
||||
</select><br />
|
||||
</div>
|
||||
<div class="submit_div">
|
||||
<input type="submit" value="Add alias" />
|
||||
|
Loading…
Reference in New Issue
Block a user