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