diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index f5a6bd7c..a0ae1ee4 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -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 diff --git a/sections/comments/take_edit.php b/sections/comments/take_edit.php index 1b3533b7..e201b65b 100644 --- a/sections/comments/take_edit.php +++ b/sections/comments/take_edit.php @@ -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 diff --git a/sections/forums/take_new_thread.php b/sections/forums/take_new_thread.php index 0f448b3c..e59e54ff 100644 --- a/sections/forums/take_new_thread.php +++ b/sections/forums/take_new_thread.php @@ -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); diff --git a/sections/forums/take_reply.php b/sections/forums/take_reply.php index d36eead2..8c79bbb7 100644 --- a/sections/forums/take_reply.php +++ b/sections/forums/take_reply.php @@ -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']; diff --git a/sections/forums/takeedit.php b/sections/forums/takeedit.php index 88622750..eadcf2b4 100644 --- a/sections/forums/takeedit.php +++ b/sections/forums/takeedit.php @@ -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 diff --git a/sections/torrents/details.php b/sections/torrents/details.php index 8d7ddc6a..03556029 100644 --- a/sections/torrents/details.php +++ b/sections/torrents/details.php @@ -730,7 +730,12 @@ function filelist($Str) { View download list View snatch list - + + + View file list View report information @@ -742,9 +747,11 @@ function filelist($Str) { -".$Text->full_format($Description).'';} + echo "\n
".$Text->full_format($Description).'
'; + } ?>