mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +02:00
Issue #2879 - Download category search label.
This commit is contained in:
@@ -41,7 +41,7 @@ class download_search extends e_search // include plugin-folder in the name.
|
|||||||
'table' => 'download AS d LEFT JOIN #download_category AS c ON d.download_category = c.download_category_id',
|
'table' => 'download AS d LEFT JOIN #download_category AS c ON d.download_category = c.download_category_id',
|
||||||
|
|
||||||
'advanced' => array(
|
'advanced' => array(
|
||||||
'cat' => array('type' => 'dropdown', 'text' => LAN_SEARCH_55, 'list'=>$catList),
|
'cat' => array('type' => 'dropdown', 'text' => LAN_SEARCH_63, 'list'=>$catList),
|
||||||
'date' => array('type' => 'date', 'text' => LAN_DATE_POSTED),
|
'date' => array('type' => 'date', 'text' => LAN_DATE_POSTED),
|
||||||
'author'=> array('type' => 'author', 'text' => LAN_SEARCH_61)
|
'author'=> array('type' => 'author', 'text' => LAN_SEARCH_61)
|
||||||
),
|
),
|
||||||
@@ -69,7 +69,7 @@ class download_search extends e_search // include plugin-folder in the name.
|
|||||||
|
|
||||||
$res = array();
|
$res = array();
|
||||||
|
|
||||||
$datestamp = $tp -> toDate($row['download_datestamp'], "long");
|
$datestamp = $tp->toDate($row['download_datestamp'], "long");
|
||||||
|
|
||||||
$res['link'] = e107::url('download', 'item', $row);
|
$res['link'] = e107::url('download', 'item', $row);
|
||||||
$res['pre_title'] = $tp->toHtml($row['download_category_name'],false,'TITLE_PLAIN')." | ";
|
$res['pre_title'] = $tp->toHtml($row['download_category_name'],false,'TITLE_PLAIN')." | ";
|
||||||
@@ -90,7 +90,7 @@ class download_search extends e_search // include plugin-folder in the name.
|
|||||||
* Optional - Advanced Where
|
* Optional - Advanced Where
|
||||||
* @param $parm - data returned from $_GET (ie. advanced fields included. in this case 'date' and 'author' )
|
* @param $parm - data returned from $_GET (ie. advanced fields included. in this case 'date' and 'author' )
|
||||||
*/
|
*/
|
||||||
function where($parm='')
|
function where($parm=array())
|
||||||
{
|
{
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user