* -------------------------------------------------------------------- *
* Kurzbeschreibung : Ref-Rallyes starten *
* -------------------------------------------------------------------- *
- * *
+ * $Revision:: 856 $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: stelzi $ *
+ * 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 *
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,
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,
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')");
}
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);