From 019c241d081b535e38c103a67949ba9756d919b6 Mon Sep 17 00:00:00 2001 From: Git Date: Sat, 23 Feb 2013 08:00:22 +0000 Subject: [PATCH] Empty commit --- classes/class_format.php | 8 +- classes/class_torrent_form.php | 143 +++++++++--------- classes/class_torrents.php | 9 +- sections/artist/artist.php | 2 +- sections/better/better.php | 28 ++-- sections/better/files.php | 3 +- sections/better/folders.php | 5 +- sections/better/single.php | 3 + sections/better/snatch.php | 15 +- sections/better/tags.php | 3 +- sections/better/transcode.php | 10 +- sections/better/upload.php | 15 +- sections/blog/index.php | 2 +- sections/bookmarks/torrents.php | 2 +- sections/collages/collage.php | 2 +- sections/collages/new.php | 10 +- sections/tools/managers/permissions_alter.php | 2 +- sections/torrents/browse2.php | 127 +++++++++------- sections/torrents/details.php | 2 +- sections/torrents/edit.php | 14 +- sections/user/edit.php | 26 ++-- sections/user/linkedfunctions.php | 6 +- sections/user/notify_edit.php | 4 +- sections/user/takeinvite.php | 4 +- sections/user/user.php | 40 ++--- static/functions/browse.js | 27 ++++ static/functions/push_settings.js | 11 +- static/functions/script_start.js | 8 + static/styles/dark_ambient/style.css | 9 +- static/styles/mono/style.css | 9 ++ static/styles/proton/style.css | 10 +- static/styles/white.cd/style.css | 11 ++ 32 files changed, 326 insertions(+), 244 deletions(-) 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();" /> +