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 .
} ?>
-
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(); } ?>" />
+ 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.
>
if(check_perms('edit_unknowns') || $LoggedUser['ID'] == $Torrent['UserID']) { ?>
-
onclick="NewTorrent) {?> CheckYear(); } ?>ToggleUnknown();" /> Unknown Release
+
onclick="NewTorrent) {?> CheckYear(); } ?>ToggleUnknown();" />
Unknown Release
} ?>
if(!empty($GroupRemasters)) { ?>
-
>
+ >
-------
$LastLine = "";
@@ -366,25 +364,26 @@ function show() {
Year (required):
- />
+ />
Title:
- />
+ />
Title of the release (e.g. 'Deluxe Edition' or 'Remastered' ).
+
Record label:
- />
+ />
This is for the record label of the release (It may differ from the original).
Catalogue number:
- />
+ />
This is for the catalogue number of the release .
@@ -396,8 +395,8 @@ function show() {
Scene:
- />
- Check this only if this is a 'scene release'. If you ripped it yourself, it is not a scene release. If you are not sure, do not check it; you will be penalized. For information on the scene, visit Wikipedia .
+ />
+ Check this only if this is a 'scene release'. If you ripped it yourself, it is not a scene release. If you are not sure, do not check it; you will be penalized. For information on the scene, visit Wikipedia .
@@ -406,12 +405,12 @@ function show() {
---
foreach(Misc::display_array($this->Formats) as $Format) {
- echo "";
+ echo ' ';
echo $Format;
echo " \n";
- // $Format
+ // $Format
}
?>
@@ -440,17 +439,17 @@ function show() {
foreach(Misc::display_array($this->Bitrates) as $Bitrate) {
- echo "";
+ echo '>';
echo $Bitrate;
echo " \n";
} ?>
>
- onchange="AltBitrate()" />
+ onchange="AltBitrate()" />
/> (VBR)
@@ -491,9 +490,9 @@ function show() {
---
foreach($this->Media as $Media) {
- echo "";
+ echo ' ';
echo $Media;
echo " \n";
}
@@ -506,8 +505,8 @@ function show() {
Log/Cue:
- /> Check this box if the torrent has (or should have) a log file.
- /> Check this box if the torrent has (or should have) a cue file.
+ /> Check this box if the torrent has, or should have, a log file.
+ /> Check this box if the torrent has, or should have, a cue file.
}
global $LoggedUser;
@@ -524,7 +523,7 @@ function show() {
}
?>
- /> Check this box if you want this torrent to be trumpable (subtracts 1 point).
+ /> Check this box if you want this torrent to be trumpable (subtracts 1 point).
if (!check_perms('users_mod')) {
?>
@@ -538,40 +537,40 @@ function show() {
/* if($HasLog) { ?>
- Log Score
+ Log score
- Log Adjustment Reason
+ Log adjustment reason
- Contains reason for adjusting a score. This field is displayed on the torrent page .
+ Contains reason for adjusting a score. This field is displayed on the torrent page.
}*/?>
- Bad Tags:
- /> Check this box if the torrent has bad tags.
+ Bad tags:
+ /> Check this box if the torrent has bad tags.
- Bad Folder Names:
- /> Check this box if the torrent has bad folder names.
+ Bad folder names:
+ /> Check this box if the torrent has bad folder names.
- Bad File Names:
- /> Check this box if the torrent has bad file names.
+ Bad file names:
+ /> Check this box if the torrent has bad file names.
- Cassette Approved:
- /> Check this box if the torrent is an approved cassette rip.
+ Cassette approved:
+ /> Check this box if the torrent is an approved cassette rip.
- Lossy Master Approved:
- /> Check this box if the torrent is an approved lossy master.
+ Lossy master approved:
+ /> Check this box if the torrent is an approved lossy master.
- Lossy Web Approved:
- /> Check this box if the torrent is an approved lossy WEB release.
+ Lossy web approved:
+ /> Check this box if the torrent is an approved lossy WEB release.
}?>
if($this->NewTorrent) { ?>
@@ -579,14 +578,14 @@ function show() {
Tags:
if($GenreTags) { ?>
- Disabled?>>
+ Disabled?>>
---
foreach(Misc::display_array($GenreTags) as $Genre) { ?>
=$Genre ?>
} ?>
} ?>
- Disabled?>/>
+ Disabled?> />
Tags should be comma-separated, and you should use a period (".") to separate words inside a tag — e.g. "hip.hop ".
@@ -605,7 +604,7 @@ function show() {
Image (optional):
- Disabled?>/>
+ Disabled?> />
Album description:
@@ -658,9 +657,9 @@ function audiobook_form() {
---
foreach(Misc::display_array($this->Formats) as $Format) {
- echo "";
+ echo ' ';
echo $Format;
echo " \n";
}
@@ -684,18 +683,18 @@ function audiobook_form() {
$OtherBitrate = false;
}
foreach(Misc::display_array($this->Bitrates) as $Bitrate) {
- echo "";
+ echo '>';
echo $Bitrate;
echo " \n";
}
?>
- >
- onchange="AltBitrate()" />
+ >
+ onchange="AltBitrate()" />
/> (VBR)
@@ -709,7 +708,7 @@ function audiobook_form() {
Image (optional):
- Disabled?>/>
+ Disabled?> />
Description:
@@ -750,7 +749,7 @@ function simple_form($CategoryID) {
Image (optional):
- Disabled?>/>
+ Disabled?> />
Description:
diff --git a/classes/class_torrents.php b/classes/class_torrents.php
index a6aabbca..8b869d8e 100644
--- a/classes/class_torrents.php
+++ b/classes/class_torrents.php
@@ -393,13 +393,7 @@ public static function update_hash($GroupID) {
Leechers, LogScore, CAST(Scene AS CHAR), CAST(HasLog AS CHAR), CAST(HasCue AS CHAR),
CAST(FreeTorrent AS CHAR), Media, Format, Encoding,
RemasterYear, RemasterTitle, RemasterRecordLabel, RemasterCatalogueNumber,
- REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(FileList,
- '.flac{', ' .flac{'),
- '.mp3{', ' .mp3{'),
- '\n', ' \n'),
- '|||', '\n '),
- '_', ' ')
- AS FileList, $VoteScore, '".db_string($ArtistName)."'
+ REPLACE(FileList, '_', ' ') AS FileList, $VoteScore, '".db_string($ArtistName)."'
FROM torrents AS t
JOIN torrents_group AS g ON g.ID=t.GroupID
WHERE g.ID=$GroupID");
@@ -482,6 +476,7 @@ public static function filelist_format_file($File) {
list($Size, $Name) = $File;
$Name = Format::make_utf8(strtr($Name, "\n\r\t", " "));
$ExtPos = strrpos($Name, '.');
+ // Should not be $ExtPos !== false. Extensionless files that start with a . should not get extensions
$Ext = $ExtPos ? trim(substr($Name, $ExtPos+1)) : '';
return sprintf("%s s%ds %s %s", ".$Ext", $Size, $Name, self::filelist_delim());
}
diff --git a/sections/artist/artist.php b/sections/artist/artist.php
index 22573a2f..092b28c0 100644
--- a/sections/artist/artist.php
+++ b/sections/artist/artist.php
@@ -450,7 +450,7 @@ function compare($X, $Y){
}
$MasterName .= $AddExtra.display_str($Torrent['Media']);
?>
-
+
− =$MasterName?>
diff --git a/sections/better/better.php b/sections/better/better.php
index 27a93cf7..3a9c6c4c 100644
--- a/sections/better/better.php
+++ b/sections/better/better.php
@@ -5,21 +5,21 @@
Pursuit of Perfection
-
Here at What, we believe that there's always room for improvement, and to aid our effort in the pursuit of perfection we've put together a few simple lists that can help you build ratio, and help us improve our overall quality. Each list features 100 torrents at a time and updates every 15 minutes.
+
Here at What.CD, we believe that there's always room for improvement. To aid our effort in the pursuit of perfection, we've put together a few simple lists that can help you build ratio and help us improve our overall quality. Most lists feature 100 torrents at a time and update every 15 minutes.
Lists
Method
- Additional Info
+ Additional information
Transcoding V0
- When a perfect lossless rip is available and we don't have the 'perfect 3' .
+ When a perfect lossless rip is available and we don't have the "perfect 3" .
@@ -27,7 +27,7 @@
Transcoding V2
- When a perfect lossless rip is available and we don't have the 'perfect 3' .
+ When a perfect lossless rip is available and we don't have the "perfect 3" .
@@ -35,15 +35,15 @@
Transcoding 320
- When a perfect lossless rip is available and we don't have the 'perfect 3' .
+ When a perfect lossless rip is available and we don't have the "perfect 3" .
- Transcoding All
+ Transcoding all
- When a perfect lossless rip is available and we don't have any of the 'perfect 3'
+ When a perfect lossless rip is available and we don't have any of the "perfect 3"
@@ -67,31 +67,31 @@
Tags
- Torrents that have been marked as having 'Very bad tags' or 'No tags at all'.
+ Torrents that have been marked as having "Very bad tags" or "No tags at all".
- Folder Names
+ Folder names
- Torrents that have been marked as having 'Very bad folder names' or 'No folder names at all'.
+ Torrents that have been marked as having "Very bad folder names" or "No folder names at all".
- File Names
+ File names
- Torrents that have been marked as having 'Bad File Names'.
+ Torrents that have been marked as having "Bad File Names".
- Single seeded FLAC torrents
+ Single-seeded FLAC torrents
- FLAC torrents that only have one seeder, show them some love!
+ FLAC torrents that only have one seeder; show them some love!
diff --git a/sections/better/files.php b/sections/better/files.php
index 86f9c569..7aede0e0 100644
--- a/sections/better/files.php
+++ b/sections/better/files.php
@@ -33,6 +33,7 @@
} ?>
-
There are =count($TorrentsInfo)?> torrents remaining
+
There are =number_format(count($TorrentsInfo))?> torrents remaining
foreach ($TorrentsInfo as $TorrentID => $Info) {
diff --git a/sections/better/folders.php b/sections/better/folders.php
index b069c54f..c710fe25 100644
--- a/sections/better/folders.php
+++ b/sections/better/folders.php
@@ -33,6 +33,7 @@
} ?>
-
There are =count($TorrentsInfo)?> torrents remaining
+
There are =number_format(count($TorrentsInfo))?> torrents remaining
foreach ($TorrentsInfo as $TorrentID => $Info) {
@@ -74,7 +75,7 @@
$TorrentTags=''.$TagList.'
';
}
?>
- ">
+
DL
diff --git a/sections/better/single.php b/sections/better/single.php
index 7c5b5fe0..4a28c906 100644
--- a/sections/better/single.php
+++ b/sections/better/single.php
@@ -17,6 +17,9 @@
View::show_header('Single seeder FLACs');
?>
+
diff --git a/sections/better/snatch.php b/sections/better/snatch.php
index 99152a1b..a1769421 100644
--- a/sections/better/snatch.php
+++ b/sections/better/snatch.php
@@ -131,10 +131,11 @@
View::show_header('Transcode Snatches');
?>
@@ -142,9 +143,9 @@
Stats
- Number of perfect FLACs you can transcode: =$Counter['total']?>
- Number of missing transcodes: =$Counter['miss_total']?>
- Number of missing V2 / V0 / 320 transcodes: =$Counter['miss_V2 (VBR)']?> / =$Counter['miss_V0 (VBR)']?> / =$Counter['miss_320']?>
+ Number of perfect FLACs you can transcode: =number_format($Counter['total'])?>
+ Number of missing transcodes: =number_format($Counter['miss_total'])?>
+ Number of missing V2 / V0 / 320 transcodes: =number_format($Counter['miss_V2 (VBR)'])?> / =number_format($Counter['miss_V0 (VBR)'])?> / =number_format($Counter['miss_320'])?>
List
@@ -222,9 +223,9 @@
=$ExtraInfo?>
=$TorrentTags?>
-
=isset($Edition['Formats']['V2 (VBR)'])?'YES ':'NO '?>
-
=isset($Edition['Formats']['V0 (VBR)'])?'YES ':'NO '?>
-
=isset($Edition['Formats']['320'])?'YES ':'NO '?>
+
YES' : 'class="important_text">NO'?>
+
YES' : 'class="important_text">NO'?>
+
YES' : 'class="important_text">NO'?>
}
diff --git a/sections/better/tags.php b/sections/better/tags.php
index 570158d2..3724f462 100644
--- a/sections/better/tags.php
+++ b/sections/better/tags.php
@@ -33,6 +33,7 @@
} ?>
-
There are =count($TorrentsInfo)?> torrents remaining
+
There are =number_format(count($TorrentsInfo))?> torrents remaining
foreach($TorrentsInfo as $TorrentID => $Info) {
diff --git a/sections/better/transcode.php b/sections/better/transcode.php
index aba003ca..d50b5195 100644
--- a/sections/better/transcode.php
+++ b/sections/better/transcode.php
@@ -85,6 +85,9 @@
View::show_header('Transcode Search');
?>
+
+
Torrent
@@ -181,9 +185,9 @@
=$ExtraInfo?>
=$TorrentTags?>
- =isset($Edition['Formats']['V2 (VBR)']) ? 'YES ' : 'NO '?>
- =isset($Edition['Formats']['V0 (VBR)']) ? 'YES ' : 'NO '?>
- =isset($Edition['Formats']['320']) ? 'YES ' : 'NO '?>
+ YES' : 'class="important_text">NO'?>
+ YES' : 'class="important_text">NO'?>
+ YES' : 'class="important_text">NO'?>
}
diff --git a/sections/better/upload.php b/sections/better/upload.php
index 86bbbdbb..0ea54d5d 100644
--- a/sections/better/upload.php
+++ b/sections/better/upload.php
@@ -119,14 +119,17 @@
View::show_header('Transcode Uploads');
?>
+
Transcode uploaded torrents
Stats
- Number of perfect FLACs you can transcode: =$Counter['total']?>
- Number of missing transcodes: =$Counter['miss_total']?>
- Number of missing V2 / V0 / 320 transcodes: =$Counter['miss_V2 (VBR)']?> / =$Counter['miss_V0 (VBR)']?> / =$Counter['miss_320']?>
+ Number of perfect FLACs you can transcode: =number_format($Counter['total'])?>
+ Number of missing transcodes: =number_format($Counter['miss_total'])?>
+ Number of missing V2 / V0 / 320 transcodes: =number_format($Counter['miss_V2 (VBR)'])?> / =number_format($Counter['miss_V0 (VBR)'])?> / =number_format($Counter['miss_320'])?>
List
@@ -204,9 +207,9 @@
=$ExtraInfo?>
=$TorrentTags?>
-
=isset($Edition['Formats']['V2 (VBR)'])?'YES ':'NO '?>
-
=isset($Edition['Formats']['V0 (VBR)'])?'YES ':'NO '?>
-
=isset($Edition['Formats']['320'])?'YES ':'NO '?>
+
YES' : 'class="important_text">NO'?>
+
YES' : 'class="important_text">NO'?>
+
YES' : 'class="important_text">NO'?>
}
diff --git a/sections/blog/index.php b/sections/blog/index.php
index 869d990b..abd75b96 100644
--- a/sections/blog/index.php
+++ b/sections/blog/index.php
@@ -98,7 +98,7 @@
/>
Body
-
/>
Important
+
/>
Important
Thread ID
/>
(Leave blank to create thread automatically)
diff --git a/sections/bookmarks/torrents.php b/sections/bookmarks/torrents.php
index f70f41ff..5cf11ac3 100644
--- a/sections/bookmarks/torrents.php
+++ b/sections/bookmarks/torrents.php
@@ -353,7 +353,7 @@ function compare($X, $Y){
if($CollageCovers != 0) { ?>
-
Cover Art
+
Cover art
$Page1 = array_slice($Collage, 0, $CollageCovers);
diff --git a/sections/collages/collage.php b/sections/collages/collage.php
index 9fdb9b0e..b1c8b0ec 100644
--- a/sections/collages/collage.php
+++ b/sections/collages/collage.php
@@ -612,7 +612,7 @@ function compare($X, $Y){
if($CollageCovers != 0) { ?>
-
Cover Art
+
Cover art
$Page1 = array_slice($Collage, 0, $CollageCovers);
diff --git a/sections/collages/new.php b/sections/collages/new.php
index 80cbba90..59939757 100644
--- a/sections/collages/new.php
+++ b/sections/collages/new.php
@@ -2,7 +2,7 @@
View::show_header('Create a collage');
if (!check_perms('site_collages_renamepersonal')) {
- $ChangeJS = "OnChange=\"if ( this.options[this.selectedIndex].value == '0') { $('#namebox').hide(); $('#personal').show(); } else { $('#namebox').show(); $('#personal').hide(); }\"";
+ $ChangeJS = " onchange=\"if ( this.options[this.selectedIndex].value == '0') { $('#namebox').hide(); $('#personal').show(); } else { $('#namebox').show(); $('#personal').hide(); }\"";
}
$Name = $_REQUEST['name'];
@@ -18,7 +18,7 @@
if (!empty($Error)) { ?>
-
=display_str($Error)?>
+
=$Error?>
} ?>