| @@ -8,8 +8,9 @@ | ||
| 8 | 8 | * @var string $dark_logo |
| 9 | 9 | * @var array $menuItems |
| 10 | 10 | * @var array $settings |
| 11 | 11 | * @var array $rightItems |
| 12 | + * @var string $upgradeUrl | |
| 12 | 13 | */ |
| 13 | 14 | ?> |
| 14 | 15 | |
| 15 | 16 | <div id="<?php echo esc_attr($slug); ?>-app" class="warp fconnector_app"> |
| @@ -61,8 +62,13 @@ | ||
| 61 | 62 | <?php endforeach; ?> |
| 62 | 63 | </ul> |
| 63 | 64 | |
| 64 | 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; ?> | |
| 65 | 71 | <div class="settings_menu_wrapper" data-key="color_mode"> |
| 66 | 72 | <a class="settings_menu fcal_color_mode" onclick="toggleColorMode()"> |
| 67 | 73 | <span class="el-icon"> |
| 68 | 74 | <svg class="fcal_light_icon" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> |