mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
new module creation
This commit is contained in:
17
e107_plugins/forum/e_search.php
Normal file
17
e107_plugins/forum/e_search.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
if (file_exists(e_PLUGIN."forum/languages/".e_LANGUAGE."/lan_forum_search.php")) {
|
||||
include_once(e_PLUGIN."forum/languages/".e_LANGUAGE."/lan_forum_search.php");
|
||||
} else {
|
||||
include_once(e_PLUGIN."forum/languages/English/lan_forum_search.php");
|
||||
}
|
||||
$search_info[] = array(
|
||||
'sfile' => e_PLUGIN.'forum/search/search_parser.php',
|
||||
'qtype' => FOR_SCH_LAN_1,
|
||||
'refpage' => 'forum',
|
||||
'advanced' => e_PLUGIN.'forum/search/search_advanced.php',
|
||||
'id' => 'forum'
|
||||
);
|
||||
|
||||
?>
|
Reference in New Issue
Block a user