]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-doubler.php
Adding of network advert types partly finished, hard-coded table type fixed to dynamic
[mailer.git] / inc / extensions / ext-doubler.php
index d3fe7dc607edf2fcf6609053459d1dfeec751f42..5e2416bf71bd2a4021cb051d88bb4fd2cd196b49 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 02/03/2005 *
- * ================                             Last change: 02/03/2005 *
+ * Mailer v0.2.1-FINAL                                Start: 02/03/2005 *
+ * ===================                          Last change: 02/03/2005 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : ext-doubler.php                                  *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : ext-doubler.php                                  *
@@ -52,18 +52,18 @@ switch (getExtensionMode()) {
                // Doubler table
                addExtensionSql("DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_doubler`");
                addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_doubler` (
                // Doubler table
                addExtensionSql("DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_doubler`");
                addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_doubler` (
-id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-userid BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-refid BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-points FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
-remote_ip VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
-timemark VARCHAR(10) NOT NULL DEFAULT '',
-completed ENUM('Y','N') NOT NULL DEFAULT 'N',
-is_ref ENUM('Y','N') NOT NULL DEFAULT 'N',
-KEY (refid),
-KEY (userid),
-PRIMARY KEY (id)
-)TYPE=MYISAM");
+`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+`userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`refid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`points` FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000,
+`remote_ip` VARCHAR(15) NOT NULL DEFAULT '0.0.0.0',
+`timemark` VARCHAR(10) NOT NULL DEFAULT '',
+`completed` ENUM('Y','N') NOT NULL DEFAULT 'N',
+`is_ref` ENUM('Y','N') NOT NULL DEFAULT 'N',
+KEY (`refid`),
+KEY (`userid`),
+PRIMARY KEY (`id`)
+)TYPE={?_TABLE_TYPE?}");
 
                //
                // --- SETTINGS ---
 
                //
                // --- SETTINGS ---
@@ -141,7 +141,7 @@ PRIMARY KEY (id)
                switch (getCurrentExtensionVersion()) {
                        case '0.0.1': // SQL queries for v0.0.1
                                // Update notes (these will be set as task text!)
                switch (getCurrentExtensionVersion()) {
                        case '0.0.1': // SQL queries for v0.0.1
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Problem mit User-ID behoben!");
+                               setExtensionUpdateNotes("Problem mit Mitglieder-Id behoben.");
                                break;
 
                        case '0.0.2': // SQL queries for v0.0.2
                                break;
 
                        case '0.0.2': // SQL queries for v0.0.2
@@ -181,7 +181,7 @@ PRIMARY KEY (id)
 
                                case '0.0.7': // SQL queries for v0.0.7
                                        // Update notes (these will be set as task text!)
 
                                case '0.0.7': // SQL queries for v0.0.7
                                        // Update notes (these will be set as task text!)
-                                       setExtensionUpdateNotes("W&ouml;rter <strong>Mailtausch</strong>, <strong>Mailtausches</strong> und <strong>Mailtauscher</strong> sind austauschbar.<br /><br />Minus-Guthaben des Verdoppler-Accounts repariert und Mitgliedsmail erweitert mit Transaktionsummer und IP-Nummer.");
+                                       setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.<br /><br />Minus-Guthaben des Verdoppler-Accounts repariert und Mitgliedsmail erweitert mit Transaktionsummer und IP-Nummer.");
                                        break;
 
                                case '0.0.8': // SQL queries for v0.0.8
                                        break;
 
                                case '0.0.8': // SQL queries for v0.0.8
@@ -243,7 +243,7 @@ PRIMARY KEY (id)
                break;
 
        default: // Unknown extension mode
                break;
 
        default: // Unknown extension mode
-               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+               logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
                break;
 }
 
                break;
 }