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, '', 'checkbox_tips_startup' ).__('Show usage tips at startup').'

'; $output .= '
'; $output .= '
'; $output .= '
'; if ($files !== false) { foreach ($files as $key => $file) { $output .= html_print_image($file['path'].$file['filename'], true); } } $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 .= '
'; $output .= ''; $output .= '
'; $output .= '
'; echo $output;