Empty commit

This commit is contained in:
Git 2012-10-02 08:00:20 +00:00
parent beba5c42e2
commit c7259b0d25
3 changed files with 5 additions and 6 deletions

View File

@ -20,7 +20,8 @@
die();
}
$Reason = "[b]Year[/b]: ".$_POST['year'].".\n\n";
$Reason .= "[b]Release Type[/b]: ".((empty($_POST['releasetype']) || !is_number($_POST['releasetype']) || $_POST['releasetype'] == 0)) ? 'Not given' : $ReleaseTypes[$_POST['releasetype']]."\n\n";
// If the release type is somehow invalid, return "Not given"; otherwise, return the release type.
$Reason .= "[b]Release Type[/b]: ".((empty($_POST['releasetype']) || !is_number($_POST['releasetype']) || $_POST['releasetype'] == 0) ? 'Not given' : $ReleaseTypes[$_POST['releasetype']]).".\n\n";
$Reason .= "[b]Additional Comments[/b]: ".$_POST['comment'];
} else {
$Reason = $_POST['reason'];

View File

@ -448,9 +448,9 @@ function filelist($Str) {
$FileList = str_replace(array('_','-'), ' ', $FileList);
$FileList = str_replace('|||','<tr><td>',display_str($FileList));
$FileList = preg_replace_callback('/\{\{\{([^\{]*)\}\}\}/i','filelist',$FileList);
$FileList = '<table class="filelist_table" style="overflow-x:auto;"><tr class="colhead_dark"><td><strong><div style="float: left; display: block;">File Name'.(check_perms('users_mod') ? ' [<a href="torrents.php?action=regen_filelist&amp;torrentid='.$TorrentID.'">Regenerate</a>]' : '').'</div></strong><div style="float:right; display:block;">'.(empty($FilePath) ? '' : '/'.$FilePath.'/' ).'</div></td><td><strong>Size</strong></td></tr><tr><td>'.$FileList."</table>";
$FileList = '<table class="filelist_table" style="overflow-x:auto;"><tr class="colhead_dark"><td><div style="float: left; display: block; font-weight: bold;">File Name'.(check_perms('users_mod') ? ' [<a href="torrents.php?action=regen_filelist&amp;torrentid='.$TorrentID.'">Regenerate</a>]' : '').'</div><div style="float:right; display:block;">'.(empty($FilePath) ? '' : '/'.$FilePath.'/' ).'</div></td><td><strong>Size</strong></td></tr><tr><td>'.$FileList."</table>";
$ExtraInfo=''; // String that contains information on the torrent, eg. format and encoding
$ExtraInfo=''; // String that contains information on the torrent (e.g. format and encoding)
$AddExtra=''; // Separator between torrent properties
$TorrentUploader = $Username; // Save this for "Uploaded by:" below

View File

@ -665,9 +665,7 @@
$LogQuery .= implode('),(', $LogScores).')';
$DB->query($LogQuery);
$LogInDB = true;
}/* elseif ($HasLog) {
send_irc("PRIVMSG #taste :!logs $TorrentID");
}*/
}
//******************************************************************************//
//--------------- Stupid Recent Uploads ----------------------------------------//