printHtml(); } else { $output .= '
'; $output .= html_print_button( __('Add widget'), 'add-widget-'.$cellData['id'], false, '', 'class="sub cog add-widget"', true ); $output .= '
'; $output .= \ui_print_info_message( __('Please select widget'), '', true ); $output .= '
'; } echo $output;