<?php echo wpbdp_admin_header(_x('Uninstall Business Directory', 'admin uninstall', 'WPBDM')); ?> <?php wpbdp_admin_notices(); ?> <p><?php _ex("Uninstall completed.", 'admin uninstall', "WPBDM"); ?> </p> <p><a href="<?php echo admin_url(); ?> "><?php _ex('Return to Dashboard.', 'admin uninstall', 'WPBDM'); ?> </p> <?php echo wpbdp_admin_footer();
private function previewForm() { require_once WPBDP_PATH . 'core/view-submit-listing.php'; if (wpbdp()->has_module('featuredlevels')) { wpbdp_admin()->messages[] = _x('This is a preview of the form as it will appear during "Submit a Listing". The users may not see all fields from "Manage Form Fields" because you have "Featured Levels" active and this is showing the base level.', 'formfields-preview', 'WPBDM'); } $html = ''; $html .= wpbdp_admin_header(_x('Form Preview', 'form-fields admin', 'WPBDM'), 'formfields-preview', array(array(_x('← Return to "Manage Form Fields"', 'form-fields admin', 'WPBDM'), esc_url(remove_query_arg('action'))))); $html .= wpbdp_admin_notices(); $controller = new WPBDP_Submit_Listing_Page(0, true); $html .= $controller->preview_listing_fields_form(); $html .= wpbdp_admin_footer(); echo $html; }