]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-rallye.php
Fix for getActualVersion()
[mailer.git] / inc / extensions / ext-rallye.php
index 8f85034f3dab7d9d09d4aeb4ab92b182b827adae..b4424fc0c87f619d69e288a6ea14495d1b4e5800 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Ref-Rallyes starten                              *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -64,7 +69,7 @@ send_notify ENUM('Y','N') NOT NULL DEFAULT 'Y',
 notified ENUM('Y','N') NOT NULL DEFAULT 'N',
 KEY (admin_id),
 PRIMARY KEY (id)
-) TYPE=MyISAM");
+) TYPE={!_TABLE_TYPE!}");
        ADD_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_rallye_prices` (
 id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 rallye_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
@@ -73,7 +78,7 @@ points BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 info LONGBLOB NOT NULL,
 KEY (rallye_id),
 PRIMARY KEY(id)
-) TYPE=MyISAM");
+) TYPE={!_TABLE_TYPE!}");
        ADD_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_rallye_users` (
 id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 rallye_id BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
@@ -82,7 +87,7 @@ refs BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 KEY (rallye_id),
 KEY (userid),
 PRIMARY KEY(id)
-) TYPE=MyISAM");
+) TYPE={!_TABLE_TYPE!}");
 
        // Admin menu
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('rallye', NULL, 'Rallye-Management','Richten Sie neue Ref-Rallyes ein, die zeitgesteuert anfangen und aufhöhren. Dabei wird alles weitere automatisch geregelt.','9')");
@@ -316,12 +321,15 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".GET_LANG
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;
 
 default: // Do stuff when extension is loaded
        // Do stuff only when not in CSS mode
-       if (($GLOBALS['output_mode'] != "1") && ($GLOBALS['output_mode'] != "-1") && ($GLOBALS['cacheMode'] != "init")) {
+       if (($GLOBALS['output_mode'] != "1") && ($GLOBALS['output_mode'] != "-1") && ($GLOBALS['cache_mode'] != "init")) {
                // Get total member count
                $TOTAL = GET_TOTAL_DATA("CONFIRMED", "user_data", "userid", "status", true);