- foreach($UsedReleases as $ReleaseID) {
+ foreach ($UsedReleases as $ReleaseID) {
switch($ReleaseTypes[$ReleaseID]) {
case "Remix" :
$DisplayName = "Remixes";
@@ -295,7 +299,7 @@ function compare($X, $Y){
$TorrentTags = new Tags($TagList, false);
- if($ReleaseType!=$LastReleaseType) {
+ if ($ReleaseType != $LastReleaseType) {
switch($ReleaseTypes[$ReleaseType]) {
case "Remix" :
$DisplayName = "Remixes";
@@ -312,7 +316,7 @@ function compare($X, $Y){
}
$ReleaseTypeLabel = strtolower(str_replace(' ','_',$ReleaseTypes[$ReleaseType]));
- if($OpenTable) { ?>
+ if ($OpenTable) { ?>
} ?>
@@ -330,7 +334,7 @@ function compare($X, $Y){
$DisplayName =''.$GroupName.'';
- if(check_perms('users_mod') || check_perms('torrents_fix_ghosts')) {
+ if (check_perms('users_mod') || check_perms('torrents_fix_ghosts')) {
$DisplayName .= ' Fix';
}
@@ -344,17 +348,17 @@ function compare($X, $Y){
unset($ExtendedArtists[2]);
unset($ExtendedArtists[3]);
$DisplayName = Artists::display_artists($ExtendedArtists).$DisplayName;
- } elseif(count($GroupArtists)>0) {
+ } elseif (count($GroupArtists) > 0) {
$DisplayName = Artists::display_artists(array(1 => $Artists), true, true).$DisplayName;
}
break;
- case 1022: // Show performers on composer pages
+ case 1022: // Show performers on composer pages
if (!empty($ExtendedArtists[1]) || !empty($ExtendedArtists[4]) || !empty($ExtendedArtists[5])) {
unset($ExtendedArtists[4]);
unset($ExtendedArtists[3]);
unset($ExtendedArtists[6]);
$DisplayName = Artists::display_artists($ExtendedArtists).$DisplayName;
- } elseif(count($GroupArtists)>0) {
+ } elseif (count($GroupArtists) > 0) {
$DisplayName = Artists::display_artists(array(1 => $Artists), true, true).$DisplayName;
}
break;
@@ -364,9 +368,13 @@ function compare($X, $Y){
}
}
- if($GroupYear>0) { $DisplayName = $GroupYear. ' - '.$DisplayName; }
+ if ($GroupYear > 0) {
+ $DisplayName = $GroupYear. ' - '.$DisplayName;
+ }
- if($GroupVanityHouse) { $DisplayName .= ' [VH]'; }
+ if ($GroupVanityHouse) {
+ $DisplayName .= ' [VH]';
+ }
$SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : '';
?>
@@ -410,8 +418,9 @@ function compare($X, $Y){
}
$SnatchedTorrentClass = $Torrent['IsSnatched'] ? ' snatched_torrent' : '';
- if($Torrent['RemasterTitle'] != $LastRemasterTitle || $Torrent['RemasterYear'] != $LastRemasterYear ||
- $Torrent['RemasterRecordLabel'] != $LastRemasterRecordLabel || $Torrent['RemasterCatalogueNumber'] != $LastRemasterCatalogueNumber || $FirstUnknown || $Torrent['Media'] != $LastMedia) {
+ if ($Torrent['RemasterTitle'] != $LastRemasterTitle || $Torrent['RemasterYear'] != $LastRemasterYear ||
+ $Torrent['RemasterRecordLabel'] != $LastRemasterRecordLabel || $Torrent['RemasterCatalogueNumber'] !=
+ $LastRemasterCatalogueNumber || $FirstUnknown || $Torrent['Media'] != $LastMedia) {
$EditionID++;
@@ -445,7 +454,7 @@ function compare($X, $Y){
}
}
-if(!empty($TorrentList)) { ?>
+if (!empty($TorrentList)) { ?>
}
@@ -481,7 +490,7 @@ function compare($X, $Y){
}
}
-if (Bookmarks::has_bookmarked('artist', $ArtistID)) {
+ if (Bookmarks::has_bookmarked('artist', $ArtistID)) {
?>