PHPRunner 5.2
Using "old"-search one can show/hide search fields by declaring a BeforeShowSearch() event:
$xt->assign("SearchFieldName_fieldblock",$_SESSION["AccessLevel"]==ACCESS_LEVEL_ADMINGROUP);
This setting however does not affect/is not propagated to the adv_search_panel.
There are no events for adv_search_panel, which would make sense if existing events on search pages would propagate to adv_search_panel.
May I suggest a single/more uniform approach, or am I missing something?
see: topic/14217-hide-search-field-on-adv-search-panel