added: "edit" button on threads

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@616 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-06-30 19:56:32 +00:00
parent 16bb238518
commit d9f5fbaf04
6 changed files with 35 additions and 3 deletions

View File

@@ -129,15 +129,16 @@ void Content::PostFunEmacs()
bool adding = !request.is_item;
bool edit_with_url = ReadItem(request.item, Item::file);
if( adding )
SetUser(request.item); // set user before checking the rebus
if( !PostEmacsCheckAbuse(adding) )
return;
if( adding )
{
request.is_item = true;
request.item.privileges = 0644; // !! tymczasowo, bedzie uzyte umask
SetUser(request.item);
PostFunEmacsAdd(request.item);
}
else