mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
commit
815c27c67b
@ -142,5 +142,4 @@ define("LAN_SUMMARY", "Summary"); // TODO more files use summary replace
|
||||
define("LAN_REQUIRED_BLANK", "Required field(s) were left blank.");
|
||||
define("LAN_PLEASEWAIT", "Please Wait");
|
||||
define("LAN_CHOOSE_FILE", "Choose a file");
|
||||
|
||||
?>
|
||||
|
@ -73,7 +73,7 @@ class page_search extends e_search // include plugin-folder in the name.
|
||||
}
|
||||
|
||||
$search = array(
|
||||
'name' => "Pages",
|
||||
'name' => LAN_PLUGIN_PAGE_NAME ,
|
||||
'table' => 'page AS p LEFT JOIN #page_chapters AS c ON p.page_chapter = c.chapter_id ',
|
||||
'return_fields' => array('p.page_id', 'p.page_title', 'p.page_sef', 'p.page_text', 'p.page_chapter', 'p.page_datestamp', 'p.menu_image'),
|
||||
'search_fields' => array('p.page_title' => '1.2', 'p.page_text' => '0.6', 'p.page_metakeys'=> '1.0', 'p.page_fields' => '0.5'), // fields and their weights.
|
||||
@ -174,4 +174,4 @@ class page_search extends e_search // include plugin-folder in the name.
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<?php
|
||||
|
||||
define("LAN_PLUGIN_PAGE_BOCHAP", "Search in Book/Chapter");
|
||||
define("LAN_PLUGIN_PAGE_NAME", "Pages");
|
||||
|
Loading…
x
Reference in New Issue
Block a user