diff --git a/classes/torrent_form.class.php b/classes/torrent_form.class.php index 58da1ef3..f9abcfd7 100644 --- a/classes/torrent_form.class.php +++ b/classes/torrent_form.class.php @@ -44,7 +44,6 @@ function TORRENT_FORM($Torrent = false, $Error = false, $NewTorrent = true) { } } - function head() { global $LoggedUser; ?> @@ -88,11 +87,11 @@ function head() { @@ -156,19 +155,21 @@ function music_form($GenreTags) { if ($Torrent['GroupID']) { global $DB; - $DB->query("SELECT ID, - RemasterYear, - RemasterTitle, - RemasterRecordLabel, - RemasterCatalogueNumber - FROM torrents - WHERE GroupID = ".$Torrent['GroupID']." - AND Remastered = '1' - AND RemasterYear != 0 - ORDER BY RemasterYear DESC, - RemasterTitle DESC, - RemasterRecordLabel DESC, - RemasterCatalogueNumber DESC"); + $DB->query(' + SELECT + ID, + RemasterYear, + RemasterTitle, + RemasterRecordLabel, + RemasterCatalogueNumber + FROM torrents + WHERE GroupID = '.$Torrent['GroupID']." + AND Remastered = '1' + AND RemasterYear != 0 + ORDER BY RemasterYear DESC, + RemasterTitle DESC, + RemasterRecordLabel DESC, + RemasterCatalogueNumber DESC"); if ($DB->record_count() > 0) { $GroupRemasters = $DB->to_array(false, MYSQLI_BOTH, false); @@ -237,7 +238,7 @@ function music_form($GenreTags) { Album title: - Disabled?> /> + Disabled?> />

Do not include the words remaster, re-issue, MFSL Gold, limited edition, bonus tracks, bonus disc or country-specific information in this field. That belongs in the edition information fields below; see this for further information. Also remember to use the correct capitalization for your upload. See the Capitalization Guidelines for more information.

@@ -316,11 +317,11 @@ function show() { $Val) { - echo '\n"; + echo "\t\t\t\t\t\t\n"; } ?> Please take the time to fill this out properly. Need help? Try reading this wiki article or searching MusicBrainz. @@ -351,7 +352,7 @@ function show() { $LastLine = $Line; ?> - + Title: /> -

Title of the release (e.g. 'Deluxe Edition' or 'Remastered').

+

Title of the release (e.g. "Deluxe Edition" or "Remastered").

@@ -405,11 +406,11 @@ function show() { Bitrates)) { $OtherBitrate = true; if (substr($Torrent['Bitrate'], strlen($Torrent['Bitrate']) - strlen(' (VBR)')) == ' (VBR)') { @@ -441,13 +441,11 @@ function show() { foreach (Misc::display_array($this->Bitrates) as $Bitrate) { - echo '\n"; + echo ">$Bitrate\n"; } ?>