Beispiel #1
0
function cc_migration_notice()
{
    if (CC_Admin_Notifications::show('cart66_migration')) {
        ?>
        <div class="error">
            <p><strong><?php 
        _e('Migrating To Cart66 2.0', 'cart66');
        ?>
</strong></p>

            <p><?php 
        _e('The membership content restriction features have been moved into their own free plugin add-on.', 'cart66');
        ?>
<br>
            <?php 
        _e('If you are using content restriction features please <a href="http://cart66.com/add-ons/cart66-members-latest.zip">download and install the Cart66 Members add-on</a>.', 'cart66');
        ?>
</p>

            <p><?php 
        _e('Would you like to migrate your old Cart66 settings to Cart66 2.0 now?', 'cart66');
        ?>
</p>

            <p>
                <a href="http://cart66.com/tutorials/cart66-migration" class="button"><?php 
        _e('More information', 'cart66');
        ?>
</a>
                <a href="<?php 
        echo add_query_arg('cc-task', 'migrate_settings');
        ?>
" class="button"><?php 
        _e('Migrate Settings', 'cart66');
        ?>
</a>
                <a href="<?php 
        echo add_query_arg('cc-task', 'dismiss_notification_migration');
        ?>
" class="button"><?php 
        _e('Dismiss this message', 'cart66');
        ?>
</a>
            </p>
        </div>
        <?php 
    }
}