| 1 |
<div id="cooked-welcome-screen"> |
| 2 |
<div class="wrap about-wrap"> |
| 3 |
<div id="cooked-welcome-panel" class="cooked-welcome-panel"> |
| 4 |
|
| 5 |
<img src="<?php echo esc_url( apply_filters( 'cooked_welcome_banner_img', COOKED_URL . '/assets/admin/images/welcome-banner.png' ) ); ?>" class="cooked-welcome-banner"> |
| 6 |
|
| 7 |
<div class="cooked-welcome-panel-intro"> |
| 8 |
<h1><?php |
| 9 |
/* translators: referring to "Cooked" */ |
| 10 |
echo sprintf( esc_html__( 'Thanks for using %s!', 'cooked'), 'Cooked' ); |
| 11 |
?></h1> |
| 12 |
<?php |
| 13 |
echo wp_kses_post( wpautop( |
| 14 |
sprintf( |
| 15 |
/* translators: 1: plugin name, 2: Settings link, 3: documentation link, 4: Discord link */ |
| 16 |
__('If this is your first time using %1$s, head over to the %2$s page for some initial configuration. You can also check out the %3$s if you get stuck or contact me on %4$s. If you just recently updated, you can find out what\'s new below.', 'cooked'), |
| 17 |
'Cooked', |
| 18 |
'<a href="' . untrailingslashit( esc_url( admin_url() ) ) . '/admin.php?page=cooked_settings">' . __( 'Settings', 'cooked' ) . '</a>', |
| 19 |
'<a href="https://docs.cooked.pro/" target="_blank">' . __( 'documentation', 'cooked' ) . '</a>' , |
| 20 |
'<a href="https://discord.gg/qdGwXaXxc6" target="_blank">' . __( 'Discord', 'cooked' ) . '</a>' |
| 21 |
) |
| 22 |
) ); |
| 23 |
?> |
| 24 |
</div> |
| 25 |
|
| 26 |
<div class="cooked-welcome-panel-content"> |
| 27 |
<div class="cooked-welcome-panel-column-container"> |
| 28 |
<div class="cooked-welcome-panel-column"> |
| 29 |
<h4><?php esc_html_e( 'Quick Links', 'cooked' ); ?></h4> |
| 30 |
<ul> |
| 31 |
<li><i class="cooked-icon cooked-icon-link-lt cooked-icon-fw"></i> <a href="https://docs.cooked.pro/" target="_blank"><?php esc_html_e( 'Documentation','cooked' ); ?></a></li> |
| 32 |
<li><i class="cooked-icon cooked-icon-comment cooked-icon-fw"></i> <a href="https://discord.gg/qdGwXaXxc6" target="_blank"><?php esc_html_e( 'Discord','cooked' ); ?></a></li> |
| 33 |
<li><i class="cooked-icon cooked-icon-gear cooked-icon-fw"></i> <a href="<?php echo esc_url( admin_url('admin.php?page=cooked_settings') ); ?>"><?php esc_html_e('Cooked Settings','cooked'); ?></a></li> |
| 34 |
<li><i class="cooked-icon cooked-icon-pencil cooked-icon-fw"></i> <a href="<?php echo esc_url( admin_url('post-new.php?post_type=cp_recipe') ); ?>"><?php esc_html_e('Create a Recipe','cooked'); ?></a></li> |
| 35 |
<?php if ( !class_exists( 'Cooked_Pro_Plugin' ) ): ?><li class="cooked-pro"><i class="cooked-icon cooked-icon-star-lg cooked-icon-fw"></i> <a href="<?php echo esc_url( admin_url('admin.php?page=cooked_pro') ); ?>"><?php esc_html_e('Upgrade to Pro','cooked'); ?></a></li><?php endif; ?> |
| 36 |
</ul> |
| 37 |
</div> |
| 38 |
<div class="cooked-welcome-panel-column cooked-welcome-panel-last"> |
| 39 |
<?php do_action( 'cooked_welcome_before_changelog' ); ?> |
| 40 |
<?php echo wp_kses_post( Cooked_Functions::parse_readme_changelog() ); ?> |
| 41 |
<?php do_action( 'cooked_welcome_after_changelog' ); ?> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|
| 46 |
</div> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
|