case 'bugs': $type_style = 'font-weight:bold; color: #418b3f'; break; case 'features': $type_style = 'font-weight:bold; color: #4861ac'; break; } $upd_type = '<span style="' . $type_style . '">' . $type . '</span>'; echo $layout->tbl_start(); echo $layout->row(array('<b>' . txt('cp_updater_update_type') . '</b>', $upd_type)); echo $layout->row(array('<b>' . txt('cp_updater_update_info') . '</b>', $updater->get_msg())); echo $layout->tbl_end(); } echo $layout->subtitle(txt('cp_updater_download_last'), ICONS . 'download.png'); echo $layout->txtdesc(txt('cp_updater_desc_download')); echo $layout->button(txt('cp_updater_download_btn_www'), 'window.open(\'' . PHPOS_ONLINE . '?v=download\', \'_blank\')', 'download1'); echo $layout->button(txt('cp_updater_download_btn_git'), 'window.open(\'' . PHPOS_GITHUB . '\', \'_blank\')', 'download1'); echo $layout->tbl_start(); echo $layout->head(array('' => '50%', 'Link' => '50%')); echo $layout->row(array(txt('updater_tray_visit_www'), '<a href="' . PHPOS_ONLINE . '" target="_blank">' . PHPOS_ONLINE . '</a>')); echo $layout->row(array(txt('cp_updater_download_zip'), '<a href="' . $download_url . '" target="_blank">http://' . $updater->get_zip() . '</a>')); echo $layout->row(array('GitHUB:', '<a href="' . PHPOS_GITHUB . '" target="_blank">' . PHPOS_GITHUB . '</a>')); echo $layout->tbl_end(); echo $layout->end('column'); echo $layout->clr(); ?> <?php echo $layout->end('main'); ?>