- added to Request: is_htmx_request (bool) - true if the request is made by htmx library (ajax)
- commented out using mount_page_arg_is "subject" and "info" from fun_cat.html and fun_run.html - they will be removed soon - some improvements in fun_reply.html, fun_showthreads.html and fun_thread.html (scrolling)
This commit is contained in:
@@ -95,6 +95,10 @@ void CreateThread::SendNotify(const Item & item)
|
||||
|
||||
void CreateThread::MakePost()
|
||||
{
|
||||
// is it a correct bahavior to set spam_score in session?
|
||||
// after the first mistake the person will not be allowed to post anything
|
||||
cur->session->spam_score = 0;
|
||||
|
||||
cur->request->item.Clear();
|
||||
functions->ReadItem(cur->request->item, Item::file);
|
||||
functions->SetUser(cur->request->item);
|
||||
|
Reference in New Issue
Block a user