1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Merge pull request #3495 from yesszus/patch-2

Update English.php
This commit is contained in:
Cameron 2018-10-15 12:52:26 -07:00 committed by GitHub
commit 815c27c67b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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");
?>

View 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.
}
?>
?>

View File

@ -1,3 +1,4 @@
<?php
define("LAN_PLUGIN_PAGE_BOCHAP", "Search in Book/Chapter");
define("LAN_PLUGIN_PAGE_NAME", "Pages");