Esempio n. 1
0
<?php

require_once 'image-zoom-forms-helper.php';
$iz = ImageZoooom();
$iz_admin = new ImageZoooom_Admin();
$iz_forms_helper = new ImageZoooom_FormsHelper();
$assets_url = $iz->plugins_url() . '/assets';
$settings = get_option('zoooom_settings');
if ($settings == false) {
    $settings = $iz_admin->validate_settings(array());
}
$messages = $iz_admin->show_messages();
include_once 'premium-tooltips.php';
?>

<div class="wrap">

<h2>WP Image Zoom</h2>

<h2 class="nav-tab-wrapper woo-nav-tab-wrapper">

    <a href="?page=zoooom_settings&tab=general" class="nav-tab "><?php 
echo __('General Settings', 'zoooom');
?>
</a>

    <a href="?page=zoooom_settings&tab=settings" class="nav-tab nav-tab-active"><?php 
echo __('Zoom Settings');
?>
</a>
Esempio n. 2
0
<?php

require_once 'image-zoom-forms-helper.php';
$iz = ImageZoooom();
$iz_admin = new ImageZoooom_Admin();
$iz_forms_helper = new ImageZoooom_FormsHelper();
$assets_url = $iz->plugins_url() . '/assets';
$settings = $iz->get_option_general();
if ($settings == false) {
    $settings = $iz_admin->validate_general(null);
}
$messages = $iz_admin->show_messages();
include_once 'premium-tooltips.php';
?>
<style type="text/css">
    .form-group { display:flex; align-items: center; }
    .control-label{ height: auto; }
</style>

<script type="text/javascript">

    jQuery(document).ready(function($) {
        $('[data-toggle="tooltip"]').tooltip();
    });
</script>

<div class="wrap">

<h2>WP Image Zoom</h2>

<h2 class="nav-tab-wrapper woo-nav-tab-wrapper">