win32 to unix line delimiters changed
[mailer.git] / 0.2.1 / inc / extensions / ext-task.php
index ca4c9f2219785fca0c0007d61adc21bd307c1239..b9433b0413c8b79840268b6f6fc82a30ba18ed03 100644 (file)
-<?php\r
-/************************************************************************\r
- * MXChange v0.2.1                                    Start: 07/10/2004 *\r
- * ================                             Last change: 09/29/2004 *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * File              : ext-task.php                                     *\r
- * -------------------------------------------------------------------- *\r
- * Short description : Task management                                  *\r
- * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : Aufgabenverwaltung                               *\r
- * -------------------------------------------------------------------- *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *\r
- * For more information visit: http://www.mxchange.org                  *\r
- *                                                                      *\r
- * This program is free software; you can redistribute it and/or modify *\r
- * it under the terms of the GNU General Public License as published by *\r
- * the Free Software Foundation; either version 2 of the License, or    *\r
- * (at your option) any later version.                                  *\r
- *                                                                      *\r
- * This program is distributed in the hope that it will be useful,      *\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *\r
- * GNU General Public License for more details.                         *\r
- *                                                                      *\r
- * You should have received a copy of the GNU General Public License    *\r
- * along with this program; if not, write to the Free Software          *\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *\r
- * MA  02110-1301  USA                                                  *\r
- ************************************************************************/\r
-\r
-// Some security stuff...\r
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))\r
-{\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
-       require($INC);\r
-}\r
-\r
-// Version number\r
-$EXT_VERSION = "0.3.1";\r
-\r
-// Auto-set extension version\r
-if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;\r
-\r
-// Version history array (add more with , "0.1" and so on)\r
-$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9", "0.2.0", "0.2.1", "0.2.2", "0.2.3", "0.2.4", "0.2.5", "0.2.6", "0.2.7", "0.2.8", "0.2.9", "0.3.0", "0.3.1");\r
-\r
-switch ($EXT_LOAD_MODE)\r
-{\r
-case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called)\r
-       // SQL commands to run\r
-       $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, sort, descr) VALUES ('task', '', 'Aufgaben-Management', '1', 'Erweitertes Aufgaben-Management zur leichten verwaltung der vom System erzeugten Aufgaben.')";\r
-       $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, sort, descr) VALUES ('task', 'list_task', 'Aufgaben auflisten', '1', 'Alle Ihnen zugewiesenen Aufgaben auflisten (keine Updates).')";\r
-       $SQLs[] = "UPDATE "._MYSQL_PREFIX."_task_system SET status='SOLVED' WHERE status='CLOSED'";\r
-\r
-       // Enable CSS file?\r
-       $EXT_CSS = "Y";\r
-       break;\r
-\r
-case "remove": // Do stuff when removing extension\r
-       // SQL commands to run\r
-       $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_admin_menu WHERE action='task' LIMIT 2";\r
-       break;\r
-\r
-case "activate": // Do stuff when admin activates this extension\r
-       // SQL commands to run\r
-       $SQLs[] = "";\r
-       break;\r
-\r
-case "deactivate": // Do stuff when admin deactivates this extension\r
-       // SQL commands to run\r
-       $SQLs[] = "";\r
-       break;\r
-\r
-case "update": // Update an extension\r
-       switch ($EXT_VER)\r
-       {\r
-       case "0.0.1": // SQL queries for v0.0.1\r
-               $SQLs[] = "UPDATE "._MYSQL_PREFIX."_extensions SET ext_has_css='Y' WHERE ext_name='task' AND ext_has_css='N' LIMIT 1";\r
-\r
-               // This update depends on sql_patches update!\r
-               $EXT_UPDATE_DEPENDS = "sql_patches";\r
-\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "CSS-Datei kann per Admin-Bereich ein- und ausgeschaltet werden.";\r
-               break;\r
-\r
-       case "0.0.1": // SQL queries for v0.0.1\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Unn&ouml;tige Script-Teile aus what-list_tasks.php herausgel&ouml;scht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.";\r
-               break;\r
-\r
-       case "0.0.4": // SQL queries for v0.0.4\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Fehler <FONT class=\"admin_failed\">Warning: Missing argument 2 for create_timestamp_from_selections() in ".PATH."inc/libs/pro_functions.php on line 227</FONT> behoben.";\r
-               break;\r
-\r
-       case "0.0.5": // SQL queries for v0.0.5\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "&amp;admin= in &amp;amp;admin= umgewandelt.";\r
-               break;\r
-\r
-       case "0.0.6": // SQL queries for v0.0.6\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.";\r
-               break;\r
-\r
-       case "0.0.7": // SQL queries for v0.0.7\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Erstellung der Extra-&Uuml;bersichten verbessert.";\r
-               break;\r
-\r
-       case "0.0.8": // SQL queries for v0.0.8\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.";\r
-               break;\r
-\r
-       case "0.0.9": // SQL queries for v0.0.9\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Fehler bei Abfrage der payout-Erweiterung beseitigt.";\r
-               break;\r
-\r
-       case "0.1.0": // SQL queries for v0.1.0\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Task-Liste ausgelagert als Template";\r
-               break;\r
-\r
-       case "0.1.1": // SQL queries for v0.1.1\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Design &quot;Solid-Business&quot; eingebaut.";\r
-               break;\r
-\r
-       case "0.1.2": // SQL queries for v0.1.2\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Seit <A href=\"".SERVER_URL."/patches/340-Gast_Mitgliedsmenue_Deaktivieren.zip\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";\r
-               break;\r
-\r
-       case "0.1.3": // SQL queries for v0.1.3\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Link zum Mitgliedsprofil in Funktion <U>ADMIN_USER_PROFILE_LINK()</U> ausgelagert.";\r
-               break;\r
-\r
-       case "0.1.4": // SQL queries for v0.1.4\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "W&ouml;rter <STRONG>Mailtausch</STRONG>, <STRONG>Mailtausches</STRONG> und <STRONG>Mailtauscher</STRONG> sind austauschbar.";\r
-               break;\r
-\r
-       case "0.1.5": // SQL queries for v0.1.5\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Links wegen <STRONG>what=admins_contct</STRONG> ge&auml;ndert.";\r
-               break;\r
-\r
-       case "0.1.6": // SQL queries for v0.1.6\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Weitere Direkt-Links eingebaut:<BR>\r
-<UL>\r
-  <LI>L&auml;ndercodes (<STRONG><A href=\"".SERVER_URL."/extensions/ext-country.zip\">ext-country.zip</A></STRONG>)</LI>\r
-  <LI>Wartende Verdopplungen (<STRONG><A href=\"".SERVER_URL."/extensions/ext-doubler.zip\">ext-doubler.zip</A></STRONG>)</LI>\r
-  <LI><STRONG>Ge&auml;ndert:</STRONG> Wartende Auszahlungen (<STRONG><A href=\"".SERVER_URL."/extensions/ext-payout.zip\">ext-payout.zip</A></STRONG>)</LI>\r
-  <LI>Teilnehmer an der Aktiv-Rallye (<STRONG><A href=\"".SERVER_URL."/extensions/ext-bonus.zip\">ext-bonus.zip</A></STRONG>; nur wenn Version neuer oder gleich 0.2.3 ist!)</LI>\r
-  <LI>Nett hinweisende Linktitel hinzugef&uuml;gt. :-)</LI>\r
-</UL>";\r
-               break;\r
-\r
-       case "0.1.7": // SQL queries for v0.1.7\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Direkt Links zum Sponsorenbereich vorbereitend eingebaut.";\r
-               break;\r
-\r
-       case "0.1.8": // SQL queries for v0.1.8\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.";\r
-               break;\r
-\r
-       case "0.1.9": // SQL queries for v0.1.9\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "CSS-Datei in general.css verschmolzen (Patch 435!)";\r
-               break;\r
-\r
-       case "0.2.0": // SQL queries for v0.2.0\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.";\r
-               break;\r
-\r
-       case "0.2.1": // SQL queries for v0.2.1\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Problem mit &uuml;berlanger Textbreite beseitigt.";\r
-               break;\r
-\r
-       case "0.2.2": // SQL queries for v0.2.2\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Link zum Freischalten von Sponoren-Accounts korregiert.";\r
-               break;\r
-\r
-       case "0.2.3": // SQL queries for v0.2.3\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Sortierungsreihenfolge grundlegend ge&auml;ndert: Es wird jetzt nach Mitglieder-ID, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.";\r
-               break;\r
-\r
-       case "0.2.4": // SQL queries for v0.2.4\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";\r
-               break;\r
-\r
-       case "0.2.5": // SQL queries for v0.2.5\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "<STRONG>Nur mit bonus v0.6.9 oder h&ouml;her:</STRONG> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.";\r
-               break;\r
-\r
-       case "0.2.6": // SQL queries for v0.2.6\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Teilnehmer der Bettel-Rallye werden angezeigt.";\r
-               break;\r
-\r
-       case "0.2.7": // SQL queries for v0.2.7\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.";\r
-               break;\r
-\r
-       case "0.2.8": // SQL queries for v0.2.8\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Sicherheitsupdate f&uuml;r die Include-Befehle.";\r
-               break;\r
-\r
-       case "0.2.9": // SQL queries for v0.2.9\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "if-Anweisungen auf Funktion <STRONG>empty()</STRONG> umgestellt. Update-Aufgaben werden nach &quot;Bearbeitung&quot; nicht mehr als <STRONG>Erledigt</STRONG> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben m&uuml;ssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.";\r
-               break;\r
-\r
-       case "0.3.0": // SQL queries for v0.3.0\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Export-Accounts werden in Task-&Uuml;bersicht aufgelistet.";\r
-               break;\r
-\r
-       case "0.3.1": // SQL queries for v0.3.1\r
-               // Update notes (these will be set as task text!)\r
-               $UPDATE_NOTES = "Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).";\r
-               break;\r
-       }\r
-       break;\r
-\r
-default: // Do stuff when extension is loaded\r
-       break;\r
-}\r
-\r
-// Language file prefix\r
-$EXT_LANG_PREFIX = "task";\r
-\r
-// Extension is always active?\r
-$EXT_ALWAYS_ACTIVE = "N";\r
-\r
-//\r
-?>\r
+<?php
+/************************************************************************
+ * MXChange v0.2.1                                    Start: 07/10/2004 *
+ * ================                             Last change: 09/29/2004 *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * File              : ext-task.php                                     *
+ * -------------------------------------------------------------------- *
+ * Short description : Task management                                  *
+ * -------------------------------------------------------------------- *
+ * Kurzbeschreibung  : Aufgabenverwaltung                               *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * For more information visit: http://www.mxchange.org                  *
+ *                                                                      *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or    *
+ * (at your option) any later version.                                  *
+ *                                                                      *
+ * This program is distributed in the hope that it will be useful,      *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
+ * GNU General Public License for more details.                         *
+ *                                                                      *
+ * You should have received a copy of the GNU General Public License    *
+ * along with this program; if not, write to the Free Software          *
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
+ * MA  02110-1301  USA                                                  *
+ ************************************************************************/
+
+// Some security stuff...
+if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))
+{
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       require($INC);
+}
+
+// Version number
+$EXT_VERSION = "0.3.1";
+
+// Auto-set extension version
+if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;
+
+// Version history array (add more with , "0.1" and so on)
+$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9", "0.2.0", "0.2.1", "0.2.2", "0.2.3", "0.2.4", "0.2.5", "0.2.6", "0.2.7", "0.2.8", "0.2.9", "0.3.0", "0.3.1");
+
+switch ($EXT_LOAD_MODE)
+{
+case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called)
+       // SQL commands to run
+       $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, sort, descr) VALUES ('task', '', 'Aufgaben-Management', '1', 'Erweitertes Aufgaben-Management zur leichten verwaltung der vom System erzeugten Aufgaben.')";
+       $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, sort, descr) VALUES ('task', 'list_task', 'Aufgaben auflisten', '1', 'Alle Ihnen zugewiesenen Aufgaben auflisten (keine Updates).')";
+       $SQLs[] = "UPDATE "._MYSQL_PREFIX."_task_system SET status='SOLVED' WHERE status='CLOSED'";
+
+       // Enable CSS file?
+       $EXT_CSS = "Y";
+       break;
+
+case "remove": // Do stuff when removing extension
+       // SQL commands to run
+       $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_admin_menu WHERE action='task' LIMIT 2";
+       break;
+
+case "activate": // Do stuff when admin activates this extension
+       // SQL commands to run
+       $SQLs[] = "";
+       break;
+
+case "deactivate": // Do stuff when admin deactivates this extension
+       // SQL commands to run
+       $SQLs[] = "";
+       break;
+
+case "update": // Update an extension
+       switch ($EXT_VER)
+       {
+       case "0.0.1": // SQL queries for v0.0.1
+               $SQLs[] = "UPDATE "._MYSQL_PREFIX."_extensions SET ext_has_css='Y' WHERE ext_name='task' AND ext_has_css='N' LIMIT 1";
+
+               // This update depends on sql_patches update!
+               $EXT_UPDATE_DEPENDS = "sql_patches";
+
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "CSS-Datei kann per Admin-Bereich ein- und ausgeschaltet werden.";
+               break;
+
+       case "0.0.1": // SQL queries for v0.0.1
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Unn&ouml;tige Script-Teile aus what-list_tasks.php herausgel&ouml;scht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.";
+               break;
+
+       case "0.0.4": // SQL queries for v0.0.4
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Fehler <FONT class=\"admin_failed\">Warning: Missing argument 2 for create_timestamp_from_selections() in ".PATH."inc/libs/pro_functions.php on line 227</FONT> behoben.";
+               break;
+
+       case "0.0.5": // SQL queries for v0.0.5
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "&amp;admin= in &amp;amp;admin= umgewandelt.";
+               break;
+
+       case "0.0.6": // SQL queries for v0.0.6
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Wegen des Theme-Supportes hat sich die URL zur CSS-Datei ge&auml;ndert.";
+               break;
+
+       case "0.0.7": // SQL queries for v0.0.7
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Erstellung der Extra-&Uuml;bersichten verbessert.";
+               break;
+
+       case "0.0.8": // SQL queries for v0.0.8
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.";
+               break;
+
+       case "0.0.9": // SQL queries for v0.0.9
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Fehler bei Abfrage der payout-Erweiterung beseitigt.";
+               break;
+
+       case "0.1.0": // SQL queries for v0.1.0
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Task-Liste ausgelagert als Template";
+               break;
+
+       case "0.1.1": // SQL queries for v0.1.1
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Design &quot;Solid-Business&quot; eingebaut.";
+               break;
+
+       case "0.1.2": // SQL queries for v0.1.2
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Seit <A href=\"".SERVER_URL."/patches/340-Gast_Mitgliedsmenue_Deaktivieren.zip\">Patch 340</A> &uuml;berfl&uuml;ssige HTML-Tags entfernt.";
+               break;
+
+       case "0.1.3": // SQL queries for v0.1.3
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Link zum Mitgliedsprofil in Funktion <U>ADMIN_USER_PROFILE_LINK()</U> ausgelagert.";
+               break;
+
+       case "0.1.4": // SQL queries for v0.1.4
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "W&ouml;rter <STRONG>Mailtausch</STRONG>, <STRONG>Mailtausches</STRONG> und <STRONG>Mailtauscher</STRONG> sind austauschbar.";
+               break;
+
+       case "0.1.5": // SQL queries for v0.1.5
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Links wegen <STRONG>what=admins_contct</STRONG> ge&auml;ndert.";
+               break;
+
+       case "0.1.6": // SQL queries for v0.1.6
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Weitere Direkt-Links eingebaut:<BR>
+<UL>
+  <LI>L&auml;ndercodes (<STRONG><A href=\"".SERVER_URL."/extensions/ext-country.zip\">ext-country.zip</A></STRONG>)</LI>
+  <LI>Wartende Verdopplungen (<STRONG><A href=\"".SERVER_URL."/extensions/ext-doubler.zip\">ext-doubler.zip</A></STRONG>)</LI>
+  <LI><STRONG>Ge&auml;ndert:</STRONG> Wartende Auszahlungen (<STRONG><A href=\"".SERVER_URL."/extensions/ext-payout.zip\">ext-payout.zip</A></STRONG>)</LI>
+  <LI>Teilnehmer an der Aktiv-Rallye (<STRONG><A href=\"".SERVER_URL."/extensions/ext-bonus.zip\">ext-bonus.zip</A></STRONG>; nur wenn Version neuer oder gleich 0.2.3 ist!)</LI>
+  <LI>Nett hinweisende Linktitel hinzugef&uuml;gt. :-)</LI>
+</UL>";
+               break;
+
+       case "0.1.7": // SQL queries for v0.1.7
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Direkt Links zum Sponsorenbereich vorbereitend eingebaut.";
+               break;
+
+       case "0.1.8": // SQL queries for v0.1.8
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.";
+               break;
+
+       case "0.1.9": // SQL queries for v0.1.9
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "CSS-Datei in general.css verschmolzen (Patch 435!)";
+               break;
+
+       case "0.2.0": // SQL queries for v0.2.0
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.";
+               break;
+
+       case "0.2.1": // SQL queries for v0.2.1
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Problem mit &uuml;berlanger Textbreite beseitigt.";
+               break;
+
+       case "0.2.2": // SQL queries for v0.2.2
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Link zum Freischalten von Sponoren-Accounts korregiert.";
+               break;
+
+       case "0.2.3": // SQL queries for v0.2.3
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Sortierungsreihenfolge grundlegend ge&auml;ndert: Es wird jetzt nach Mitglieder-ID, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.";
+               break;
+
+       case "0.2.4": // SQL queries for v0.2.4
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";
+               break;
+
+       case "0.2.5": // SQL queries for v0.2.5
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "<STRONG>Nur mit bonus v0.6.9 oder h&ouml;her:</STRONG> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.";
+               break;
+
+       case "0.2.6": // SQL queries for v0.2.6
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Teilnehmer der Bettel-Rallye werden angezeigt.";
+               break;
+
+       case "0.2.7": // SQL queries for v0.2.7
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.";
+               break;
+
+       case "0.2.8": // SQL queries for v0.2.8
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Sicherheitsupdate f&uuml;r die Include-Befehle.";
+               break;
+
+       case "0.2.9": // SQL queries for v0.2.9
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "if-Anweisungen auf Funktion <STRONG>empty()</STRONG> umgestellt. Update-Aufgaben werden nach &quot;Bearbeitung&quot; nicht mehr als <STRONG>Erledigt</STRONG> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben m&uuml;ssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.";
+               break;
+
+       case "0.3.0": // SQL queries for v0.3.0
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Export-Accounts werden in Task-&Uuml;bersicht aufgelistet.";
+               break;
+
+       case "0.3.1": // SQL queries for v0.3.1
+               // Update notes (these will be set as task text!)
+               $UPDATE_NOTES = "Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).";
+               break;
+       }
+       break;
+
+default: // Do stuff when extension is loaded
+       break;
+}
+
+// Language file prefix
+$EXT_LANG_PREFIX = "task";
+
+// Extension is always active?
+$EXT_ALWAYS_ACTIVE = "N";
+
+//
+?>