diff --git a/classes/class_format.php b/classes/class_format.php index 307c8e37..bee36670 100644 --- a/classes/class_format.php +++ b/classes/class_format.php @@ -385,11 +385,11 @@ public static function form($Index, $Return = false) { /** - * Convenience function to echo out selected='selected' and checked='checked' so you don't have to. + * Convenience function to echo out selected="selected" and checked="checked" so you don't have to. * * @param $Name the name of the option in the select (or field in $Array) * @param $Value the value that the option must be for the option to be marked as selected or checked - * @param $Attribute The value returned/echoed is $Attribute="$Attribute" + * @param $Attribute The value returned/echoed is $Attribute="$Attribute" with a leading space * @param $Array The array the option is in, defaults to GET. * @return */ @@ -405,7 +405,7 @@ public static function selected($Name, $Value, $Attribute='selected', $Array = a } /** - * Return a css class name if certain conditions are met. Mainly useful to mark links as 'active' + * Return a CSS class name if certain conditions are met. Mainly useful to mark links as 'active' * * @param mixed $Target The variable to compare all values against * @param mixed $Tests The condition values. Type and dimension determines test type @@ -528,4 +528,4 @@ public static function torrent_label ($text, $class='') return sprintf('%2$s', display_str($class), display_str($text)); } -} \ No newline at end of file +} diff --git a/classes/class_torrent_form.php b/classes/class_torrent_form.php index 17fde2fc..8c0c80de 100644 --- a/classes/class_torrent_form.php +++ b/classes/class_torrent_form.php @@ -51,12 +51,12 @@ function head() {
NewTorrent) { ?>

- Your personal announce url is:
- + Your personal announce URL is:
+

Error) { - echo '

'.$this->Error.'

'; + echo '

'.$this->Error.'

'; } ?>
@@ -88,9 +88,9 @@ function head() { $Name) { ?> - + because @@ -141,7 +141,7 @@ function foot() { NewTorrent) { ?>

After uploading the torrent, you will have a one hour grace period during which no one other than you can fill requests with this torrent. Make use of this time wisely, and search the list of requests.

- NewTorrent) { echo "value=\"Upload torrent\""; } else { echo "value=\"Edit torrent\"";} ?> /> + NewTorrent) { echo 'value="Upload torrent"'; } else { echo 'value="Edit torrent"';} ?> /> @@ -192,14 +192,14 @@ function music_form($GenreTags) { Artist(s): - + $Artists) { foreach($Artists as $Artist) { ?> - Disabled?>/> - Disabled?> /> + Disabled?>/> - Disabled?> /> + Disabled?> /> -

Do not include the words remaster, re-issue, MSFL 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. +

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.

@@ -292,7 +292,7 @@ function show() { - + Disabled?> onblur="CheckYear();" /> This is the year of the original release. @@ -315,15 +315,13 @@ function show() { Please take the time to fill this out properly (try searching MusicBrainz). @@ -332,17 +330,17 @@ function show() { Edition information: - onclick="Remaster();NewTorrent) {?> CheckYear();" /> - Check this box if this torrent is a different release to the original, for example a limited or country specific edition or a release that includes additional bonus tracks or is a bonus disc. + onclick="Remaster();NewTorrent) {?> CheckYear();" /> +