<?php /* * General tab content */ if (!defined('ABSPATH')) { exit; } require_once GDE_PLUGIN_DIR . "libs/lib-profile.php"; gde_profile_form();
<?php /* * Profile tab content */ if (!defined('ABSPATH')) { exit; } global $healthy; if (isset($_POST['action']) && $_POST['action'] == "edit") { // profile edit request require_once GDE_PLUGIN_DIR . "libs/lib-profile.php"; gde_profile_form($_POST['profile']); } else { // check profile table health if (!$healthy) { echo "<p>" . gde_show_error(__('Unable to load profile settings. Please re-activate GDE and if the problem persists, request help using the "Support" tab.', 'google-document-embedder')) . "</p>\n"; } else { $profiles = gde_get_profiles(); ?> <div id="col-container"> <div id="col-right"> <br> <div class="col-wrap"> <table class="wp-list-table widefat fixed tags" cellspacing="0"> <thead> <tr> <th id="proid" class="manage-column column-proid" scope="col"> <span><?php _e('ID', 'google-document-embedder');