var idTips = ['.$id.'];'; $output .= '
'; $output .= '
'; $output .= '

'.__('Hello! These are the tips of the day.').'

'; $output .= '

'.html_print_checkbox( 'show_tips_startup', true, true, true, false, '', false, '', ($preview === true) ? '' : 'checkbox_tips_startup' ).__('Show usage tips at startup').'

'; $output .= '
'; $output .= ''; $output .= '
'; $output .= '

'.$title.'

'; $output .= '

'; $output .= $text; $output .= '

'; if (empty($url) === false && $url !== '') { $output .= ''.__('See more info').''; } $output .= '
'; $output .= '
'; // TODO Delete this buttons and use html_print_button when merge new design $output .= ''; $output .= '
'; $output .= html_print_image('images/arrow-left-grey.png', true, ['class' => 'arrow_counter']); $output .= html_print_image('images/arrow-right-grey.png', true, ['class' => 'arrow_counter']); $output .= '
'; if ($preview === true) { $output .= ''; } else { $output .= ''; } $output .= '
'; $output .= '
'; echo $output;