2 /************************************************************************
3 * Mailer v0.2.1-FINAL Start: 06/25/2013 *
4 * =================== Last change: 06/25/2013 *
6 * -------------------------------------------------------------------- *
7 * File : mode-update.php *
8 * -------------------------------------------------------------------- *
9 * Short description : Task management *
10 * -------------------------------------------------------------------- *
11 * Kurzbeschreibung : Aufgabenverwaltung *
12 * -------------------------------------------------------------------- *
15 * $Tag:: 0.2.1-FINAL $ *
17 * -------------------------------------------------------------------- *
18 * Copyright (c) 2003 - 2009 by Roland Haeder *
19 * Copyright (c) 2009 - 2013 by Mailer Developer Team *
20 * For more information visit: http://mxchange.org *
22 * This program is free software; you can redistribute it and/or modify *
23 * it under the terms of the GNU General Public License as published by *
24 * the Free Software Foundation; either version 2 of the License, or *
25 * (at your option) any later version. *
27 * This program is distributed in the hope that it will be useful, *
28 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
29 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
30 * GNU General Public License for more details. *
32 * You should have received a copy of the GNU General Public License *
33 * along with this program; if not, write to the Free Software *
34 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
36 ************************************************************************/
38 // Some security stuff...
39 if (!defined('__SECURITY')) {
43 // @TODO Remove double tabs from all lines
44 switch (getCurrentExtensionVersion()) {
45 case '0.0.1': // SQL queries for v0.0.1
46 // Update notes (these will be set as task text!)
47 setExtensionUpdateNotes("Veraltetes Update entfernt.");
50 case '0.0.1': // SQL queries for v0.0.1
51 // Update notes (these will be set as task text!)
52 setExtensionUpdateNotes("Unnötige Script-Teile aus what-list_tasks.php herausgelöscht; beim Anzeigen einer Extension-Update, oder -Register Aufgabe werden bei eingeschaltetem Verbose-Modus alle SQL-Anweisungen aufgelistet.");
55 case '0.0.4': // SQL queries for v0.0.4
56 // Update notes (these will be set as task text!)
57 setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
60 case '0.0.5': // SQL queries for v0.0.5
61 // Update notes (these will be set as task text!)
62 setExtensionUpdateNotes("&admin= in &amp;admin= umgewandelt.");
65 case '0.0.6': // SQL queries for v0.0.6
66 // Update notes (these will be set as task text!)
67 setExtensionUpdateNotes("Wegen des Theme-Supportes hat sich die URL zur CSS-Datei geändert.");
70 case '0.0.7': // SQL queries for v0.0.7
71 // Update notes (these will be set as task text!)
72 setExtensionUpdateNotes("Erstellung der Extra-Übersichten verbessert.");
75 case '0.0.8': // SQL queries for v0.0.8
76 // Update notes (these will be set as task text!)
77 setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
80 case '0.0.9': // SQL queries for v0.0.9
81 // Update notes (these will be set as task text!)
82 setExtensionUpdateNotes("Fehler bei Abfrage der payout-Erweiterung beseitigt.");
85 case '0.1.0': // SQL queries for v0.2.1
86 // Update notes (these will be set as task text!)
87 setExtensionUpdateNotes("Task-Liste ausgelagert als Template");
90 case '0.1.1': // SQL queries for v0.1.1
91 // Update notes (these will be set as task text!)
92 setExtensionUpdateNotes("Design "Solid-Business" eingebaut.");
95 case '0.1.2': // SQL queries for v0.1.2
96 // Update notes (these will be set as task text!)
97 setExtensionUpdateNotes("Seit <strong>Patch 340</strong> überflüssige HTML-Tags entfernt.");
100 case '0.1.3': // SQL queries for v0.1.3
101 // Update notes (these will be set as task text!)
102 setExtensionUpdateNotes("Link zum Mitgliedsprofil in Funktion <u>generateUserProfileLink()</u> ausgelagert.");
105 case '0.1.4': // SQL queries for v0.1.4
106 // Update notes (these will be set as task text!)
107 setExtensionUpdateNotes("Wörter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
110 case '0.1.5': // SQL queries for v0.1.5
111 // Update notes (these will be set as task text!)
112 setExtensionUpdateNotes("Links wegen <strong>what=admins_contct</strong> geändert.");
115 case '0.1.6': // SQL queries for v0.1.6
116 // Update notes (these will be set as task text!)
117 setExtensionUpdateNotes("Weitere Direkt-Links eingebaut:<br />
119 <li>Ländercodes</li>
120 <li>Wartende Verdopplungen</li>
121 <li><strong>Geändert:</strong> Wartende Auszahlungen</li>
122 <li>Teilnehmer an der Aktiv-Rallye</li>
123 <li>Nett hinweisende Linktitel hinzugefügt. :-)</li>
127 case '0.1.7': // SQL queries for v0.1.7
128 // Update notes (these will be set as task text!)
129 setExtensionUpdateNotes("Direkt Links zum Sponsorenbereich vorbereitend eingebaut.");
132 case '0.1.8': // SQL queries for v0.1.8
133 // Update notes (these will be set as task text!)
134 setExtensionUpdateNotes("Es werden alle installierten und aktivierten Themes angezeigt und verlinkt.");
137 case '0.1.9': // SQL queries for v0.1.9
138 // Update notes (these will be set as task text!)
139 setExtensionUpdateNotes("CSS-Datei in general.css verschmolzen (Patch 435!)");
142 case '0.2.0': // SQL queries for v0.2.0
143 // Update notes (these will be set as task text!)
144 setExtensionUpdateNotes("Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.");
147 case '0.2.1': // SQL queries for v0.2.1
148 // Update notes (these will be set as task text!)
149 setExtensionUpdateNotes("Problem mit überlanger Textbreite beseitigt.");
152 case '0.2.2': // SQL queries for v0.2.2
153 // Update notes (these will be set as task text!)
154 setExtensionUpdateNotes("Link zum Freischalten von Sponoren-Accounts korregiert.");
157 case '0.2.3': // SQL queries for v0.2.3
158 // Update notes (these will be set as task text!)
159 setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend geändert: Es wird jetzt nach Mitglieds-Id, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
162 case '0.2.4': // SQL queries for v0.2.4
163 // Update notes (these will be set as task text!)
164 setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
167 case '0.2.5': // SQL queries for v0.2.5
168 // Update notes (these will be set as task text!)
169 setExtensionUpdateNotes("<strong>Nur mit bonus v0.6.9 oder höher:</strong> Zuschaltbare Bonis werden auch bei der Ermittlung Anzahl teilnehmender Mitglieder mit ber&uumk;cksichtigt.");
172 case '0.2.6': // SQL queries for v0.2.6
173 // Update notes (these will be set as task text!)
174 setExtensionUpdateNotes("Teilnehmer der Bettel-Rallye werden angezeigt.");
177 case '0.2.7': // SQL queries for v0.2.7
178 // Update notes (these will be set as task text!)
179 setExtensionUpdateNotes("Link zum direkten Aufheben einer Urlaubsschaltung eines Mitgliedes korregiert.");
182 case '0.2.8': // SQL queries for v0.2.8
183 // Update notes (these will be set as task text!)
184 setExtensionUpdateNotes("Sicherheitsupdate für die Include-Befehle.");
187 case '0.2.9': // SQL queries for v0.2.9
188 // Update notes (these will be set as task text!)
189 setExtensionUpdateNotes("if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Update-Aufgaben werden nach "Bearbeitung" nicht mehr als <strong>Erledigt</strong> gesetzt. Dies hatte sonst den Anschein, die Update-Aufgaben müssten erledigt werden, um die Erweiterungs-Updates einzuspielen, was aber automatisch geschieht.");
192 case '0.3.0': // SQL queries for v0.3.0
193 // Update notes (these will be set as task text!)
194 setExtensionUpdateNotes("Export-Accounts werden in Task-Übersicht aufgelistet.");
197 case '0.3.1': // SQL queries for v0.3.1
198 // Update notes (these will be set as task text!)
199 setExtensionUpdateNotes("Diverse Fixes an den Templates (Notice-Hinweise vom PHP-Interpreter entfernt).");
202 case '0.3.2': // SQL queries for v0.3.2
203 // Update notes (these will be set as task text!)
204 setExtensionUpdateNotes("Hängt nun von <u>ext-user</u> ab.");
207 case '0.3.3': // SQL queries for v0.3.3
208 addExtensionChangeTableColumnSql('task_system', 'assigned_admin', 'assigned_admin', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
209 addExtensionChangeTableColumnSql('task_system', 'userid', 'userid', 'BIGINT(20) UNSIGNED NULL DEFAULT NULL');
210 addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=NULL WHERE `assigned_admin`=0');
211 addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `userid`=NULL WHERE `userid`=0');
213 // Update notes (these will be set as task text!)
214 setExtensionUpdateNotes("Zugewiesener Admin und User-Id dürfen nun NULL sein.");