Empty commit

This commit is contained in:
Git 2013-11-25 08:00:49 +00:00
parent af4086f355
commit c1a2f0a83a
6 changed files with 23 additions and 5 deletions

View File

@ -1,5 +1,8 @@
CHANGE LOG
2013-11-25 by alderaan
Add a [Check private flag] button for torrents. Uncomment its HTML to use it. Note: Torrent files must be encoded in a certain way in the DB for this to work.
2013-11-23 by alderaan
Add a warning message when attempting to delete a personal collage

View File

@ -8,6 +8,10 @@
error(0);
}
if ($LoggedUser['DisablePosting']) {
error('Your posting privileges have been removed.');
}
Comments::edit((int)$_POST['postid'], $_POST['body']);
// This gets sent to the browser, which echoes it in place of the old body

View File

@ -38,7 +38,7 @@
$Body = $_POST['body'];
if ($LoggedUser['DisablePosting']) {
error('Your posting privileges have been removed');
error('Your posting privileges have been removed.');
}
$Title = Format::cut_string(trim($_POST['title']), 150, 1, 0);

View File

@ -43,7 +43,7 @@
$Body = $_POST['body'];
if (!empty($LoggedUser['DisablePosting'])) {
error('Your posting privileges have been removed');
error('Your posting privileges have been removed.');
}
$TopicID = $_POST['thread'];

View File

@ -24,6 +24,10 @@
}
// End injection check
if ($LoggedUser['DisablePosting']) {
error('Your posting privileges have been removed.');
}
// Variables for database input
$UserID = $LoggedUser['ID'];
$Body = $_POST['body']; //Don't URL Decode

View File

@ -730,7 +730,12 @@ function filelist($Str) {
<? if (check_perms('site_view_torrent_snatchlist')) { ?>
<a href="#" class="brackets tooltip" onclick="show_downloads('<?=$TorrentID?>', 0); return false;" title="View the list of users that have clicked the &quot;DL&quot; button.">View download list</a>
<a href="#" class="brackets tooltip" onclick="show_snatches('<?=$TorrentID?>', 0); return false;" title="View the list of users that have reported a snatch to the tracker.">View snatch list</a>
<? }?>
<?
}
if (check_perms('site_view_torrent_snatchlist')) {
?>
<!--<a href="#" class="brackets" id="checkprivate-<?=$TorrentID?>" onclick="check_private('<?=$TorrentID?>'); return false;">Check private flag</a>-->
<? } ?>
<a href="#" class="brackets" onclick="show_files('<?=$TorrentID?>'); return false;">View file list</a>
<? if ($Reported) { ?>
<a href="#" class="brackets" onclick="show_reported('<?=$TorrentID?>'); return false;">View report information</a>
@ -742,9 +747,11 @@ function filelist($Str) {
<div id="files_<?=$TorrentID?>" class="hidden"><?=$FileTable?></div>
<? if ($Reported) { ?>
<div id="reported_<?=$TorrentID?>" class="hidden"><?=$ReportInfo?></div>
<? }
<?
}
if (!empty($Description)) {
echo "\n<blockquote>".$Text->full_format($Description).'</blockquote>';}
echo "\n<blockquote>".$Text->full_format($Description).'</blockquote>';
}
?>
</td>
</tr>