query("SELECT tg.Name, wt.Image, wt.Body, tg.WikiImage, tg.WikiBody, tg.Year, tg.RecordLabel, tg.CatalogueNumber, tg.ReleaseType, tg.CategoryID FROM torrents_group AS tg LEFT JOIN wiki_torrents AS wt ON wt.RevisionID=tg.RevisionID WHERE tg.ID='$GroupID'"); if($DB->record_count() == 0) { error(404); } list($Name, $Image, $Body, $WikiImage, $WikiBody, $Year, $RecordLabel, $CatalogueNumber, $ReleaseType, $CategoryID) = $DB->next_record(); if(!$Body) { $Body = $WikiBody; $Image = $WikiImage; } show_header('Edit torrent group'); // Start printing form ?>

Edit

Image


Description



Edit summary


query("SELECT UserID FROM torrents WHERE GroupID = ".$GroupID); //Users can edit the group info if they've uploaded a torrent to the group or have torrents_edit if(in_array($LoggedUser['ID'], $DB->collect('UserID')) || check_perms('torrents_edit')) { ?>

Non-wiki group editing

This is for editing the information related to the original release only.
Year
Record label
Catalogue Number
Freeleech Group Reset Freeleech Neutralleech because

Rename (won't merge)

Merge with another group

Target Group ID