<?php
    if ( ! defined( 'ABSPATH' ) ) {
        exit;
    }
?>

<div id="widget-modification-notice" class="update-nag clearfix awpcp-sticky-notice">
    <p><?php esc_html_e( 'Thank you for using AWP Classifieds Plugin.', 'another-wordpress-classifieds-plugin' ); ?>
    <p><?php esc_html_e( 'AWPCP 3.0 includes several modifications to the Search Ads, Featured Ads and Latest Ads widgets. For example, the Latest Ads widget can now be used in multiple sidebars. Also, there is a new Widget to show Random Ads.', 'another-wordpress-classifieds-plugin'); ?></p>
    <p><?php esc_html_e( 'Unfortunately, those changes could cause WordPress to recognize the new widgets as totally different ones, in which case, the old widgets would be removed from your sidebars. If you are currently using any of the AWPCP widgets, please review your sidebars configuration and make sure to restore any widget that is missing.', 'another-wordpress-classifieds-plugin' ); ?></p>

    <div class="actions">
        <?php $text = _x('Close this, I\'ll check my Widget configuration.', 'widget modification notice', 'another-wordpress-classifieds-plugin') ?>
        <p class="align-centered">
            <a id="link-dismiss" class="button-primary" title="<?php echo esc_attr( $text ); ?>" data-action="disable-widget-modification-notice"><?php echo esc_html( $text ); ?></a>
        </p>
    </div>
</div>
