From b6c5857f33a1b46c2f25a0b8b4f438abbd3ddea5 Mon Sep 17 00:00:00 2001 From: Git Date: Thu, 7 Mar 2013 08:00:21 +0000 Subject: [PATCH] Empty commit --- gazelle.sql | 6 ++++++ sections/bookmarks/torrents.php | 4 ++-- sections/collages/collage.php | 4 ++-- sections/top10/torrents.php | 2 +- sections/top10/votes.php | 4 ++-- sections/torrents/browse2.php | 2 +- sections/torrents/notify.php | 2 +- sections/torrents/takegroupedit.php | 2 +- sections/torrents/user.php | 2 +- 9 files changed, 17 insertions(+), 11 deletions(-) diff --git a/gazelle.sql b/gazelle.sql index 15a10bc3..0d44d3ce 100644 --- a/gazelle.sql +++ b/gazelle.sql @@ -883,6 +883,12 @@ CREATE TABLE `tags` ( KEY `UserID` (`UserID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +CREATE TABLE `temp_torrents_files` ( + `TorrentID` int(10) NOT NULL, + `File` mediumblob NOT NULL, + PRIMARY KEY (`TorrentID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + CREATE TABLE `top10_history` ( `ID` int(10) NOT NULL AUTO_INCREMENT, `Date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', diff --git a/sections/bookmarks/torrents.php b/sections/bookmarks/torrents.php index 266e3bac..371ff3c1 100644 --- a/sections/bookmarks/torrents.php +++ b/sections/bookmarks/torrents.php @@ -60,7 +60,7 @@ function compare($X, $Y){ } else { $DisplayName = ''; } - $DisplayName .= ''.$GroupName.''; + $DisplayName .= ''.$GroupName.''; if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';} if($GroupVanityHouse) { $DisplayName .= ' [VH]'; } $SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : ''; @@ -172,7 +172,7 @@ function compare($X, $Y){ list($TorrentID, $Torrent) = each($Torrents); - $DisplayName = ''.$GroupName.''; + $DisplayName = ''.$GroupName.''; if ($Torrent['IsSnatched']) { $DisplayName .= ' ' . Format::torrent_label('Snatched!'); diff --git a/sections/collages/collage.php b/sections/collages/collage.php index 76896f47..7e214bfe 100644 --- a/sections/collages/collage.php +++ b/sections/collages/collage.php @@ -144,7 +144,7 @@ function compare($X, $Y){ $DisplayName .= Artists::display_artists(array('1'=>$GroupArtists)); } - $DisplayName .= ''.$GroupName.''; + $DisplayName .= ''.$GroupName.''; if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';} if($GroupVanityHouse) { $DisplayName .= ' [VH]'; } $SnatchedGroupClass = $GroupFlags['IsSnatched'] ? ' snatched_group' : ''; @@ -248,7 +248,7 @@ function compare($X, $Y){ list($TorrentID, $Torrent) = each($Torrents); - $DisplayName = ''.$GroupName.''; + $DisplayName = ''.$GroupName.''; if ($Torrent['IsSnatched']) { $DisplayName .= ' ' . Format::torrent_label('Snatched!'); diff --git a/sections/top10/torrents.php b/sections/top10/torrents.php index b4a3f201..84a1dc84 100644 --- a/sections/top10/torrents.php +++ b/sections/top10/torrents.php @@ -433,7 +433,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) { $DisplayName = Artists::display_artists($Artists[$GroupID], true, true); } - $DisplayName.= "$GroupName"; + $DisplayName.= "$GroupName"; if($GroupCategoryID==1 && $GroupYear>0) { $DisplayName.= " [$GroupYear]"; diff --git a/sections/top10/votes.php b/sections/top10/votes.php index 43281de1..203cd985 100644 --- a/sections/top10/votes.php +++ b/sections/top10/votes.php @@ -181,7 +181,7 @@ $DisplayName .= Artists::display_artists(array('1'=>$GroupArtists)); } - $DisplayName .= ''.$GroupName.''; + $DisplayName .= ''.$GroupName.''; if($GroupYear>0) { $DisplayName = $DisplayName. ' ['. $GroupYear .']';} if($GroupVanityHouse) { $DisplayName .= ' [VH]'; } // Start an output buffer, so we can store this output in $TorrentTable @@ -306,7 +306,7 @@ list($TorrentID, $Torrent) = each($Torrents); $Torrent['IsSnatched'] = Torrents::has_snatched($TorrentID); - $DisplayName = $Number .' - '.$GroupName.''; + $DisplayName = $Number .' - '.$GroupName.''; if($Torrent['IsSnatched']) { $DisplayName .= ' ' . Format::torrent_label('Snatched!'); } diff --git a/sections/torrents/browse2.php b/sections/torrents/browse2.php index d783cd4c..a70cd30c 100644 --- a/sections/torrents/browse2.php +++ b/sections/torrents/browse2.php @@ -1073,7 +1073,7 @@ function header_link($SortKey,$DefaultWay="desc") { // Viewing a type that does not require grouping list($TorrentID, $Data) = each($Torrents); - $DisplayName .= ''.$GroupName.''; + $DisplayName .= ''.$GroupName.''; if (isset($GroupedCategories[$CategoryID-1])) { if ($GroupYear) { $DisplayName .= " [".$GroupYear."]"; diff --git a/sections/torrents/notify.php b/sections/torrents/notify.php index 3e0ce24e..4921e768 100644 --- a/sections/torrents/notify.php +++ b/sections/torrents/notify.php @@ -228,7 +228,7 @@ function header_link($SortKey, $DefaultWay = "desc") { : ''; $DisplayName = Artists::display_artists($GroupInfo['ExtendedArtists'], true, true); } - $DisplayName .= "".$GroupInfo['Name'].""; + $DisplayName .= "".$GroupInfo['Name'].""; $GroupCategoryID = $GroupInfo['CategoryID']; if ($GroupCategoryID == 1) { diff --git a/sections/torrents/takegroupedit.php b/sections/torrents/takegroupedit.php index 027b0b0c..546b3de8 100644 --- a/sections/torrents/takegroupedit.php +++ b/sections/torrents/takegroupedit.php @@ -58,7 +58,7 @@ if ( $_POST['vanity_house'] && check_perms('torrents_edit_vanityhouse') ) { $VanityHouse = ( isset($_POST['vanity_house']) ? 1 : 0 ); } else { - $VanityHouse = 0; + $VanityHouse = $OldVH; } if(($GroupInfo = $Cache->get_value('torrents_details_'.$GroupID)) && !isset($GroupInfo[0][0])) { diff --git a/sections/torrents/user.php b/sections/torrents/user.php index 2676b3ff..32fe990c 100644 --- a/sections/torrents/user.php +++ b/sections/torrents/user.php @@ -440,7 +440,7 @@ function header_link($SortKey,$DefaultWay="DESC") { } else { $DisplayName=''; } - $DisplayName.=''.$GroupName.''; + $DisplayName.=''.$GroupName.''; if($GroupYear>0) { $DisplayName.=" [".$GroupYear."]"; } if($GroupVanityHouse) { $DisplayName .= ' [VH]'; }