diff --git a/license-manager/api_tester.php b/license-manager/client-side/api_tester.php similarity index 100% rename from license-manager/api_tester.php rename to license-manager/client-side/api_tester.php diff --git a/license-manager/client-side/index.html b/license-manager/client-side/index.html new file mode 100644 index 0000000..e69de29 diff --git a/license-manager/deactivation_tester.php b/license-manager/deactivation_tester.php deleted file mode 100644 index 8d8be60..0000000 --- a/license-manager/deactivation_tester.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/license-manager/lic_manager_installer.php b/license-manager/lic_manager_installer.php index ea60803..960cf74 100644 --- a/license-manager/lic_manager_installer.php +++ b/license-manager/lic_manager_installer.php @@ -21,17 +21,18 @@ date_renewed datetime NOT NULL DEFAULT '0000-00-00 00:00:00', date_expiry datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id) - )ENGINE=MyISAM DEFAULT CHARSET=utf8;"; + )ENGINE=MyISAM DEFAULT CHARSET=utf8;"; dbDelta($lk_tbl_sql); $ld_tbl_sql = "CREATE TABLE " .$lic_domain_table. " ( - id INT NOT NULL AUTO_INCREMENT , - lic_key_id INT NOT NULL , - lic_key varchar(255) NOT NULL , - registered_domain VARCHAR( 100 ) NOT NULL , - PRIMARY KEY ( id ) - )ENGINE=MyISAM DEFAULT CHARSET=utf8;"; + id INT NOT NULL AUTO_INCREMENT , + lic_key_id INT NOT NULL , + lic_key varchar(255) NOT NULL , + registered_domain VARCHAR( 100 ) NOT NULL , + PRIMARY KEY ( id ) + )ENGINE=MyISAM DEFAULT CHARSET=utf8;"; dbDelta($ld_tbl_sql); + // Add default options update_option("wp_lic_mgr_db_version", WP_LICENSE_MANAGER_DB_VERSION); diff --git a/license-manager/menu/admin_includes1.php b/license-manager/menu/admin_includes1.php deleted file mode 100644 index e6f9c9c..0000000 --- a/license-manager/menu/admin_includes1.php +++ /dev/null @@ -1,10 +0,0 @@ - - - \ No newline at end of file diff --git a/license-manager/menu/lic_add_licenses.php b/license-manager/menu/lic_add_licenses.php index e47bc3c..137c703 100644 --- a/license-manager/menu/lic_add_licenses.php +++ b/license-manager/menu/lic_add_licenses.php @@ -1,25 +1,17 @@ '; echo '
'; echo $message; echo '
For information, updates and detailed documentation, please visit the WP License Manager Documentation Site or - The main plugin page WP License Manager
+For information, updates and detailed documentation, please visit the WP License Manager Documentation Site or + The main plugin page WP License Manager
1. First register a key at purchase time.
-2. Add the code so at activation time it asks for the key.
-3. Integrate the real time online key verification part.
-1. First register a key at purchase time.
+2. Add the code so at activation time it asks for the key.
+3. Integrate the real time online key verification part.
+Secret Key for License Creation | -
- This secret key will be used to authenticate any license creation request. You can change it with something random. |
-
---|
License Key Prefix | -
- You can optionaly specify a prefix for the license keys. This prefix will be added to the uniquely generated license keys. |
-
---|---|
Secret Key for License Creation | +
+ This secret key will be used to authenticate any license creation request. You can change it with something random. |
+
Secret Key for License Verification Requests | -
- This secret key will be used to authenticate any license verification request from customer's site. Important! Do not change this value once your customer's start to use your product(s)! |
-
Maximum Allowed Domains | -
- Maximum number of domains which each license is valid for. |
-
License Key Prefix | +
+ You can optionaly specify a prefix for the license keys. This prefix will be added to the uniquely generated license keys. |
+
Secret Key for License Verification Requests | +
+ This secret key will be used to authenticate any license verification request from customer's site. Important! Do not change this value once your customer's start to use your product(s)! |
+
Maximum Allowed Domains | +
+ Maximum number of domains which each license is valid for. |
+
'; - echo $message; - echo '
Please enter the license key for this product to activate it -
- | - |
---|
- - -
-';
echo 'Request sent to the specified URL!';
- echo '
'.$msg;
- echo '