To let TOOLS plugin to add tag to operation

This commit is contained in:
sparkyx 2022-11-19 18:28:07 +01:00
parent 0fbc7bfdfa
commit f43666dcb7

View file

@ -87,12 +87,13 @@ class Tag_Action extends Tag
/**
* let select a tag to add to the search
*/
function select_search($p_prefix)
function select_search($p_prefix,$title=true)
{
$res="";
$ret=$this->get_data()->seek(' order by t_tag');
require_once NOALYSS_TEMPLATE.'/tag_search_select.php';
return HtmlInput::title_box('Tag', $p_prefix.'tag_div').$res;
if ($title) return HtmlInput::title_box('Tag', $p_prefix.'tag_div').$res;
else return $res;
}
}