mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
reworke on e_search and added folder and language file
This commit is contained in:
@@ -85,7 +85,7 @@ class page_search extends e_search // include plugin-folder in the name.
|
|||||||
if(!empty($catList))
|
if(!empty($catList))
|
||||||
{
|
{
|
||||||
$search['advanced'] = array(
|
$search['advanced'] = array(
|
||||||
'cat' => array('type' => 'dropdown', 'text' => "Search in Book/Chapter", 'list'=>$catList),
|
'cat' => array('type' => 'dropdown', 'text' => LAN_PLUGIN_PAGE_BOCHAP, 'list'=>$catList),
|
||||||
// 'date'=> array('type' => 'date', 'text' => LAN_DATE_POSTED),
|
// 'date'=> array('type' => 'date', 'text' => LAN_DATE_POSTED),
|
||||||
// 'match'=> array('type' => 'dropdown', 'text' => LAN_SEARCH_52, 'list'=>$matchList)
|
// 'match'=> array('type' => 'dropdown', 'text' => LAN_SEARCH_52, 'list'=>$matchList)
|
||||||
);
|
);
|
||||||
|
3
e107_plugins/page/languages/English/English_global.php
Normal file
3
e107_plugins/page/languages/English/English_global.php
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
define("LAN_PLUGIN_PAGE_BOCHAP", "Search in Book/Chapter");
|
Reference in New Issue
Block a user