loadPlugin( 'smarty_function_biticon' ); $biticon = [ 'ipackage' => 'icons', 'iname' => 'emblem-important', 'iexplain' => 'Required', ]; $ret = \Bitweaver\Plugins\smarty_function_biticon( $biticon ); if( !empty( $pParams['legend'] )) { $ret = "

$ret ".KernelTools::tra( "Elements marked with this symbol are required." )."

"; } return $ret; }