Changeset 2748063
- Timestamp:
- 06/26/2022 08:32:01 AM (4 years ago)
- File:
-
- 1 edited
-
better-gdpr/trunk/admin-user.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
better-gdpr/trunk/admin-user.php
r2746591 r2748063 19 19 if (isset($_POST["email"])) { 20 20 $account_email = sanitize_email($_POST["email"]); 21 } else {22 23 21 } 24 22 if (isset($_POST["subdomain"])) { 25 23 $subdomain = sanitize_text_field($_POST["subdomain"]); 24 } 25 if ($subdomain) { 26 update_option('privacybunker_subdomain', $subdomain); 26 27 } 27 28 if (isset($_POST["email"]) && isset($_POST["code"]) && isset($_POST["subdomain"])) { … … 102 103 add_action('admin_enqueue_scripts', 'my_load_scripts'); 103 104 */ 104 105 function bettergdpr_wizard_page() {106 $xtoken = get_option( 'bettergdpr_xtoken', '' );107 $subdomain = get_option( 'bettergdpr_subdomain', '' );108 $service = "https://".$subdomain.".privacybunker.cloud/";109 ?>110 <script type='text/javascript' src='<?php echo($service); ?>/site/wizard.js' ></script>111 <link rel='stylesheet' type='text/css' media='all' href='<?php echo($service); ?>/site/wizard.css' />112 <div class='better-gdpr-admin'>113 <div id='bettergdpr-wizard'> </div>114 <script type="text/javascript">115 jQuery( document ).ready(function() {116 bettergdprLoadSettings('<?php echo($xtoken); ?>', '<?php echo($service); ?>', 'v1/account/technologies');117 bettergdprLoadSettings('<?php echo($xtoken); ?>', '<?php echo($service); ?>', 'v1/account/objectives');118 bettergdprShowWizardPage('objectives');119 });120 </script>121 <center><p>If you have any questions you can contact us at <u>onboarding@privacybunker.io</u></p></center>122 </div>123 <?php124 }125 105 126 106 function bettergdpr_setup_page() {
Note: See TracChangeset
for help on using the changeset viewer.