| 1 |
<div class="weforms-settings clearfix" id="weforms-settings"> |
| 2 |
|
| 3 |
<h1><?php _e( 'Settings', 'weforms' ); ?></h1> |
| 4 |
<div id="weforms-settings-tabs-warp" class="<?php echo !function_exists( 'weforms_pro' ) ? 'weforms-pro-deactivate' : ''; ?>"> |
| 5 |
<div id="weforms-settings-tabs"> |
| 6 |
<ul> |
| 7 |
<?php |
| 8 |
|
| 9 |
$tabs = apply_filters( 'weforms_settings_tabs', array() ); |
| 10 |
|
| 11 |
foreach ( $tabs as $key => $tab ) : |
| 12 |
?> |
| 13 |
<li> |
| 14 |
<a |
| 15 |
href="#" |
| 16 |
:class="['we-settings-nav-tab', isActiveTab( '<?php echo $key; ?>' ) ? 'we-settings-nav-tab-active' : '']" |
| 17 |
v-on:click.prevent="makeActive( '<?php echo $key; ?>' )" |
| 18 |
> |
| 19 |
<?php |
| 20 |
|
| 21 |
if ( ! empty($tab['icon'] ) ) { |
| 22 |
printf('<img src="%s">', $tab['icon']); |
| 23 |
} |
| 24 |
?> |
| 25 |
<?php _e( $tab['label'], 'weforms' ); ?> |
| 26 |
</a> |
| 27 |
</li> |
| 28 |
|
| 29 |
<?php |
| 30 |
|
| 31 |
endforeach; |
| 32 |
|
| 33 |
do_action( 'weforms_settings_tabs_area' ); |
| 34 |
?> |
| 35 |
</ul> |
| 36 |
</div> |
| 37 |
|
| 38 |
<div id="weforms-settings-tabs-contents"> |
| 39 |
|
| 40 |
<?php |
| 41 |
|
| 42 |
foreach ( $tabs as $key => $tab ) : |
| 43 |
?> |
| 44 |
<div id="weforms-settings-<?php echo $key; ?>" class="tab-content" v-show="isActiveTab('<?php echo $key; ?>')"> |
| 45 |
<?php do_action( 'weforms_settings_tab_content_' . $key, $tab ); ?> |
| 46 |
</div> |
| 47 |
<?php |
| 48 |
|
| 49 |
endforeach; |
| 50 |
|
| 51 |
do_action( 'weforms_settings_tabs_contents' ); |
| 52 |
?> |
| 53 |
|
| 54 |
</div> |
| 55 |
</div> |
| 56 |
|
| 57 |
<?php if ( !function_exists( 'weforms_pro' ) ) : ?> |
| 58 |
|
| 59 |
<div id="weforms-settings-page-sidebar" class="weforms-settings-page-sidebar"> |
| 60 |
<div class="weforms-settings-page-sidebar-content"> |
| 61 |
<h2>Upgrade to <br><strong style="color:#57AB64">weForms Pro</strong></h2> |
| 62 |
|
| 63 |
<ul class="weforms-pro-features"> |
| 64 |
<li><span class="dashicons dashicons-yes"></span> Integration with email marketing solutions such as Aweber, GetResponse, ConvertKit etc.</li> |
| 65 |
<li><span class="dashicons dashicons-yes"></span> Connect with productivity tools such as Google Analytics, Zapier, Trello, Google Sheets.</li> |
| 66 |
<li><span class="dashicons dashicons-yes"></span> Manage payments directly from your forms with PayPal & Stripe.</li> |
| 67 |
<li><span class="dashicons dashicons-yes"></span> Integrate with popular CRM tools such as Zoho, Salesforce, HubSpot and better manage your relationship with your customers.</li> |
| 68 |
<li><span class="dashicons dashicons-yes"></span> Create quiz forms, calculate numbers directly in your form, set geolocation and more in weForms Pro.</li> |
| 69 |
</ul> |
| 70 |
|
| 71 |
<a href="https://wedevs.com/weforms-upgrade/" target="_blank" class="button button-primary">Get weForms Pro</a> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
|
| 75 |
<?php endif; ?> |
| 76 |
</div> |
| 77 |
|