| @@ -1,6 +1,19 @@ | ||
| 1 | -<?php defined( 'ABSPATH' ) || exit; ?> | |
| 1 | +<?php | |
| 2 | +defined( 'ABSPATH' ) || exit; | |
| 2 | 3 | |
| 4 | +/** | |
| 5 | + * @var string $slug | |
| 6 | + * @var string $baseUrl | |
| 7 | + * @var string $logo | |
| 8 | + * @var string $dark_logo | |
| 9 | + * @var array $menuItems | |
| 10 | + * @var array $settings | |
| 11 | + * @var array $rightItems | |
| 12 | + * @var string $upgradeUrl | |
| 13 | + */ | |
| 14 | +?> | |
| 15 | + | |
| 3 | 16 | <div id="<?php echo esc_attr($slug); ?>-app" class="warp fconnector_app"> |
| 4 | 17 | <div class="fframe_app"> |
| 5 | 18 | <div class="fframe_main-menu-items"> |
| 6 | 19 | <div class="fframe_handheld"> |
| @@ -49,8 +62,13 @@ | ||
| 49 | 62 | <?php endforeach; ?> |
| 50 | 63 | </ul> |
| 51 | 64 | |
| 52 | 65 | <div class="fframe_settings"> |
| 66 | + <?php if (!empty($upgradeUrl)): ?> | |
| 67 | + <a class="fcal_upgrade_pro_btn" href="<?php echo esc_url($upgradeUrl); ?>" target="_blank" rel="noopener"> | |
| 68 | + <?php esc_html_e('Upgrade to Pro', 'fluent-booking'); ?> | |
| 69 | + </a> | |
| 70 | + <?php endif; ?> | |
| 53 | 71 | <div class="settings_menu_wrapper" data-key="color_mode"> |
| 54 | 72 | <a class="settings_menu fcal_color_mode" onclick="toggleColorMode()"> |
| 55 | 73 | <span class="el-icon"> |
| 56 | 74 | <svg class="fcal_light_icon" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> |