printHtml(); } else { $output .= '
'; $output .= html_print_button( __('Add widget'), 'add-widget-'.$cellData['id'], false, '', [ 'icon' => 'cog', 'mode' => 'secondary mini', ], true ); $output .= '
'; $output .= \ui_print_info_message( __('Please select widget'), '', true ); $output .= '
'; } echo $output;