<div id="dev-notice"><?php 
    _e("WPtouch Pro Developer Mode: ON", "wptouch-pro");
    ?>
</div>
		<?php 
}
?>
		<div id="wptouch-api-server-check"></div>
		<div id="wptouch-admin-top">
			<h2>
				<?php 
echo WPTOUCH_PRODUCT_NAME . ' <span class="version">' . WPTOUCH_VERSION;
?>
</span>
				<?php 
if (wptouch_is_upgrade_available()) {
    ?>
					<a id="upgrade-link" href="<?php 
    echo admin_url();
    ?>
plugins.php?plugin_status=upgrade"><?php 
    _e("Upgrade Available", "wptouch-pro");
    ?>
 &raquo;</a></li>
				<?php 
}
?>
			</h2>
			<?php 
wptouch_save_reset_notice();
?>
function wptouch_add_pro_notifications()
{
    global $wptouch_pro;
    // Check if licensed
    if (WPTOUCH_SIMULATE_ALL || !wptouch_has_license()) {
        if (wptouch_show_renewal_notice()) {
            $wptouch_pro->add_notification(__('License Expired', 'wptouch-pro'), __('Your product license has expired. Renew now to continue to receive feature and security updates.', 'wptouch-pro'), 'error', 'http://www.wptouch.com/renew/?utm_campaign=renew-notification&utm_medium=web&utm_source=wptouch');
        } else {
            if (wptouch_should_show_license_nag()) {
                $wptouch_pro->add_notification(__('License Missing', 'wptouch-pro'), __('This installation of WPtouch Pro is currently unlicensed.', 'wptouch-pro'), 'error', wptouch_admin_url('admin.php?page=wptouch-admin-license'));
            }
        }
    }
    // Plugin upgrade available
    $version = wptouch_is_upgrade_available();
    if (WPTOUCH_SIMULATE_ALL || $version) {
        if (!wptouch_has_license()) {
            if (wptouch_show_renewal_notice()) {
                $wptouch_pro->add_notification(sprintf(__('WPtouch Pro %s', 'wptouch-pro'), $version), __('A new version of WPtouch Pro is available. Renew your license to re-enable product updates.', 'wptouch-pro'), 'upgrade', 'http://www.wptouch.com/renew/');
            } else {
                if (wptouch_should_show_license_nag()) {
                    $wptouch_pro->add_notification(sprintf(__('WPtouch Pro %s', 'wptouch-pro'), $version), __('A new version of WPtouch Pro is available. Please activate or purchase a license to enable product updates.', 'wptouch-pro'), 'upgrade', 'http://www.wptouch.com/pricing/');
                }
            }
        } else {
            $wptouch_pro->add_notification(sprintf(__('WPtouch Pro %s', 'wptouch-pro'), $version), __('A new version of WPtouch Pro is available.', 'wptouch-pro'), 'upgrade', is_multisite() ? network_admin_url('plugins.php?plugin_status=upgrade') : wptouch_admin_url('plugins.php?plugin_status=upgrade'));
        }
    }
    // Theme upgrade available
    $available_themes = $wptouch_pro->get_available_themes(true);
    foreach ($available_themes as $name => $theme) {
        if (isset($theme->upgrade_available) && $theme->upgrade_available) {
            $wptouch_pro->add_notification(__('Theme Update Available', 'wptouch-pro'), __('One or more updates are available for your installed themes.', 'wptouch-pro'), 'upgrade', admin_url('admin.php?page=wptouch-admin-themes-and-addons'));
            break;
        }
    }
    // Add-on upgrade available
    $available_addons = $wptouch_pro->get_available_addons(true);
    foreach ($available_addons as $name => $addons) {
        if (isset($addons->upgrade_available) && $addons->upgrade_available) {
            $wptouch_pro->add_notification(__('Extension Update Available', 'wptouch-pro'), __('One or more updates are available for your installed extensions.', 'wptouch-pro'), 'upgrade', admin_url('admin.php?page=wptouch-admin-themes-and-addons'));
            break;
        }
    }
    // Error
    if (WPTOUCH_SIMULATE_ALL || function_exists('wptouch_init')) {
        $wptouch_pro->add_notification('WPtouch 1.x', __('WPtouch Pro 3 cannot co-exist with WPtouch 1.x. Disable it first in the WordPress Plugins settings.', 'wptouch-pro'), 'error', 'https://support.wptouch.com/support/solutions/articles/5000525434-known-incompatibilities');
    }
    // Error
    if (WPTOUCH_SIMULATE_ALL || defined('WPTOUCH_PRO_MIN_BACKUP_FILES')) {
        $wptouch_pro->add_notification('WPtouch 2.x', __('WPtouch Pro 3 cannot co-exist with WPtouch Pro 2.x. Disable it first in the WordPress Plugins settings.', 'wptouch-pro'), 'error', 'https://support.wptouch.com/support/solutions/articles/5000525434-known-incompatibilities');
    }
}