From 9157dc5ec162e64c60ebe0063553342f42a43831 Mon Sep 17 00:00:00 2001 From: Git Date: Sat, 14 Apr 2012 08:00:26 +0000 Subject: [PATCH] Empty commit --- classes/class_torrent_form.php | 43 +----------------------------- sections/ajax/index.php | 3 +++ sections/index/private.php | 40 --------------------------- sections/reportsv2/array.php | 17 ------------ sections/reportsv2/takeresolve.php | 4 --- 5 files changed, 4 insertions(+), 103 deletions(-) diff --git a/classes/class_torrent_form.php b/classes/class_torrent_form.php index 85bea74e..43037f0d 100644 --- a/classes/class_torrent_form.php +++ b/classes/class_torrent_form.php @@ -190,13 +190,6 @@ function music_form($GenreTags) { $BadFiles = $Torrent['BadFiles']; $CassetteApproved = $Torrent['CassetteApproved']; $LossymasterApproved = $Torrent['LossymasterApproved']; - if (!$this->NewTorrent) { - $DB->query("SELECT UserID, Points FROM library_contest WHERE TorrentID = ".$this->TorrentID); - list($LibraryUser, $LibraryPoints) = $DB->next_record(); - } - if ($LibraryUser != "") { - $LibraryUpload = '1'; - } global $ReleaseTypes; ?> @@ -571,19 +564,7 @@ function show() { /> Check this box if the torrent is an approved lossy master. - - - - - - - - - +NewTorrent) { ?> @@ -643,14 +624,6 @@ function show() { function audiobook_form() { $Torrent = $this->Torrent; - if (!$this->NewTorrent) { - global $DB; - $DB->query("SELECT UserID, Points FROM library_contest WHERE TorrentID = ".$this->TorrentID); - list($LibraryUser, $LibraryPoints) = $DB->next_record(); - if ($LibraryUser != "") { - $LibraryUpload = '1'; - } - } ?>
Library Contest Upload - /> Check this box if the torrent is library contest upload. -
Library Contest Points - -
Tags
NewTorrent){ ?> @@ -717,20 +690,6 @@ function audiobook_form() { -NewTorrent && check_perms('users_mod')) {?> - - - - - - - - -NewTorrent) { ?> diff --git a/sections/ajax/index.php b/sections/ajax/index.php index 223931ac..aebd5445 100644 --- a/sections/ajax/index.php +++ b/sections/ajax/index.php @@ -71,6 +71,9 @@ case 'bookmarks': require(SERVER_ROOT.'/sections/ajax/bookmarks.php'); break; + case 'announcements': + require(SERVER_ROOT.'/sections/ajax/announcements.php'); + break; case 'notifications': require(SERVER_ROOT.'/sections/ajax/notifications.php'); break; diff --git a/sections/index/private.php b/sections/index/private.php index 9718bcb2..5dc11dfe 100644 --- a/sections/index/private.php +++ b/sections/index/private.php @@ -28,46 +28,6 @@ ?>
Library Contest Upload - /> Check this box if the torrent is library contest upload. -
Library Contest Points - -
Tags
- - - - - - - - - - - - -
PlaceUsernamePoints
- -
- Announcement -
- get_value('featured_album'); if($FeaturedAlbum === false) { diff --git a/sections/reportsv2/array.php b/sections/reportsv2/array.php index 29a0d748..d43d82ed 100644 --- a/sections/reportsv2/array.php +++ b/sections/reportsv2/array.php @@ -84,23 +84,6 @@ 'delete' => '0', 'pm' => '' ) - ), - 'library' => array( - 'priority' => '90', - 'title' => 'Library Contest Request', - 'report_messages' => array( - "Make sure to include a link to the image so we can verify it is a library upload.", - "Please indicate if this is a multi-disc upload in the Comments field. A simple 'yes' or 'no' will do." - ), - 'report_fields' => array( - 'image' => '1' - ), - 'resolve_options' => array( - 'upload' => '0', - 'warn' => '0', - 'delete' => '0', - 'pm' => "" - ) ) ), '1' => array( //Music Resolves diff --git a/sections/reportsv2/takeresolve.php b/sections/reportsv2/takeresolve.php index 817c7afb..2af4de68 100644 --- a/sections/reportsv2/takeresolve.php +++ b/sections/reportsv2/takeresolve.php @@ -168,10 +168,6 @@ $Cache->delete_value('torrents_details_'.$GroupID); $SendPM = true; } - if ($_POST['resolve_type'] == "library") { - $DB->query("INSERT INTO library_contest (UserID, TorrentID, Points) VALUES (".$UploaderID.", ".$TorrentID.", 1)"); - $SendPM = false; - } //Log and delete if(isset($Escaped['delete']) && check_perms('users_mod')) {