+ Changed generating last post and post count in forum and topic.php
+ Deleted not used template file: post_add_body.tpl + Replaced MCP images git-svn-id: https://svn.pioder.pl/uf-svn/uF@21 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
@@ -48,6 +48,7 @@ switch(trim($_GET['action']))
|
||||
Secure::topic_exists($tid);
|
||||
$fid = Topic::TopicInformation($tid,'f_id');
|
||||
Mod::DeleteTopic($tid);
|
||||
TriggerStats($fid, 1);
|
||||
$stop = TimeGeneration();
|
||||
message_forum($lng['tdeleted'], 'forum.php?f='.$fid);
|
||||
break;
|
||||
@@ -79,6 +80,7 @@ switch(trim($_GET['action']))
|
||||
if ($tpid >1)
|
||||
{
|
||||
Mod::DeletePost($pid);
|
||||
TriggerStats($tid, 2);
|
||||
}
|
||||
$stop = TimeGeneration();
|
||||
message_forum($lng['pdeleted'],'topic.php?t='.$tid);
|
||||
@@ -109,7 +111,10 @@ switch(trim($_GET['action']))
|
||||
if (isset($_POST['forum_id']))
|
||||
{
|
||||
$fid = $_POST['forum_id'];
|
||||
$f_id = Topic::TopicInformation($tid, 'f_id');
|
||||
Mod::MoveTopic($tid,$fid);
|
||||
TriggerStats($fid, 1);
|
||||
TriggerStats($f_id, 1);
|
||||
message_forum($lng['topic_moved'],'topic.php?t='.$tid);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user