<div class="label"><span class="wpmolicon icon-wpmoly"></span></div> <div class="content"><?php printf(__('Changes were made that affects the Permalinks. You should visit <a href="%s">WordPress Permalink</a> page to update the Rewrite rules; you may experience errors when trying to load pages using the new URL if the structures are not update correctly. Tip: you don\'t need to change anything in the Permalink page: simply loading it will update the rules.', 'wpmovielibrary'), admin_url('/options-permalink.php')); ?> </div> </div> <?php } if ('custom-pages' == $notice) { ?> <div class="update-nag wpmoly"> <div class="label"><span class="wpmolicon icon-wpmoly"></span></div> <div class="content"> <a id="dismiss-custom-pages-notice" href="<?php echo wpmoly_nonce_url(admin_url('/admin.php?page=wpmovielibrary-add-custom-pages&dismiss-custom-pages-notice=1'), 'dismiss-custom-pages-notice'); ?> "><span class="wpmolicon icon-no-alt"></span> <?php _e('Dismiss', 'wpmovielibrary'); ?> </a> <?php printf(__('<strong>New</strong>: you can now use custom pages to display movies and taxonomies archives pages. Go to the new "Archives" tab in your <a href="%s">Settings panel</a> to set up your own pages, or let WPMovieLibrary <a href="%s">create them</a> automatically.', 'wpmovielibrary'), admin_url('/admin.php?page=wpmovielibrary-settings'), admin_url('/admin.php?page=wpmovielibrary-add-custom-pages')); ?> </div> </div> <?php } if ('dismiss-custom-pages' == $notice) { ?>
<?php if (!is_null($post_type)) { ?> <p><?php printf(__('You can convert this %s to Movie to access WPMovieLibrary features without duplicating your content.', 'wpmovielibrary'), $post_type); ?> </p> <p id="wpmoly-convert-button"> <a href="<?php echo wpmoly_nonce_url(admin_url("post.php?post={$post_id}&action=edit&wpmoly_convert_post_type=1"), 'convert-post-type'); ?> " class="button button-primary button-large"><?php printf(__('Convert %s to Movie', 'wpmovielibrary'), $post_type); ?> </a> </p> <?php } else { ?> <?php do_action('wpmoly_before_metabox_content'); ?> <input type="hidden" id="wpmoly-autocomplete-collection" value="<?php echo wpmoly_o('collection-autocomplete'); ?> " /> <input type="hidden" id="wpmoly-autocomplete-genre" value="<?php echo wpmoly_o('genre-autocomplete'); ?>
</div> </div> <?php } else { ?> <div id="wpmoly_dashboard_existing_pages" class="postbox"> <h3 class="hndle"><span><?php _e('Create Archives Pages', 'wpmovielibrary'); ?> </span></h3> <div class="inside"> <div class="main"> <p></p> <p style="text-align:center"><a href="<?php echo wpmoly_nonce_url(admin_url('/admin.php?page=wpmovielibrary-add-custom-pages&create_pages=all'), 'create-custom-pages'); ?> " class="button button-primary button-hero button-wpmoly"><?php _e('Create Archives Pages', 'wpmovielibrary'); ?> </a></p> <p><?php _e('This will add four new pages to your site and set them as archives pages: "Movies", "Collections", "Genres" and "Actors".', 'wpmovielibrary'); ?> </p> </div> </div> </div> <?php }