mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 15:31:41 +02:00
#220 - First batch of forum LAN rewrite: forum, viewforum, viewtopic and post are done. Work in progress! (#6)
This commit is contained in:
@@ -21,6 +21,7 @@ if(!USER)
|
||||
header("location:".e_BASE.$PLUGINS_DIRECTORY."forum/forum.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_uploads.php');
|
||||
|
||||
if(is_array($_POST['delete']))
|
||||
@@ -53,7 +54,7 @@ if($msg)
|
||||
$fi = new e_file;
|
||||
$mask = ".*_".USERID."_FT.*";
|
||||
$fileList = $fi->get_files(e_UPLOAD, $mask);
|
||||
if($sql->db_Select('forum_thread','thread_id, thread_thread, thread_parent', "thread_thread REGEXP '.*_".USERID."_FT.*'"))
|
||||
if($sql->db_Select('forum_thread','thread_id, thread_thread, thread_parent', "thread_thread REGEXP '.*_".USERID."_FT.*'")) // FIXME new forum db structure
|
||||
{
|
||||
$threadList = $sql->db_getList();
|
||||
}
|
||||
|
Reference in New Issue
Block a user